Commit graph

9888 commits

Author SHA1 Message Date
Nev3r
720da2ab35 Polyobject spawning now use the taglist. 2020-04-17 10:30:38 +02:00
Nev3r
6ab06fc89c Skybox spawning now uses the taglists. 2020-04-17 10:05:50 +02:00
Nev3r
e0edd25fd6 Thing-based slope vertexes use taglists now. 2020-04-17 10:04:11 +02:00
Nev3r
9c93761bf2 Add auxiliary functions to the taglist library. 2020-04-17 09:57:45 +02:00
Nev3r
d05151af5d Clean up type inconsistency on tags. 2020-04-16 18:48:57 +02:00
Nev3r
9457144dd7 Fix fuckup in the -1 tag bailout on the global tag lists. 2020-04-16 15:10:48 +02:00
Nev3r
0d11b8f0a2 Do not add -1 to the global taglists. 2020-04-15 10:17:14 +02:00
Nev3r
c3c85cb601 Remove P_FindSpecialLineFromTag() 2020-04-15 10:16:49 +02:00
Nev3r
92caa9de9d Get rid of the last case of P_FindSpecialLineFromTag() in the main code. 2020-04-15 10:05:59 +02:00
Nev3r
326302728f reworked Tag_FindLineSpecial() 2020-04-15 09:41:21 +02:00
Nev3r
268c6f0171 Fix the args in Tag_FindLineSpecial() being swapped. 2020-04-15 09:32:19 +02:00
Nev3r
23ed07e08e Replace most P_FindSpecialLineFromTag() cases with Tag_FindLineSpecial(), which settle with the first found result. 2020-04-14 23:59:22 +02:00
Nev3r
f230438625 Replaces P_FindSectorFromTag() occurrences with its corresponding macro and vanishes it from existence. 2020-04-14 23:33:56 +02:00
Nev3r
71f947c699 Remove P_FindSectorFromLineTag() 2020-04-14 22:22:48 +02:00
Nev3r
cccf5d8151 Merge branch 'udmf-next' into udmf-multitag 2020-04-14 22:21:32 +02:00
Nev3r
750cafbcbc Merge branch 'next' of https://git.magicalgirl.moe/STJr/SRB2/ into udmf-next 2020-04-14 22:20:54 +02:00
Nev3r
c0823cb7a9 Replace P_FindSectorFromLineTag() with its corresponding macro for most cases. 2020-04-14 22:19:18 +02:00
Nev3r
632553dde4 Make use of functions for the tag lists iterations instead of bloated macros. 2020-04-14 21:46:02 +02:00
Nev3r
dd50ba2244 Added hilarious -1 tag support for the iteration macros. 2020-04-14 18:53:05 +02:00
Nev3r
1ea15aa643 Merge branch 't_moveplane-refactor' into 'next'
Remove faulty code from T_MovePlane()

See merge request STJr/SRB2!876
2020-04-14 05:53:59 -04:00
Nev3r
b7bedae60f Merge branch 'remove-bridge' into 'next'
Remove the disabled/broken bridge thinker code

