Commit Graph

61 Commits

Author SHA1 Message Date
Anthony "Shifty Rail
189f77cbb7 Refactors player preferences for modularity + SQLite Unit Test (#37615)
* Pref code refactor

* Empty database reference

* Unit testing SQLite

* Everything else

* Disable unit testing.

* Equivalent

* more robust unit tests
2025-06-07 09:54:09 -04:00
mentgah
12d884d312 A port of an early version of Baystation's new instruments (#37447)
* first commit instruments

first commit for instruments, should have everything ready

* open dream linter fix 1

* fix linter warnings 1

* subsystem + other small fixes

* alternative sprites

* more alternative sprites

* style fixes + src. removal
2025-03-04 08:52:27 -06:00
nervere
36d816da22 fix instruments breaking when a song has a space at the end of a line (#34394) 2023-06-19 22:46:44 -05:00
SECBATON GRIFFON
509ff4da9d Instruments can now be played (and note-recorded) with keyboard input on focused windows (#34112)
* basic code for now

* actual notes

* octaves

* fixes

* fixes

* got the sharps working, don't need this now

* octave increasing and decreasing

* octave increasing and decreasing

* unbreaks UI

* cleanup

* Revert "cleanup"

This reverts commit b87860bc96.

* does need refresh

* help screen

* octave info

* recording mode beginnings

* fixes

* more controls

* more controls

* converts these to ui_interact, might help

* converts these to ui_interact, might help

* converts these to ui_interact, might help

* converts these to ui_interact, might help

* doesn't update, no need

* octave buttons too

* notes

* PEMDAS

* resets these for next record

* resets these for next record

---------

Co-authored-by: SECBATON GRIFFON <sage>
2023-03-12 00:28:06 -06:00
SECBATON GRIFFON
d8c8a9bb90 Adds qdel defines (#33991)
* Adds qdel defines

* Adds qdel defines

* halfway through fixes

* rest of em

* fixes

* adds more

* list in action

---------

Co-authored-by: SECBATON GRIFFON <sage>
2023-02-10 15:01:18 -06:00
nervere
a4cf5b11db possibly makes instrument code safer 2022-12-11 07:02:10 -05:00
DamianX
95cb0d4d23 Components! TGUI uplinks! Oh god! (#30641)
* components

* tgui uplink

* Components! TGUI uplinks! Oh god!

* yeah

* this too
2021-09-09 12:44:13 +00:00
DeityLink
e73fe2c1d9 Pianos in supply crates and Hydro Trays in mining surprises now come unanchored (#29810)
* loose trays

* piano
2021-06-19 21:21:45 -05:00
ShiftyRail
6b01631d34 Make ALL bullet_act() calls in the game return something (#28761)
* Make ALL bullet_act() calls in the game return something

* Misunderstood the linter
2021-02-02 23:13:40 +01:00
DeityLink
c76baf7831 IsAdvancedToolUser() removal (#28155) 2020-11-11 08:23:51 -03:00
DamianX
77fc9fd5aa Fixed deaf people hearing instruments (#27098)
* Fixed deaf people hearing instruments

* fix the thing
2020-07-15 17:14:36 -03:00
boy2mantwicethefam
276e6ae175 fixes (#26766) 2020-06-09 18:03:41 -05:00
jknpj
f6aae72618 Tool Sound/Speed (#25529)
* Initial work on tool sounds

* Crowbars

* playtoolsound()

* aaaaaaaaaaaaaaaaaaaa

* HERE WE GO AGAIN

* Wrench

* Screwdriver.ogg REDUX, Cuffs

* drilling tools toolspeed is now a multiplier too

* Wirecutter
2020-02-08 09:07:00 -06:00
jknpj
89abfd45ba Replaces iswrench() macro with an is_wrench() proc (#25528) 2019-12-28 10:29:40 -06:00
Exxion
5621f3b3b9 Removes the rest of the calls to lentext() (#24877)
* These ones are entirely unnecessary

* These ones need to be replaced
2019-11-08 12:33:56 +01:00
Wew-Laddie
df4565eb97 Fixed runtime that occured when you import an empty song into an instrument 2019-11-01 07:29:13 -05:00
Wew-Laddie
6a7351487e Revert "Fixed runtime that occured when you import an empty song into an instrument"
This reverts commit 36bcfa6de9.

fucked up branching
2019-11-01 07:26:50 -05:00
Wew-Laddie
36bcfa6de9 Fixed runtime that occured when you import an empty song into an instrument 2019-11-01 07:25:45 -05:00
Paul Ritter
4686743f41 Instrument layout (#23478)
* css change, also using a table to align the lines

* edit and remove lines + more layout

* up. down.
2019-07-10 14:18:20 -03:00
Paul Ritter
265c662207 Instrument nanoui (#23222)
* rememba

* translated into tmpl a bit

* converted to nanoui
added activeChord tracking

* i need this

* and this hurr durr im retard

* fixed js func calls

* yes

* when you forget to push latest changes haha

* so im retarded

* css
2019-07-09 18:48:39 -03:00
Kurfursten
5e008ced60 Soul Rambler Mini-Antag (#21465)
* soul rambler

* Progress need to rebase

* rambler finished

* The Power of Parenthesis

* A Few For Robo
2019-03-26 12:00:41 -04:00
MadmanMartian
7361d7e86e My ears need this (#22056) 2019-03-17 22:29:23 -03:00
Dylan Walsh
38147d8420 Makes Instruments Use 300 Lines 2018-09-22 17:28:57 -04:00
Gerard Sierra
6eece59755 Stops musical instrument dialog box from opening every time a song repeats (#13578) 2017-01-22 18:11:21 +01:00
Intigracy
2adb89057f piana gramma (#12315) 2016-10-23 17:41:34 -05:00
JustSumBody
5ac7a27947 Fixes roundstart pianos being broken (#11945)
* Could you do me a favor piano man please

* I want you to write me a song
2016-09-18 18:20:58 -05:00
JMWTurner
c7a66cf6e3 Making pianos spawn facing west (#11792)
* pianowest

* revision 1

* revision 2
2016-09-07 14:18:07 -05:00
JMWTurner
0d7d2a73ff The Piano Has Been Drin- Broken! and made directional too (#11666)
* piano

* revision 1

* revision 2

* revision 3
2016-09-04 12:28:58 -05:00
JMWTurner
2e23aeb0ae Music changes (#11572)
* musicdefines

* changelog
2016-08-25 15:34:09 -05:00
JustSumBody
1d57bffe60 Big band musical instrument update (#11475)
* Objects and supply crates

* fixes some pathing I didn't even know these things played sounds

* Adds/rearranges sounds to instruments folder

* Moves instrument inhands to musician.dmi new inhands/sprites

* I'm not good at descriptions

* I am not good at reading

* Adds harmonica and guitar sprites

* harmonica sounds

* honk

* Surely I don't need to recompile after adding these things to the crate because only an idiot would mess that up

* harmonica sprites and button for when it's in mask slot

* changelog, barring sudden inspiration I think I'm set
2016-08-21 07:46:45 -05:00
clusterfack
6edf0208ac 64x64 Sprites (#11214)
* Move DMI files over to 64x64

* Lighting overlay + world.icon_size.

* Change 32 to world icon size

* Adds pixel shift multiplier

* Fix accidentaly 16 -> world_icon_size/4 conversion to proper world_icon_size/2 conversion

* Fixes lighting properly

* Fix spacepods bounds

* Redo all icons with BYONDTools bug fixed

* Update ALL the map files dear god

* Double crayon font size

* Update all screen locs

* Fix contextual clicks

Couldn't use PIXEL MULTIPLIER here for the most part due to the fact most of these are ranges and doubling them would leave empty spaces

* Fixes maptext size and the final touch ups on antag screen locs

* Runs optipng on the DMI files in last commit.

Because my optipng version was outdated (blame the optipng package I had installed) it failed to run on the erge commit. This fixed that.

* Reduces parallax size a bit for 64x64 map sizes

* Fix lobby screens

* Fix DME
2016-08-05 02:07:02 +02:00
JustSumBody
167acc3a96 Ports TG's instrument system and guitar (#11204)
* Code related changes for porting instrument system

* guitar icon

* fixes object pathing on other maps and such

* Reorganizes sound files for the new system(removes all sharps and reduntant notes), adds guitar notes

* Changelog

* whoops need to include the file too

* removes thing I had for testing purposes

* Adds inhands and suicide_acts, removes redundant notes, fixes everything

* Adds inhands for real this time I think

* Adds inhands for real this time I think (reverted from commit 2367d0ae3d)

* ayo what kinda commit history you want

* Copy and paste was a mistake

* ctrl+f is hard
2016-08-03 22:14:04 -05:00
Sood
31ac9f6a5b 510 + btime mostly removed + screen overlays overhaul + Paradise sched improvements 2016-04-26 15:34:31 -07:00
PJB3005
f46f02dc9e Goon-style chat.
Credits to goon for most of the work.
2016-03-27 17:23:07 +02:00
unid15
f3ff0f65c1 Replace tool istypes() with macros 2016-03-13 18:39:44 +01:00
PJB3005
2d4e0080a3 Removes the autofix messages. 2016-01-21 19:34:04 +01:00
PJB3005
1a2f9ab059 All the EOLs are now LF.
Fuck you too 0D :^)
2016-01-16 23:28:07 +01:00
PJB3005
99bf59d80e Adds a to_chat() proc, to pave the way to a non shit chat. 2015-11-25 15:55:15 +01:00
PJB3005
3cca5692af Removes the panic writer messages. 2015-11-20 03:17:06 +01:00
D3athrow
d59f6a07b0 comment out panicwriter and saytesting 2015-07-20 16:04:48 -05:00
D3athrow
41d7df01fd just fuck my shit up 2015-07-18 02:30:51 -05:00
D3athrow
6f8f1ff08f 110% plagiarism 2015-06-13 20:18:43 -05:00
DeityLink
4f8c4447ed methylphenidate 2015-05-23 08:35:26 +02:00
D3athrow
01d2471fc9 Merge branch 'color_replace_2_electric_boogaloo' into Bleeding-Edge
Conflicts:
	code/ATMOSPHERICS/pipe/pipe_dispenser.dm
	code/game/machinery/computer/HolodeckControl.dm
	code/game/machinery/embedded_controller/embedded_controller_base.dm
	code/modules/mining/money_bag.dm
	code/modules/mob/living/carbon/carbon.dm
	code/modules/mob/living/silicon/mommi/mommi.dm
	code/modules/mob/living/simple_animal/friendly/farm_animals.dm
	code/modules/research/destructive_analyzer.dm
	code/modules/research/rdconsole.dm
	code/modules/research/xenoarchaeology/machinery/analysis_base.dm
	code/modules/research/xenoarchaeology/machinery/artifact_harvester.dm
	code/modules/research/xenoarchaeology/tools/ano_device_battery.dm
2015-04-12 16:40:59 -05:00
Unfit
a5d3d2d42a bugfixes 1
-violin and piano windows now properly update and dont need to be
clicked ten times a second
-clicking on a janicart with a trash bag will ask you if you want to get
off the cart or take out the trash bag
-hopefully fixed food names
2015-01-29 23:01:18 +01:00
D3athrow
54788c718e Call super in New OR call AddToProfiler() for logging reasons, incomplete for now. 2015-01-29 04:27:56 -06:00
ESwordTheCat
44f06564a7 replace obsolete proc 2014-09-13 19:56:03 -08:00
d3athrow
eaa0b4e0ae Fix making sounds in an area 2014-01-15 18:52:30 -06:00
d3athrow
01ce8b340b 3d sound thanks to /tg/station's giacom 2013-12-20 17:58:47 -06:00
Rob Nelson
1273d06df5 Combine a shitload of strings. 2013-09-04 13:17:54 -07:00