nashmuhandes
24de63f23f
Fix CHANGELEVEL_NOAUTOSAVE logic
2023-08-01 17:19:32 +02:00
RaveYard
e6305c55cd
Fix strange crash when player's weapon is removed.
2023-08-01 17:19:03 +02:00
alexey.lysiuk
62f37079a7
- fixed compilation with Clang
...
src/common/scripting/backend/vmbuilder.cpp:869:88: error: cannot pass non-trivial object of type 'FString' to variadic method; expected type from format string was 'char *' [-Wnon-pod-varargs]
src/common/scripting/backend/vmbuilder.cpp:916:85: error: cannot pass non-trivial object of type 'FString' to variadic method; expected type from format string was 'char *' [-Wnon-pod-varargs]
2023-07-22 13:22:53 +03:00
Christoph Oelckers
81fb9a26b2
- backend update from Raze.
...
* add QualifiedName to VMFunction and allocate these static names from the class data memory arena instead of using FStrings.
* null pointer type checks in the VM added to avoid crash on bad codegen.
2023-07-22 09:55:49 +02:00
Christoph Oelckers
f9a86c595c
- fixed getRealLightmode: don't overwrite level->info->lightmode.
2023-07-21 14:55:59 +02:00
Professor Hastig
ae2f7578dc
fix menu entry for light modes
...
Renames "Doom" to "Classic", fixes the option values and removes the no longer supported options.
2023-07-20 17:04:05 +02:00
Joshua Watt
d2ac72129d
posix: sdl: Stop reading STDIN on EOF
...
If EOF is read on stdin (such as when it is /dev/null), stop calling
select() on it. Otherwise, the code goes into an infinite loop
attempting to read from stdin which is always ready but never has any
data and it never calls the timer callback to progress.
2023-07-17 22:57:28 +02:00
Major Cooke
9c765a70bf
Expanded Service's Get<Type> functions to pass in name parameter.
2023-07-17 22:51:04 +02:00
Major Cooke
0c9bd9282c
Added GetName(UI/Data) to Service class.
2023-07-17 22:51:04 +02:00
Professor Hastig
4b49d9d185
fixed bad operator
2023-07-17 22:50:05 +02:00
Professor Hastig
666a99f204
lightmode refactor
...
* make all legacy light modes except 'Doom' MAPINFO only. A CVAR still exists for testing but its value won't be saved to the config.
* user can only select between "performance', 'software' and 'vanilla'. 'performance' is the old 'Doom' mode which is still needed to speed things up on low end hardware.
* MAPINFO can not enforce any of the two software light modes, as low end users require the option to change this to the 'performance' setting. Selecting one will always revert to the user's light mode selection.
2023-07-17 22:50:05 +02:00
nashmuhandes
be2616ca97
Fix missing serialization of LevelLocals' flags3
2023-07-15 20:05:39 +02:00
nashmuhandes
1dec189146
Add CHANGELEVEL_NOAUTOSAVE flag to ChangeLevel to allow scripted level-switching to bypass autosaving
2023-07-15 19:25:55 +02:00
nashmuhandes
044279960c
Add MAPINFO NoAutoSaveOnEnter - this fully disables autosaves when a map is just entered (ignoring the user's autosave preference).
2023-07-15 18:24:35 +02:00
nashmuhandes
d09d5e0715
- Serialize Level.nousersave and Level.noautomap properly
...
v0.9
- Also allow them to be settable directly in a map's MAPINFO block (NoUserSave and NoAutoMap respectively)
2023-07-15 14:43:57 +02:00
Ricardo Luís Vaz Silva
58cb3dc168
allow PSPF_FLIP for 3d layers
2023-07-15 01:08:27 +02:00
Ricardo Luís Vaz Silva
847f80391b
Expose OF_Transient to actors as bNoSaveGame
2023-07-14 16:01:55 +02:00
Ricardo Luís Vaz Silva
b0d6d82dfd
Add Weapon::ModifyBobLayer , Weapon::ModifyBobLayer3D and Weapon::ModifyBobPivotLayer3D
2023-07-14 16:01:55 +02:00
Ricardo Luís Vaz Silva
9bc1a6e421
allow explicit casts between vectors of different underlying types
2023-07-14 16:01:55 +02:00
Ricardo Luís Vaz Silva
2dc4b9ed93
Fix formatting for P_BobWeapon3D
2023-07-14 16:01:55 +02:00
Ricardo Luís Vaz Silva
542676368b
Add Inventory::ModifyBob and Inventory::ModifyBob3D
2023-07-14 16:01:55 +02:00
Ricardo Luís Vaz Silva
d2b91c7de1
Add missing returns for untagged lines/sectors
2023-07-14 16:01:55 +02:00
Ricardo Luís Vaz Silva
66fb6d3474
add CountSectorTags/CountSectorTags/CountLineIDs/GetLineID
2023-07-14 16:01:55 +02:00
Magnus Norddahl
7706fc7692
Merge pull request #13 from nashmuhandes/GZDoomUpdate-12-07-2023
...
GZDoom master update
2023-07-12 15:38:40 +02:00
nashmuhandes
07f722b6f3
Merge branch 'master' of https://github.com/ZDoom/gzdoom into GZDoomUpdate-12-07-2023
2023-07-12 20:51:41 +08:00
Ricardo Luís Vaz Silva
99850ea216
fix the ammocount parameter in Weapon.CheckAmmo
2023-07-09 10:47:39 +02:00
Magnus Norddahl
b098a3eec9
Update menudef to also include Professor Hastig suggestions
2023-07-06 22:37:58 +02:00
Jacob Alexander Tice
bcfa43b7d6
Replace .local/share/Steam with .steam/steam
...
.local/share/Steam doesn't exist on all distros, but .steam/steam does.
2023-07-05 21:40:32 -04:00
Ricardo Luís Vaz Silva
7235058f09
scan secondary library folders on windows
2023-07-05 21:28:42 -04:00
Ricardo Luís Vaz Silva
7e8bb6ea30
fix steamapps folder case
2023-07-05 21:28:42 -04:00
Rachael Alexanderson
e23bb092b4
Update README.md
...
- use alternate vanity service for discord link
2023-07-05 09:20:16 -04:00
Professor Hastig
602c7c4e24
fix UMAPINFO boss action clearing.
...
This did not handle the case where the actions were cleared without adding new ones and also did not clear the MBF21 boss action flags.
2023-07-05 09:17:37 -04:00
Magnus Norddahl
362dc63fc1
Add support for gl_multithread while gl_meshcache is active
...
Stop building geometry for lines that have a portal (when gl_meshcache is active)
2023-07-04 02:23:07 +02:00
Magnus Norddahl
3be36b3aa3
Hook up portals to gl_meshcache
2023-07-04 01:16:17 +02:00
Magnus Norddahl
a7f4971d5d
Add HWDrawContext so that multiple threads can maintain their own drawinfo without need for synchronization
2023-06-29 03:33:07 +02:00
Ricardo Luís Vaz Silva
71d4eb66f2
Clear Services Map during VM Shutdown
2023-06-28 20:19:43 +02:00
Ricardo Luís Vaz Silva
a8b8de94d6
misc cleanup/fixes
2023-06-26 23:28:26 +02:00
Ricardo Luís Vaz Silva
abcc0421e4
Fix size miscalculation for surfaceSkinIDs
2023-06-26 23:28:26 +02:00
Ricardo Luís Vaz Silva
c6978c23ab
Disable FName as a native parameter
2023-06-26 00:36:36 -04:00
Ricardo Luís Vaz Silva
0e438f10f3
fix CMDL_HideModel
2023-06-26 00:36:36 -04:00
Ricardo Luís Vaz Silva
49eae74272
assert that FName is a POD and as such is passed directly on registers, so that if it changes to be a non-pod, it won't silently break parameters
2023-06-26 00:36:36 -04:00
Ricardo Luís Vaz Silva
61d68eb2d6
Rewrite changed model rendering code, and change how model skins are handled
2023-06-26 00:36:36 -04:00
Ricardo Luís Vaz Silva
b55ffdbfd3
major A_ChangeModel cleanup
2023-06-26 00:36:36 -04:00
Ricardo Luís Vaz Silva
5b85557ddb
add TArray::AppendFill for appending a single value multiple times
2023-06-26 00:36:36 -04:00
Ricardo Luís Vaz Silva
30e7b30c45
Simplify DirectNativeDesc, allow FName as a native parameter
2023-06-26 00:36:36 -04:00
Ricardo Luís Vaz Silva
7dda6570ec
remove memory leak in A_ChangeModel
2023-06-26 00:36:36 -04:00
Rachael Alexanderson
bc41356b35
- minor formatting fix
2023-06-19 04:38:35 -04:00
l2ksolkov
01dfcc7d95
Fix compilation on FreeBSD
...
Fixes #2073
Changes get_current_dir_name to functionally equivalent getcwd. Also moves "printf.h" to outside linux ifdef.
2023-06-19 04:31:18 -04:00
Christoph Oelckers
c675d60bac
- finish the implementation for nosectionmerge.
2023-06-18 09:44:34 +02:00
Christoph Oelckers
4538236a38
- cleaned i_music.h off external dependencies.
...
* take I_BuildMIDIMenuList out of it
* pass the command line state to disable music from the init call.
* don't declare internal 'nomusic' variable in the header.
2023-06-17 09:49:15 +02:00