See merge request STJr/SRB2!879
2020-04-14 05:51:45 -04:00
Nev3r
8c3485d82e Remove the bridge thinker entry from the ZB configuration. 2020-04-14 10:31:26 +02:00
Nev3r
d05ad892be Remove the bridge thinker code. 2020-04-14 10:31:07 +02:00
Nev3r
ab3eae4855 Fixed a typo worthy of divine punishment. 2020-04-13 19:45:41 +02:00
Nev3r
608f4b6e54 Remove now unused P_MobjReadyToMove(). 2020-04-13 16:00:58 +02:00
Nev3r
44426fd453 Actually remove the entire code block in T_MovePlane(), and remove line_t.tagline as it served no other purpose. 2020-04-13 15:17:53 +02:00
Nev3r
8bbbd437c5 Refactor an unholy piece of code. 2020-04-13 14:31:19 +02:00
Nev3r
92465e1123 Replace P_FindSectorFromLineTag() in p_floor.c 2020-04-13 13:27:45 +02:00
Nev3r
e9626d7e8d Replace P_FindLineFromLineTag() instances with macros and remove its code. 2020-04-13 13:10:38 +02:00
Nev3r
b8a58896ae Make the macros and their usage relatively cleaner. 2020-04-13 13:09:58 +02:00
Nev3r
7a4b4caa0c Added disabled test code in P_FindSectorFromTag(). 2020-04-13 13:09:04 +02:00
Nev3r
b6f3ea0a64 Add multitag support to FOF spawners. 2020-04-12 18:52:47 +02:00
Nev3r
0bb240e084 Rename the macros, reshape them slightly to avoid mixed declarations, and add a finalizer. 2020-04-12 18:42:42 +02:00
Nev3r
befdd2b1b4 Introduce tagged element iteration macros. 2020-04-12 17:50:48 +02:00
Nev3r
2cff0ecff6 Add lookup tag tables construction. 2020-04-12 15:16:04 +02:00
Nev3r
71d172a2af Fix Tags_Compare() typo to Tag_Compare(). 2020-04-12 15:03:14 +02:00
Nev3r
0ac224a325 Use Tags_Compare wrapper in the OpenGL renderer, as well. 2020-04-12 13:16:33 +02:00
Nev3r
d59016a18e Use Tags_Compare wrapper on software renderer to compare sector tags. 2020-04-12 13:14:39 +02:00
Nev3r
9ce0275a71 add Tag_Compare() 2020-04-12 13:05:21 +02:00
Nev3r
60eb77838c Wrap P_FindSectorFromLineTag() is now a wrapper for P_FindSectorFromTag(). 2020-04-12 13:04:15 +02:00
Nev3r
e00c8fcdbe Added static multitag read and storage on mapload. 2020-04-12 11:56:36 +02:00
Nev3r
860c44d953 Merge branch 'next' of https://git.magicalgirl.moe/STJr/SRB2/ into udmf-next
# Conflicts:
#	src/lua_hooklib.c
2020-04-12 09:57:19 +02:00
James R
8de2bab4a9 Merge branch 'pk3-xtra-comm-fix' into 'next'
PK3: Proper ignorance for file comments/extra data

See merge request STJr/SRB2!761
2020-04-09 21:25:11 -04:00
James R
81a01041e8 Merge remote-tracking branch 'origin/master' into next 2020-04-09 17:04:04 -07:00
James R
aff934a5b5 Merge branch 'hide-useless-1p-menu-options' into 'master'
Hide record & NiGHTS attack options if there are no available maps for them.

See merge request STJr/SRB2!868
2020-04-09 19:57:27 -04:00
James R
1bbb4d1f95 Merge branch 'ra-emblemhints' into 'master'
Allow emblem hints (and radar) in record attack.

See merge request STJr/SRB2!820
2020-04-09 19:56:17 -04:00
James R
b6b617cab7 Merge branch 'fix-256-brightness' into 'master'
Florida man fixes sectors with light level 256 blacking out OpenGL objects; mappers riot.

See merge request STJr/SRB2!840
2020-04-09 19:53:40 -04:00
James R
61a4fe06d5 Merge branch 'bot-respawn-hook' into 'next'
BotRespawn hook

See merge request STJr/SRB2!804
2020-04-09 19:52:25 -04:00
James R
17082fafbd Merge branch 'gtr-replace' into 'next'
Separate PvP damage from ringslinger

See merge request STJr/SRB2!831
2020-04-09 19:51:52 -04:00
James R
0b91ef071f Merge branch 'sdlglcontext' into 'master'
Only initialise OpenGL if the user intends to load it (for real this time)

See merge request STJr/SRB2!796
2020-04-09 19:51:20 -04:00