Mitchell Richters
2020860ffe
- For I_GetInputFrac()
, just have the caller check if input is synchronised.
2023-02-05 08:40:25 +11:00
Mitchell Richters
9961a66a1f
- Remove inputScale
global and make static in mainloop.cpp
.
2023-02-05 08:37:37 +11:00
Mitchell Richters
1938efabe6
- Fix bad return in scaletozero()
from 924b601199
.
2023-02-05 08:27:44 +11:00
Mitchell Richters
924b601199
- Change scaletozero()
to return true when back at 0 to save callers having to test angle's signum again.
2023-02-04 19:01:01 +11:00
Mitchell Richters
5fd4fbfde5
- Remove some leftover debug code.
2023-02-04 17:05:20 +11:00
Mitchell Richters
30de9c1922
- Factor in view pitch when clamping player's actor pitch.
2023-02-04 17:05:19 +11:00
Mitchell Richters
991ef5c27f
- Minor input tidy-up.
2023-02-04 17:05:18 +11:00
Christoph Oelckers
9783b8c402
- scriptified World Tour's flamethrowerflame.
...
The first of 3 mixed native/CON items which are the last things remaining in the main thinker loops.
2023-01-28 16:31:45 +01:00
Christoph Oelckers
acac74715f
partially Revert "- pass shade values to sky renderer"
...
This reverts commit 380864d6fb
.
The report this was supposed to address was bogus.
2023-01-28 09:21:53 +01:00
Rachael Alexanderson
2778ee72cd
- fix commit 532a726ae3
- i_pauseinbackground is not supposed to bypass menu/console pause
2023-01-27 03:02:13 -05:00
Christoph Oelckers
5ebce5afba
- fix last commit
2023-01-21 15:08:47 +01:00
Christoph Oelckers
dbef2f74d1
- print an error when a sound file cannot be found.
2023-01-21 14:51:43 +01:00
Christoph Oelckers
9379e873b3
- error out when encountering an unknown $ token in SNSINFO.
...
No need to preserve this insanity from old ZDoom times.
2023-01-21 09:34:25 +01:00
Christoph Oelckers
acfca3fbdc
- fixed SNDINFO parser to actually read new sound definitions.
2023-01-18 06:58:37 +01:00
Christoph Oelckers
3ab1ae5f7a
- allow setting Blood's relative volume hack value via SNDINFO.
2023-01-15 16:18:48 +01:00
Christoph Oelckers
bb7f00988a
- give Blood's sounds well defined names so they can be defined via SNDINFO.
2023-01-15 16:15:28 +01:00
Christoph Oelckers
841402a776
- allow setting loop points for WAV sounds or other simple formats.
2023-01-15 15:19:21 +01:00
Christoph Oelckers
f1c3a6548f
- use backend pitch features for Duke instead of replicating them on the game side.
2023-01-15 13:18:54 +01:00
Christoph Oelckers
8859712a7b
- copied $pitchset SNDINFO command from GZDoom.
2023-01-15 12:22:07 +01:00
Christoph Oelckers
8de7aa5975
- corrected error messages.
2023-01-15 12:14:47 +01:00
Christoph Oelckers
ad0bff921b
- allow setting Duke's relevant sound properties through SNDINFO.
2023-01-15 11:54:24 +01:00
Christoph Oelckers
fca0bdf379
- Backend update from GZDoom.
2023-01-15 09:30:01 +01:00
Christoph Oelckers
1bfccbcb6e
- explicitly destroy the AltHUD when exiting.
...
This is to avoid problems with the GC on shutdown.
2023-01-14 14:09:25 +01:00
Christoph Oelckers
6c3d03cd48
- fixed incorrect sector in a few sprites of World Tour E5L1.
2023-01-14 13:18:53 +01:00
Christoph Oelckers
b991af2dbc
- fixed incomplete statnum setup.
2023-01-09 23:39:20 +01:00
Christoph Oelckers
deaec2d91d
- disabled property-type definition of spritetype members.
...
As it turned out this is simply too dangerous - these should be left to be loaded from the map data or set manually.
All remaining setups using this feature have either been moved to Initialize or other meta properties that are not affected by map loading.
2023-01-08 16:45:09 +01:00
Christoph Oelckers
905a9bfeae
- backend update from GZDoom.
2023-01-07 19:30:49 +01:00
Rachael Alexanderson
532a726ae3
- respect i_pauseinbackground setting
2023-01-07 07:18:52 -05:00
Christoph Oelckers
cfef8c8a71
- ignore executable files in a zip's main folder when checking for mod content in a subdirectory.
2023-01-06 18:01:34 +01:00
Christoph Oelckers
32ce8a97bf
- SW: do not double interpolate sectors that are both part of a sector object but also have a global interpolation attached.
...
In this case the SO interpolation must be skipped. The only use case for this combination is sine-wave animated water.
2023-01-05 19:26:42 +01:00
Mitchell Richters
d59208ce74
- Default initialise g_nextskill
to -1
so maps loaded directly from the command line load with the game's default skill.
2023-01-05 20:57:14 +11:00
Christoph Oelckers
ad0860f4bf
- fixed sprite rendering being aborted if a sprite with invalid texture was encountered.
2022-12-29 14:53:21 +01:00
Christoph Oelckers
d064706f93
- got rid of wallpicnum and overpicnum.
...
All map geometry npw uses texture IDs and no longer depends on Build's tile system.
(What's missing is a new map format, though, but this was a necessary prerequisite to make that worthwile...)
2022-12-29 14:14:53 +01:00
Christoph Oelckers
90702ae2f5
- consolidated the animwall code by using texture flags.
...
This is way too hacky for generalization. For that newly defined control actors are surely a better option.
2022-12-29 14:14:53 +01:00
Christoph Oelckers
9bc0a43028
- fixed lookup for tile aliases pointing to non-existent tiles.
2022-12-29 13:33:02 +01:00
Christoph Oelckers
0d9fe83cba
- implemented the switch parser and set up the external definitions.
2022-12-29 13:32:29 +01:00
Kevin Caccamo
996e0ef6cf
Attempt to fix #806
...
Default-initialize TilesetBuildInfo `info`.
Also, make every function in defparser.cpp static except for loaddefinitionsfile, since that's the only function which is called from other source files.
2022-12-22 22:14:13 +01:00
Christoph Oelckers
ef7c72ce9f
- Blood: add all statically stored EventObjects to the GC processor.
2022-12-18 17:54:54 +01:00
Christoph Oelckers
21d4aae182
- fixed lookup for tile aliases pointing to non-existent tiles.
2022-12-18 15:19:35 +01:00
Christoph Oelckers
8c41294cb0
- overpicnum lightening.
...
Especially make sure that it is never set to tile 0. There seems to have been some undefined behavior here treating 0 as 'no texture', but doing so inconsistently.
2022-12-18 15:13:22 +01:00
Christoph Oelckers
79c91b2538
- only write special texture properties if they are being defined.
2022-12-18 15:06:20 +01:00
Christoph Oelckers
a9ea2cd5c0
- moved GetReservedScreenSpace function into the scripted status bar where it belongs.
...
Since this is supposed to return the height of the status bar, keeping it native is a bit pointless as it cannot be modified that way.
2022-12-18 14:47:38 +01:00
Mitchell Richters
b4f6ea6232
- Fix linking errors.
2022-12-18 14:47:32 +01:00
Christoph Oelckers
e78fd90f67
- adapted sky code for using texture IDs.
2022-12-18 14:42:27 +01:00
Christoph Oelckers
8dfbbc8220
- migrated floorpicnum and ceilingpicnum to FTextures.
...
The sky code still needs some work.
2022-12-18 14:32:52 +01:00
Christoph Oelckers
622710ede4
- migrated all uses of floorpicnum.
...
This necessitated a few more surface type definitions.
2022-12-18 14:02:56 +01:00
Christoph Oelckers
4a306a21dc
- split several texture flags off into a surface type value.
...
Using the same field in the TexExtInfo struct as Blood's surfType.
This frees up a lot of flags for later use.
2022-12-18 13:56:54 +01:00
Christoph Oelckers
5b8dd84361
- use setceilingtexture where textures are simply copied around
2022-12-18 13:52:10 +01:00
Christoph Oelckers
ee8b685fe2
- adapted the breakable stuff interface in Duke to Texture IDs.
2022-12-18 13:52:03 +01:00
Christoph Oelckers
5147826eeb
- consolidated precaching code and rewrote the core to work on texture IDs.
2022-12-18 13:37:54 +01:00