Latest Raze Changes
Latest 50 commits, skipping 7600
Unofficial development builds at DRD Team
03-Feb-2019 (Sunday) at 00:20:13 PST by Christoph Oelckers
Merge branch 'master' into new_level_refactor#Conflicts:
- #
- src/am_map.cpp
03-Feb-2019 (Sunday) at 00:11:33 PST by Christoph Oelckers
- fixed: The CheckEnvironmant call in PlayerThink can already invalidate the PlayerPawn so even the calls to CheckUndoMorph and CheckUse need to get the pawn through the PlayerInfo.
02-Feb-2019 (Saturday) at 23:59:37 PST by Christoph Oelckers
- fixed: Instead of mapping Hexen's BLANK texture to the null texture, make its actual use type that of a null texture.
The software renderer does not have any safeguards against such a mapping and crashes on it. This code was a quick hack from ancient times from when ZDoom did not have robust texture management and some recent changes ran afoul of this very special exception.
02-Feb-2019 (Saturday) at 23:22:47 PST by Christoph Oelckers
- fixed: The HUD model code did not account for placeholder sprites.
01-Feb-2019 (Friday) at 23:52:51 PST by Nemrtvi
Fixed “Finished:” and “Now entering” in Heretic
The text file gzdoom/wadsrc/static/zscript/statscreen/statscreen.txt is set to use strings called “$ENTERING” and “$FINISHED”, located in the language files, in intermission screens between levels in Heretic. However, these strings are named incorrectly in the language files, instead being written as “$WI_ENTERING” and “$WI_FINISHED” for some reason I’m unaware of. After renaming the original script, the ingame text shows up through what is written in the language files, as intended.
On a miscellaneous note: in GZDoom, the text between levels in Heretic says “Entering:”. In the DOS version, it says “Now entering:”. This is accurately reflected in the English language file, though, and thus faithful to the original when displayed ingame.
02-Feb-2019 (Saturday) at 08:44:09 PST by Alexander
added am_showkeys_always
02-Feb-2019 (Saturday) at 08:29:13 PST by Christoph Oelckers
- had to fix a few things.
02-Feb-2019 (Saturday) at 07:58:30 PST by Christoph Oelckers
Merge branch 'master' into new_level_refactor#Conflicts:
- #
- src/p_user.cpp
02-Feb-2019 (Saturday) at 07:56:58 PST by Christoph Oelckers
- allow localization of Strife's log text.
02-Feb-2019 (Saturday) at 07:51:54 PST by Christoph Oelckers
- fixed: Retriving a key's color did not work.
02-Feb-2019 (Saturday) at 07:43:11 PST by Christoph Oelckers
- separation of static and map-local event handlers into separate lists.
Having everything lumped together made this a maintenance hassle because it affected how the level has to be stored. This hasn't been tested yet, so it may not work as intended!
02-Feb-2019 (Saturday) at 02:00:26 PST by Christoph Oelckers
- changed the place where the CheckRequireMouse event gets called.
The original place in I_CheckNativeMouse is unsafe because that function can get called from the system message queue which can result in a bad global state of the VM for such a call because it can be recursively invoked from code that may temporarily alter some settings.
02-Feb-2019 (Saturday) at 00:08:33 PST by Nemrtvi
Localized “FIND HELP” in Strife
The very first quest log that appears in Strife, “FIND HELP”, is located in a source file. This moves it to the language files.
02-Feb-2019 (Saturday) at 01:46:34 PST by Christoph Oelckers
- made the event manager an object so it can be instantiated multiple times.
01-Feb-2019 (Friday) at 16:14:51 PST by Christoph Oelckers
- changed the linedef translator into a struct and reorganized its storage to allow having different ones at the same time.
This was the last piece of data that couldn't be distinct for more than one level.
01-Feb-2019 (Friday) at 15:24:43 PST by Christoph Oelckers
- renamed the level variables.
currentUILevel is now primaryLevel. For ZScript, currentVMLevel was added. This is also exported as 'level' and will change as needed. This also means that no breaking deprecations will be needed in the future, because in order to sandbox a level only 4 variables need to be handled: level, players, playeringame and consoleplayer. The remaining global variables are not relevant for the level state.
The static 'level' has been mostly removed from the code except some places that still need work.
01-Feb-2019 (Friday) at 13:02:16 PST by Christoph Oelckers
- added the missing Level parameters to AActor::StaticSpawn and P_ExecuteSpecial.
I think these were the last two still missing it, all remaining uses of the global level variable are in code that doesn't get run through a level tick and are supposed to access the primary level.
01-Feb-2019 (Friday) at 12:19:16 PST by Christoph Oelckers
- moved KEYCONF_only CCMDs out of play files.
01-Feb-2019 (Friday) at 10:48:17 PST by Christoph Oelckers
- moved a few more files and copied the data related parts of p_things.cpp to g_doomedmap.cpp
01-Feb-2019 (Friday) at 10:20:58 PST by Christoph Oelckers
- moved some more code into the gamedata folder.
Two files were split:
g_level.h contained both the game data definitions and some prototypes belonging to the game logic. These were split up. decallib.cpp contained both the data and the animation thinkers. The thinkers are now in their own file.
01-Feb-2019 (Friday) at 09:31:57 PST by Christoph Oelckers
- moved the resourcefiles and textures folders into gamedata.
01-Feb-2019 (Friday) at 09:07:36 PST by Major Cooke
Added Inventory UNCLEARABLE flag.
- Allows prevention of ClearInventory without stopping it from being dropped.
01-Feb-2019 (Friday) at 09:15:49 PST by Christoph Oelckers
- moved the CCMDs out of a_pickups.cpp.
01-Feb-2019 (Friday) at 09:13:12 PST by Christoph Oelckers
- moved the contents of g_inventory to g_shared and gamedata subfolders.
a_pickups only contains a few native remains of the inventory code and the other two only the static data maintenance for their items.
01-Feb-2019 (Friday) at 08:59:25 PST by Christoph Oelckers
Merge remote-tracking branch 'remotes/origin/master' into new_level_refactor01-Feb-2019 (Friday) at 08:22:12 PST by alexey.lysiuk
- fixed potentially incomplete list of argument flags for virtual function
01-Feb-2019 (Friday) at 08:31:11 PST by Christoph Oelckers
- changed most places where a player index is calculated by subtracting the player array's base access.
01-Feb-2019 (Friday) at 08:02:10 PST by Christoph Oelckers
- removed all access to the consoleplayer variable from the play code
There is one exception in ACS for a net arbitrator check. Aside from this the bot_observer CVAR was also removed. This was never implemented properly and could stomp upon custom player settings.
01-Feb-2019 (Friday) at 03:31:08 PST by Christoph Oelckers
- a few minor fixes.
31-Jan-2019 (Thursday) at 16:37:09 PST by Christoph Oelckers
- do not call renderer code directly to reset the view interpolation
The playsim really has no idea what the renderer is supposed to do here and the current system has some serious issues that eventually need addressing. So it is better to just set a flag that an actor needs to have its view interpolation reset if being used as a camera and let the render code deal with it.
This will keep the playsim clean of future changes to this feature.
01-Feb-2019 (Friday) at 00:37:05 PST by alexey.lysiuk
- fixed compilation errors with POSIX targets
src/posix/cocoa/i_video.mm:559:2: error: use of undeclared identifier 'atterm'
src/posix/sdl/hardware.cpp:85:28: error: ‘atterm’ was not declared in this scope
src/posix/sdl/i_input.cpp:261:10: error: ‘gamestate’ was not declared in this scope
src/posix/sdl/i_input.cpp:261:23: error: ‘GS_LEVEL’ was not declared in this scope
src/posix/sdl/i_input.cpp:263:48: error: ‘GS_INTERMISSION’ was not declared in this scope
src/posix/sdl/i_input.cpp:263:80: error: ‘GS_FINALE’ was not declared in this scope
src/posix/sdl/i_system.cpp:115:25: error: ‘atterm’ was not declared in this scope
src/posix/sdl/i_system.cpp:372:30: error: invalid use of incomplete type ‘const struct dirent’
src/posix/sdl/i_system.cpp:375:42: error: ‘findstate_t’ has not been declared
src/posix/sdl/i_system.cpp:391:12: error: request for member ‘current’ in ‘ fileinfo’, which is of non-class type ‘int’
src/posix/sdl/i_system.cpp:392:12: error: request for member ‘count’ in ‘ fileinfo’, which is of non-class type ‘int’
src/posix/sdl/i_system.cpp:392:56: error: request for member ‘namelist’ in ‘ fileinfo’, which is of non-class type ‘int’
src/posix/sdl/i_system.cpp:393:22: error: ‘alphasort’ was not declared in this scope
src/posix/sdl/i_system.cpp:393:31: error: ‘scandir’ was not declared in this scope
src/posix/sdl/i_system.cpp:394:16: error: request for member ‘count’ in ‘ fileinfo’, which is of non-class type ‘int’
src/posix/sdl/i_system.cpp:401:31: error: ‘findstate_t’ has not been declared
src/posix/sdl/i_system.cpp:403:2: error: ‘findstate_t’ was not declared in this scope
src/posix/sdl/i_system.cpp:403:15: error: ‘state’ was not declared in this scope
src/posix/sdl/i_system.cpp:403:37: error: expected primary-expression before ‘)’ token
src/posix/sdl/i_system.cpp:404:33: error: request for member ‘count’ in ‘ fileinfo’, which is of non-class type ‘int’
src/posix/sdl/i_system.cpp:406:39: error: request for member ‘count’ in ‘ fileinfo’, which is of non-class type ‘int’
src/posix/sdl/i_system.cpp:413:2: error: ‘findstate_t’ was not declared in this scope
src/posix/sdl/i_system.cpp:413:15: error: ‘state’ was not declared in this scope
src/posix/sdl/i_system.cpp:413:37: error: expected primary-expression before ‘)’ token
src/posix/sdl/i_system.cpp:425:16: error: ‘findstate_t’ was not declared in this scope
src/posix/sdl/i_system.cpp:425:29: error: expected primary-expression before ‘const’
src/posix/sdl/i_system.cpp:426:1: error: expected ‘,’ or ‘;’ before ‘{’ token
src/posix/sdl/i_main.cpp:160:6: error: ‘gamestate’ was not declared in this scope
src/posix/sdl/i_main.cpp:160:19: error: ‘GS_LEVEL’ was not declared in this scope
src/posix/sdl/i_main.cpp:160:44: error: ‘GS_TITLELEVEL’ was not declared in this scope
src/posix/sdl/i_main.cpp:217:18: error: ‘atterm’ was not declared in this scope
src/posix/sdl/i_main.cpp:242:11: error: ‘I_Quit’ was not declared in this scope
src/gameconfigfile.cpp:126:27: error: ‘SHARE_DIR’ was not declared in this scope
src/scripting/decorate/thingdef_parse.cpp:929:2: error: use of undeclared identifier 'strlwr'; did you mean 'strlen'?
src/scripting/decorate/thingdef_parse.cpp:937:3: error: use of undeclared identifier 'strlwr'; did you mean 'strlen'?
src/scripting/decorate/thingdef_states.cpp:564:2: error: use of undeclared identifier 'strlwr'; did you mean 'strlen'?
src/scripting/vm/jit_runtime.cpp:957:2: error: ‘unique_ptr’ is not a member of ‘std’
src/scripting/vm/jit_runtime.cpp:957:38: error: expected primary-expression before ‘>’ token
src/scripting/vm/jit_runtime.cpp:957:40: error: ‘nativeSymbols’ was not declared in this scope
src/utility/cmdlib.cpp:962:2: error: ‘DIR’ was not declared in this scope
src/utility/cmdlib.cpp:962:7: error: ‘directory’ was not declared in this scope
src/utility/cmdlib.cpp:962:34: error: ‘opendir’ was not declared in this scope
src/utility/cmdlib.cpp:967:33: error: ‘readdir’ was not declared in this scope
src/utility/cmdlib.cpp:969:10: error: invalid use of incomplete type ‘struct ScanDirectory(TArray
01-Feb-2019 (Friday) at 00:09:36 PST by alexey.lysiuk
- fixed compilation of Windows Debug targets
src\sound\mididevices\music_opl_mididevice.cpp(112): error C3861: 'I_DebugPrint': identifier not found src\sound\mididevices\music_opl_mididevice.cpp(206): error C3861: 'I_DebugPrint': identifier not found src\sound\mididevices\music_opl_mididevice.cpp(234): error C3861: 'I_DebugPrint': identifier not found src\sound\mididevices\music_opl_mididevice.cpp(244): error C3861: 'I_DebugPrint': identifier not found
31-Jan-2019 (Thursday) at 16:18:32 PST by Christoph Oelckers
- moved a bunch of files to the utility folder.
31-Jan-2019 (Thursday) at 15:48:21 PST by Christoph Oelckers
- moved 15 more files to g_shared.
31-Jan-2019 (Thursday) at 15:30:21 PST by Christoph Oelckers
- removed v_video.h include from portals.h
This has no business in a play related file which also made no use of it.
31-Jan-2019 (Thursday) at 15:14:31 PST by Christoph Oelckers
- moved some diagnostic CCMDs to g_dumpinfo.cpp.
31-Jan-2019 (Thursday) at 13:31:41 PST by Christoph Oelckers
- moved a few more play files free of global state references to g_shared.
31-Jan-2019 (Thursday) at 13:22:39 PST by Christoph Oelckers
- prettification of p_teleport.cpp and some include cleanup.
31-Jan-2019 (Thursday) at 11:43:24 PST by Christoph Oelckers
Merge remote-tracking branch 'remotes/origin/master' into new_level_refactor31-Jan-2019 (Thursday) at 11:42:36 PST by Christoph Oelckers
- minor corrections.
31-Jan-2019 (Thursday) at 11:33:52 PST by Christoph Oelckers
- moved most utility code to a subdirectory.
Again no code changes.
31-Jan-2019 (Thursday) at 10:58:17 PST by Christoph Oelckers
- moved all rendering code into a common subdirectory.
No changes to the files themselves was made.
31-Jan-2019 (Thursday) at 10:44:04 PST by Christoph Oelckers
- moved the menu.h include from oalsound.h to oalsound.cpp.
The menu is a very 'dirty' header, and forcing it to be pulled in with something entirely unrelated is not good - even though only two files include oalsound.h.
31-Jan-2019 (Thursday) at 10:38:04 PST by Christoph Oelckers
- moved the I_Error prototypes to doomerrors.h to avoid having to include the low level system header for this.
27-Jan-2019 (Sunday) at 16:03:04 PST by Major Cooke
Added CheckReplacee.
- Allows defining of what actor is replacing another for information.
- If multiple arachnotrons, a modder can attribute them as being a replacer of Arachnotron itself, allowing A_BossDeath and GetReplacee to work with it.
27-Dec-2018 (Thursday) at 12:03:51 PST by Erick Tenorio
- DOOM.WAD fixes
31-Jan-2019 (Thursday) at 08:43:12 PST by Christoph Oelckers
- Unload behavior with the map, not outside.
31-Jan-2019 (Thursday) at 08:55:50 PST by Christoph Oelckers
- make the file name of savegame nodes read only.
31-Jan-2019 (Thursday) at 00:01:02 PST by Christoph Oelckers
-
only activate lights if the light actor isn't dormant, and only create a new one if it doesn't already have one.
30-Jan-2019 (Wednesday) at 18:29:45 PST by Christoph Oelckers
- this was missing