Commit graph

20102 commits

Author SHA1 Message Date
Alug
dffb5d6e85 Merge remote-tracking branch 'origin/ACS2' into ACS2 2024-11-14 23:55:45 +01:00
Alug
53c8d97dfe fix spritesclales not being initiliased if they didnt got set uh 2024-11-14 23:55:34 +01:00
Alug
8ed1631a74 fix spritesclales not being initiliased if they didnt change uh 2024-11-14 23:54:14 +01:00
Sally Coolatta
357b2cd571 Opening_t typedef 2024-10-29 12:15:20 -04:00
NepDisk
4db4864151 I'm a blind fuck lel 2024-10-28 21:06:00 -04:00
NepDisk
b66f384d1c Fix Jawz behaviour 2024-10-27 14:03:09 -04:00
NepDisk
e3f6cf4092 Add new items to menu 2024-10-26 12:59:56 -04:00
NepDisk
1766932ea9 Improve mapthing mobjlib code and expose I_GetPreciseTime 2024-10-26 02:01:58 -04:00
NepDisk
5fced3f706 Use a modified ACSVM to support 10 arg linedefs
62dd76dbcd
2024-10-23 13:12:10 -04:00
NepDisk
62f50486fe Merge branch 'v2dev3' into ACS2 2024-10-23 13:02:58 -04:00
Alug
7091bd6691 Fix HWR_SplitWall and sloped midtextures
based on https://git.do.srb2.org/STJr/SRB2/-/merge_requests/1781/
but modified from saturn to not make performance worse
2024-10-23 18:57:43 +02:00
Alug
c58a08baba replace those with macros + remove unused pointtoangleex
reduces function call overhead, those are called quite often for alot of things
and R_PointToAngleEx is basically useless due to R_PointToAngle64
2024-10-23 17:20:41 +02:00
Alug
ce82aa1f19 fix a -Wmaybe-uninitialized warning
deez nuts are being used unitialised
this will only ever be used with TC_RAINBOW so why not move it into the condition for it?
2024-10-23 14:59:52 +02:00
Alug
507f05e7bb add missing "do" 2024-10-23 14:37:36 +02:00
Alug
5db012f7a1 jeez calm down -Wpedantic 2024-10-23 14:15:24 +02:00
Alug
3058a6b715 fix up makefiles + support newer gcc versions 2024-10-23 13:58:48 +02:00
Alug
5a0740803c use glibc strlcpy and strlcat with glibc2.38 and above
also silences warnings related to this
2024-10-23 13:46:41 +02:00
Alug
9a15f21236 fix a few more compiler warnings 2024-10-23 13:44:30 +02:00
NepDisk
049c182288 Massive warning clean up 2024-10-23 00:01:03 -04:00
NepDisk
f51669626a Remove this from features 2024-10-22 19:48:34 -04:00
NepDisk
f381a1ce47 use saturn behaviour for lib_sStopSoundByID 2024-10-22 19:11:52 -04:00
NepDisk
c526cc5da2 use saturn behaviour for lib_sStopSoundByID 2024-10-22 17:50:15 -04:00
NepDisk
ec7e1e7f2c Go back to using Sourcefiles since make works again. 2024-10-22 16:56:19 -04:00
NepDisk
fca25088c7 fix graphic rendering issue with makefiles
Thanks Luggy!
2024-10-22 13:17:43 -04:00
NepDisk
a917a2a713 Basic work to get make compiling again
Fonts are beyond fucked so this will have to be figured out in a new commit
2024-10-22 12:43:03 -04:00
NepDisk
b44e97cc21 prevent map command crash from maps with invalid or non existing mapinfo
dba7a7dc3c
2024-10-22 02:45:21 -04:00
NepDisk
57b92b9491 prevent map command crash from maps with invalid or non existing mapinfo
dba7a7dc3c
2024-10-22 02:44:53 -04:00
NepDisk
66913e6461 Reimplement default Kart v1 medals 2024-10-22 02:08:43 -04:00
NepDisk
7a0906d919 Reimplement default Kart v1 medals 2024-10-22 02:08:07 -04:00
Sally Coolatta
b538a68dc4 Thing_StartTracking: Make it do something
Instead of using a linedef executor tag as an argument, apply an action special to the angle manager object that you had to place anyways.

