Latest Raze Changes
Latest 50 commits, skipping 8050
Unofficial development builds at DRD Team
08-Jan-2019 (Tuesday) at 06:20:14 PST by alexey.lysiuk
- increased range of valid sound positions and velocities
08-Jan-2019 (Tuesday) at 06:16:26 PST by alexey.lysiuk
- fixed crash on sound playback without a level
08-Jan-2019 (Tuesday) at 03:33:14 PST by Christoph Oelckers
- listenactor can be null.
08-Jan-2019 (Tuesday) at 01:03:57 PST by Christoph Oelckers
Merge branch 'master' of https://github.com/coelckers/gzdoom08-Jan-2019 (Tuesday) at 00:13:41 PST by alexey.lysiuk
- fixed build of optimized targets
Undefined symbols for architecture x86_64: "AActor::__GetLevel() const", referenced from: FModelRenderer::RenderModel(float, float, float, FSpriteModelFrame, AActor, double) in models.cpp.o FCajunMaster::RemoveAllBots(bool) in b_game.cpp.o AF_AAmbientSound_Tick(VMValue, int, VMReturn, int) in s_advsound.cpp.o V_AddPlayerBlend(player_t, float, float, int) in v_blend.cpp.o ModActorFlag(AActor*, FString const&, bool, bool) in thingdef_properties.cpp.o
07-Jan-2019 (Monday) at 16:57:26 PST by Christoph Oelckers
- Gave DThinker a Level field and replaced all uses of the placeholer __GetLevel function.
Thinkers are always part of a level if they are linked and active, so this reference needs to be kept so that a thinker can unlink itself on destruction.
07-Jan-2019 (Monday) at 16:19:26 PST by Christoph Oelckers
Merge branch 'master' of https://github.com/coelckers/gzdoom07-Jan-2019 (Monday) at 15:49:49 PST by Christoph Oelckers
- p_acs.cpp done.
07-Jan-2019 (Monday) at 13:31:19 PST by Christoph Oelckers
- removed level references in the software renderers.
07-Jan-2019 (Monday) at 11:50:34 PST by Christoph Oelckers
- continued with the 'level' eradication.
07-Jan-2019 (Monday) at 08:33:17 PST by Christoph Oelckers
- P_Ticker handled
It may be a bit tricky to separate per-session and per-level actions here - for now only the sound resuming has been moved because that cannot be done per level.
07-Jan-2019 (Monday) at 08:31:06 PST by Christoph Oelckers
- did some more simple replacements of level
07-Jan-2019 (Monday) at 08:28:30 PST by Christoph Oelckers
- same for the ambient sound
07-Jan-2019 (Monday) at 08:22:38 PST by Christoph Oelckers
- removed dependency on global time in sound sequence code.
This can better use a countdown timer that doesn't depend on external behavior.
07-Jan-2019 (Monday) at 08:11:55 PST by Christoph Oelckers
- removed most level access from sound code.
07-Jan-2019 (Monday) at 08:04:16 PST by Christoph Oelckers
Moved access to ACS instance data out of ScriptUtil worker class
This is better done at a higher level.
07-Jan-2019 (Monday) at 08:00:51 PST by Christoph Oelckers
- removed global level variable from a few more places
The serializer will require special treatment because it needs the level to index the map geometry. However, since this only gets called from inside the level itself, the solution is relatively simple: At the start of level serialization it sets the level pointer and at the end clears it again.
07-Jan-2019 (Monday) at 07:56:44 PST by Christoph Oelckers
Moved high level parts of view border drawing to status bar.
07-Jan-2019 (Monday) at 04:45:04 PST by alexey.lysiuk
- fixed key number assignment during parsing of locks
07-Jan-2019 (Monday) at 01:14:27 PST by alexey.lysiuk
- fixed crash on creation of scroll texture
Example: Hadephobia MAP19 crashes on loading
07-Jan-2019 (Monday) at 00:14:52 PST by alexey.lysiuk
- fixed many compilation errors with GCC and Clang
06-Jan-2019 (Sunday) at 23:21:51 PST by Christoph Oelckers
- fix missing include
06-Jan-2019 (Sunday) at 17:13:51 PST by Chronos Ouroboros
Added support for implicitly-sized initialized arrays. Also fixed dynamic arrays not being cleared before initializing.
06-Jan-2019 (Sunday) at 16:09:19 PST by Christoph Oelckers
- fixed last PR.
The result of GetPointer must be null checked as well!
06-Jan-2019 (Sunday) at 16:09:19 PST by Christoph Oelckers
- fixed last PR.
The result of GetPointer must be null checked as well!
06-Jan-2019 (Sunday) at 16:04:09 PST by Cacodemon345
Move receiver NULL check above the orresult check (#695)
This is to prevent a VM abort from happening here if orresult is false.
06-Jan-2019 (Sunday) at 10:27:14 PST by Major Cooke
Fixed Thing_ProjectileAimed being broken.
- It was calling the fallback aiming in the wrong place when it should have been outside the speed check.
- Credit to mental for the base code, but no gotos involved.
06-Jan-2019 (Sunday) at 13:57:36 PST by Chronos Ouroboros
Fixed some issues in the ZScript array compilation code.
06-Jan-2019 (Sunday) at 16:04:09 PST by Cacodemon345
Move receiver NULL check above the orresult check (#695)
This is to prevent a VM abort from happening here if orresult is false.
06-Jan-2019 (Sunday) at 10:27:14 PST by Major Cooke
Fixed Thing_ProjectileAimed being broken.
- It was calling the fallback aiming in the wrong place when it should have been outside the speed check.
- Credit to mental for the base code, but no gotos involved.
06-Jan-2019 (Sunday) at 15:51:18 PST by Christoph Oelckers
- removed level references from p_mobj.cpp.
This time there was one important exported script function: Actor.Spawn. Since this will require a level pointer in the new scheme of things the old version had to be deprecated, because it is static with no argument that allows retrieving the level. However, since this is probably one of the most widely used functions I added a workaround to let it continue to work if used from inside an actor class, which should constitute >95% of all uses. This required a little bit of hackery in the compiler backend to swap out the function if appropriate. Aside from that there were 5 places in the internal ZScript that needed handling, which mostly consisted of making a formerly static internal function non-static.
06-Jan-2019 (Sunday) at 13:10:19 PST by Christoph Oelckers
- converted a few more in various files.
06-Jan-2019 (Sunday) at 11:23:03 PST by Christoph Oelckers
- po_man.cpp and p_lnspec.cpp done.
06-Jan-2019 (Sunday) at 08:06:40 PST by Christoph Oelckers
- portal.cpp is almost free of access to the global level variable.
06-Jan-2019 (Sunday) at 05:38:51 PST by Christoph Oelckers
- capitalization of 'level' in all places where no changes will be needed.
Mainly done so that searching for 'level.' returns less noise.
06-Jan-2019 (Sunday) at 05:29:31 PST by Christoph Oelckers
- do not use the global level variable in the status bar.
This now gets passed the level each time it is drawn.
06-Jan-2019 (Sunday) at 04:47:24 PST by Christoph Oelckers
- pass level to FSSectorTagIterator as a parameter.
06-Jan-2019 (Sunday) at 04:35:31 PST by Christoph Oelckers
- check the shader timer only once per frame, not once per draw call.
06-Jan-2019 (Sunday) at 04:17:45 PST by Christoph Oelckers
- all level references in the hardware renderer have been removed.
The camera to render from will now determine the level being rendered.
06-Jan-2019 (Sunday) at 03:41:02 PST by Christoph Oelckers
- major cleanup of p_scroll.cpp to eliminate the use of indices to access sidedefs and sectors.
06-Jan-2019 (Sunday) at 03:39:52 PST by Christoph Oelckers
- removed all level references in p_spec.cpp.
06-Jan-2019 (Sunday) at 01:24:27 PST by Christoph Oelckers
- fixed serialization of ACS thinker.
06-Jan-2019 (Sunday) at 00:39:35 PST by Christoph Oelckers
- replaced some NULLs with nullptr.
06-Jan-2019 (Sunday) at 00:37:11 PST by Christoph Oelckers
- pass level num to string locking functions as a parameter.
06-Jan-2019 (Sunday) at 00:03:58 PST by Christoph Oelckers
- let level stats screen operate only on the data it got provided instead of getting the current level from global variables.
06-Jan-2019 (Sunday) at 00:00:52 PST by Christoph Oelckers
- changed light mode handling of the hardware renderer so that it only operates on local copies but doesn't alter the level's setting.
There are several places where a temporary change of light mode is needed, all these made this change in the global level struct. Now the change is only local to the active draw info.
05-Jan-2019 (Saturday) at 23:24:04 PST by Christoph Oelckers
- pass 'level' as a parameter to AABBTree. Also renamed a few things to make the code easier to read.
04-Jan-2019 (Friday) at 14:54:03 PST by Chronos Ouroboros
Implemented compound initializers for arrays.
05-Jan-2019 (Saturday) at 15:46:09 PST by Christoph Oelckers
- actually use the newly added indices.
05-Jan-2019 (Saturday) at 15:41:46 PST by Christoph Oelckers
- store the index of each map item in the struct itself and return that for the Index function.
If we ever want to refactor the global level data these must not reference the 'level' variable. The main parts of the map loader cannot use this information, because it can only be created after running the node builder, so it got its own set of index functions instead.