Commit graph

22,856 commits

Author SHA1 Message Date
nashmuhandes
e02b3565d0 Bump VKDoom's ZScript version 2024-11-05 21:52:10 +08:00
nashmuhandes
5464090800 Merge branch 'post-4.13' of https://github.com/madame-rachelle/gzdoom into gzd-master-experimental 2024-11-05 21:51:43 +08:00
Rachael Alexanderson
51fddf08c3
Merge remote-tracking branch 'origin/master' into post-4.13
# Conflicts:
#	src/playsim/p_3dfloors.cpp
#	src/playsim/p_mobj.cpp
#	src/playsim/p_spec.cpp
#	src/playsim/p_spec.h
#	src/version.h
2024-11-05 08:37:29 -05:00
Boondorl
d85d04f421 Fixed crash on functions with missing return values 2024-11-05 01:02:19 -05:00
nashmuhandes
8402f3f7fa Update Discord AppID 2024-11-05 05:31:34 +08:00
Major Cooke
3d4dccd650 And the variable. 2024-11-04 16:23:34 -03:00
Major Cooke
ceb2de36d3 Change function from private to protected by request. 2024-11-04 16:23:34 -03:00
Major Cooke
1620d405c6 Added OrthographicCamera actor. Arguments are:
- 0: Offset. This pushes the camera further away, going behind the camera. Default is 1.0 (converted to negative - the value cannot go lower than that).
2024-11-04 16:23:34 -03:00
Boondorl
0fe2d72b75 Fixed startpos not saving
Will now load properly from a save game preventing respawning at the wrong player starts.
2024-11-04 00:50:50 -05:00
Dileep V. Reddy
85cefd8516 Limiting r_radarclipper effect to Out-of-Bounds viewpoints only. Opens the possibility of leaving it true by default in the future. 2024-11-03 20:38:12 -05:00
Boondorl
714eb8910c Reworked player loading
Resolves a host of issues related to playing loading, both in singleplayer and multiplayer. Name-based player data selection now works meaning join order no longer has to be preserved.
2024-11-03 19:50:16 -05:00
Boondorl
57202305d6 Added toggle for lm_dynamic 2024-11-02 09:20:23 +01:00
Christoph Oelckers
a899571d8c got rid of strlwr.
The 3 remaining uses were completely redundant.
2024-11-02 09:07:07 +01:00
nashmuhandes
2c45d9aa99 Merge remote-tracking branch 'remotes/ZDoom/gzdoom/4.13' 2024-11-01 21:17:09 +08:00
Christoph Oelckers
6fc256709c fixed the particle replacement code.
OldestParticle was not properly tracked which could result in circular lists.
To make maintenance easier, the replacement code and the free particle part were merged into one to only have one place where the linked list is modified.
2024-11-01 08:46:02 +01:00
Boondorl
de8d839885 Moved Actor TID selector out of header 2024-10-31 14:52:34 -03:00
Boondorl
f5ceaafbbc Added net id functions for ACS
Includes net id getter and activator setter functionality. Essentially acts as a pseudo pointer system for Actors within ACS.
2024-10-31 14:52:34 -03:00
Major Cooke
0c29e3a778
Fixed STRETCHPIXELS flag not being exposed.
Some checks failed
Continuous Integration / Linux Clang 12 | AppImage (push) Has been cancelled
Continuous Integration / macOS | Debug (push) Has been cancelled
Continuous Integration / Linux Clang 11 | Debug (push) Has been cancelled
Continuous Integration / Visual Studio 2022 | Debug (push) Has been cancelled
Continuous Integration / Linux GCC 12 | MinSizeRel (push) Has been cancelled
Continuous Integration / Linux GCC 9 | RelWithDebInfo (push) Has been cancelled
Continuous Integration / macOS | Release (push) Has been cancelled
Continuous Integration / Linux Clang 15 | Release (push) Has been cancelled
Continuous Integration / Visual Studio 2019 | Release (push) Has been cancelled
Continuous Integration / Visual Studio 2022 | Release (push) Has been cancelled
g4.13.2
2024-10-31 07:57:41 -04:00
Major Cooke
9ca5bef4ea Fixed STRETCHPIXELS flag not being exposed. 2024-10-30 18:54:23 -03:00
Magnus Norddahl
f5a0e01b2c Support STARTUPSONG for the generic startupscreen 2024-10-30 00:37:08 +01:00
Magnus Norddahl
7bbd69e7e3 Improve start screen logo rendering by rendering it directly to screen instead of using StartupTexture 2024-10-30 00:00:46 +01:00
Ricardo Luís Vaz Silva
b84d28e9a7
Allow using Self as the class name in the default block to refer to the current class 2024-10-28 12:07:49 -04:00
Dileep V. Reddy
dc6f116315
Reduce number of multiply ops per frame and increase x-axis clipper range for orthographic projection. 2024-10-28 12:07:44 -04:00
Rachael Alexanderson
3c36102eed
- cap the size of the string copy calls in LevelStatEntry() 2024-10-28 12:07:29 -04:00
Christoph Oelckers
2cbb980388
Check array size for overflow.
Since ZScript is a 32 bit VM, the largest safe value for an array's physical size is 2GB. Any larger value will be destroyed by the compiler which relies on signed 32 bit values too much.
2024-10-28 12:07:15 -04:00
Christoph Oelckers
adeb48d598
Do a check if a local variable exceeds the available stack space.
Windows stack is 1 MB so play it safe and allow 512 kb as max. stack space for a single function.
2024-10-28 12:07:10 -04:00
Ricardo Luís Vaz Silva
7b95977e2a Allow using Self as the class name in the default block to refer to the current class 2024-10-26 22:59:33 -03:00
Dileep V. Reddy
2ba57b5068 Reduce number of multiply ops per frame and increase x-axis clipper range for orthographic projection. 2024-10-26 18:36:45 -04:00
Kaelan
8b73332366 Proper static function use 2024-10-26 00:21:16 -03:00
Kaelan
d9fa7c3894 Re-move bounds checks out of core engine per request 2024-10-26 00:21:16 -03:00
Kaelan
4b3273b229 Add bounds check 2024-10-26 00:21:16 -03:00
Kaelan
275635adc5 add set/get plane reflectivity 2024-10-26 00:21:16 -03:00
Rachael Alexanderson
fe28defeca
- cap the size of the string copy calls in LevelStatEntry() 2024-10-25 19:15:26 -04:00
Christoph Oelckers
a14bba3561 Check array size for overflow.
Since ZScript is a 32 bit VM, the largest safe value for an array's physical size is 2GB. Any larger value will be destroyed by the compiler which relies on signed 32 bit values too much.
2024-10-25 08:47:19 +02:00
Christoph Oelckers
ee6991e6d8 Do a check if a local variable exceeds the available stack space.
Windows stack is 1 MB so play it safe and allow 512 kb as max. stack space for a single function.
2024-10-25 07:55:17 +02:00
nashmuhandes
a37c47cf92 Change SetSunDirection to take in angle and pitch 2024-10-24 12:59:12 +08:00
nashmuhandes
42a02eb2db Fix default lightmap sample distance (16 is too blurry; plus 8 matches what it is in UDB) 2024-10-24 11:20:03 +08:00
nashmuhandes
521d44d623 Fix compile error 2024-10-24 11:15:59 +08:00
Nash Muhandes
e86b092b35
Merge pull request #71 from MrRaveYard/pr_lightmap_modding_vkdoom
MapInfo/ZScript Lightmap Control
2024-10-24 11:13:00 +08:00
Nash Muhandes
7092550d3e
Merge branch 'master' into pr_lightmap_modding_vkdoom 2024-10-24 11:06:26 +08:00
Ricardo Luís Vaz Silva
59dab44380 Clarify default value for useowncolors 2024-10-23 22:59:51 -03:00
Rachael Alexanderson
8e16822ef9
- error out if destroying a canvas object 2024-10-22 20:51:56 -04:00
Rachael Alexanderson
a0b0db6f64
- change order for Kex edition wads to appear last since they were most recent 2024-10-22 00:51:05 -04:00
Major Cooke
6ed8aa6d69 Removed debug line 2024-10-22 00:45:48 -04:00
dpjudas
4fee895c2b Remove unused struct 2024-10-22 02:30:18 +02:00
dpjudas
dfbef085e6 Group lightmap variables and put polyobj walls in a dynamic lightmap atlas 2024-10-22 02:29:12 +02:00
Magnus Norddahl
c866937262 Fix upload bug and skip upload when RT cores are available 2024-10-21 20:50:25 +02:00
Ricardo Luís Vaz Silva
d0e6bce4e6 add CVar to control footstep volume 2024-10-21 14:53:53 -03:00
Ricardo Luís Vaz Silva
d07d08ce9f Add velocity/distance based footsteps 2024-10-21 14:53:53 -03:00
Ricardo Luís Vaz Silva
7b59642844 make sure WalkStepTics and RunStepTics read ints, not floats 2024-10-21 14:53:53 -03:00