There is no UDMF version check because the old behavior was practically unusable.
2024-10-22 01:09:30 -04:00
Sally Coolatta
eb4a7b3d14 Implement SetLineBlocking
This could be done with Get/SetLineProperty just fine, but added just for completion's sake -- the Hexen instruction set is now fully implemented, minus SoundSequence which is for a feature we straight up don't have.
2024-10-22 01:08:19 -04:00
James R
f296e55e50 d_netfil: use CURLOPT_PROTOCOLS_STR if libcurl >= 7.85.0 (2022-08-31) 2024-10-22 01:05:54 -04:00
NepDisk
8b87544579 fix floorboost being pushed as a boolean 2024-10-22 00:18:05 -04:00
NepDisk
8c5aaa9f0d fix floorboost being pushed as a boolean 2024-10-22 00:17:42 -04:00
NepDisk
01f2839253 Push cmd.angle to lua 2024-10-22 00:11:29 -04:00
NepDisk
dc5ec51981 Push cmd.angle to lua 2024-10-22 00:10:33 -04:00
NepDisk
6a6b804339 Fix mapid music lumps 2024-10-21 23:57:28 -04:00
NepDisk
784099c85a Fix encore music replacing start music 2024-10-21 23:57:28 -04:00
NepDisk
46efa73d5f Fix mapid music lumps 2024-10-21 23:55:41 -04:00
NepDisk
4cd76db297 Fix encore music replacing start music 2024-10-21 23:14:22 -04:00
toaster
4396f4b59d k_color: Fix support for more than 255 skincolors
Resolves KartKrew/RingRacers#109
2024-10-21 19:18:15 -04:00
toaster
8fc9f62698 k_color: Fix support for more than 255 skincolors
Resolves KartKrew/RingRacers#109
2024-10-21 19:17:47 -04:00
NepDisk
cf9f6fc570 Merge branch 'v2dev3' into ACS2 2024-10-21 17:30:55 -04:00
NepDisk
93576d24ea Merge branch '21pal' into v2dev3 2024-10-21 17:27:27 -04:00
NepDisk
3c4e47d6a9 Support kart binary setup for zoomtubes 2024-10-21 17:22:06 -04:00
NepDisk
509fda70d5 Revert P_InitThinkers: Centralise/tidy global mobj pointer handling
This reverts commit 19da924b5e.
2024-10-21 15:54:21 -04:00
NepDisk
9071539154 fix crumble fofs from breaking other crumble fofs and lowest lap changes 2024-10-21 13:21:43 -04:00
NepDisk
c48f432c11 Merge branch 'v2dev3' into ACS2-ReadonlyMapthing 2024-10-19 17:07:44 -04:00
James R
7a9b252aae p_mobj.c: reference count kitemcap and overlaycap
With the old code, if the object at the head of the list
was removed, it would leave the reference behind,
extending the lifetime of the thinker until P_RunKartItems
or P_RunOverlays was run.
2024-10-19 17:04:48 -04:00
James R
625ce5e631 Fix negative reference counting in P_RestoreTMStruct
This fixes some thinkers never being removed due to having
negative reference counts.

And here's a breakdown of why the old code could produce
negative reference counts:

Consider P_CheckPosition. This function calls P_SetTarget
on tm.thing but does not call P_RestoreTMStruct. This
means that tm.thing will not be NULL the next P_SetTarget
is called on it. What are the implications of this?
Consider the following series of events:

- P_CheckPosition is called, tm.thing != NULL afterward
- Another function saves the tm struct and sets tm.thing to a different mobj
- - the old tm.thing will have its references decremented
- - the new tm.thing will have its references incremented
- This function calls P_RestoreTMStruct

What should happen when P_RestoreTMStruct is called? The
*new* tm.thing should have its references *decremented*
and the *old* tm.thing should its references
*incremented*, of course, for symmetry with P_SetTarget.

The old code correctly decremented new tm.thing's
references but did not increment old tm.thing's
references.
2024-10-19 17:04:31 -04:00