Commit graph

9905 commits

Author SHA1 Message Date
Nev3r d775a42e93 Rewrote a bit of the boss 4 code, which still requires working dynamic global tag lists. 2020-04-17 23:43:26 +02:00
Nev3r 38c665fa79 Remove old taglist access from Lua. 2020-04-17 23:31:08 +02:00
Nev3r 7c11091c40 Remove old tag list netgame packing/unpacking. 2020-04-17 23:30:47 +02:00
Nev3r 9eb17e4104 Remove P_ChangeSectorTag(). 2020-04-17 23:30:07 +02:00
Nev3r e2a98a1591 Double fuck. 2020-04-17 23:05:41 +02:00
Nev3r 0c2fb80ec9 Fuck. 2020-04-17 22:41:04 +02:00
Nev3r 6c12e6701d Make the Lua interface return/set the first tags from the local taglists. 2020-04-17 22:30:16 +02:00
Nev3r ae07b7c96c Netsynch the sector local taglists. 2020-04-17 22:29:26 +02:00
Nev3r 7904856e8e Remove presumably the remaining old tag references in the gamelogic. 2020-04-17 22:28:41 +02:00
Nev3r b5eaad42fc Carry over a considerable case regarding accessing the old tag vars. 2020-04-17 18:15:25 +02:00
Nev3r e3dfdb448e Add currently unused auxiliary function. 2020-04-17 18:14:15 +02:00
Nev3r b690d35a99 Move the global taglist init functionality to the taglist files. 2020-04-17 12:52:44 +02:00
Nev3r 209b8e7678 Map loading should consider tag 0 as a valid tag and add its respective entries just like the rest of tags. 2020-04-17 11:21:40 +02:00
Nev3r dd46b1ab44 P_ConvertBinaryMap() line conversion now uses the first tag from taglists. 2020-04-17 11:16:01 +02:00
Nev3r a5bc3fb507 P_SpawnSpecials() line special spawn sequence now uses the taglist, until we move on to using args[0]. 2020-04-17 10:52:12 +02:00
Nev3r 61c3e12d63 Make a commented out debug code account for taglists. 2020-04-17 10:41:26 +02:00
Nev3r e59480e4cf Portal lines now use the taglist's first element. 2020-04-17 10:34:24 +02:00
Nev3r b9decb2837 Polyobject spawning now use the taglist. 2020-04-17 10:30:38 +02:00
Nev3r 4fc07473fd Skybox spawning now uses the taglists. 2020-04-17 10:05:50 +02:00
Nev3r 81be6b4067 Thing-based slope vertexes use taglists now. 2020-04-17 10:04:11 +02:00
Nev3r 944716c45a Add auxiliary functions to the taglist library. 2020-04-17 09:57:45 +02:00
Nev3r c0b4090924 Clean up type inconsistency on tags. 2020-04-16 18:48:57 +02:00
Nev3r 1d572c5b2c Fix fuckup in the -1 tag bailout on the global tag lists. 2020-04-16 15:10:48 +02:00
Nev3r 786e448f16 Do not add -1 to the global taglists. 2020-04-15 10:17:14 +02:00
Nev3r 95c7690a40 Remove P_FindSpecialLineFromTag() 2020-04-15 10:16:49 +02:00
Nev3r 7d3d71c418 Get rid of the last case of P_FindSpecialLineFromTag() in the main code. 2020-04-15 10:05:59 +02:00
Nev3r f9b1acb813 reworked Tag_FindLineSpecial() 2020-04-15 09:41:21 +02:00
Nev3r 2d9b0e4906 Fix the args in Tag_FindLineSpecial() being swapped. 2020-04-15 09:32:19 +02:00
Nev3r 439fde3434 Replace most P_FindSpecialLineFromTag() cases with Tag_FindLineSpecial(), which settle with the first found result. 2020-04-14 23:59:22 +02:00
Nev3r d518703334 Replaces P_FindSectorFromTag() occurrences with its corresponding macro and vanishes it from existence. 2020-04-14 23:33:56 +02:00
Nev3r 25102ab4af Remove P_FindSectorFromLineTag() 2020-04-14 22:22:48 +02:00
Nev3r 35f539e398 Merge branch 'udmf-next' into udmf-multitag 2020-04-14 22:21:32 +02:00
Nev3r d40713d08b Merge branch 'next' of https://git.magicalgirl.moe/STJr/SRB2/ into udmf-next 2020-04-14 22:20:54 +02:00
Nev3r 24baf5bea0 Replace P_FindSectorFromLineTag() with its corresponding macro for most cases. 2020-04-14 22:19:18 +02:00
Nev3r 5df60f8e15 Make use of functions for the tag lists iterations instead of bloated macros. 2020-04-14 21:46:02 +02:00
Nev3r 8495b59890 Added hilarious -1 tag support for the iteration macros. 2020-04-14 18:53:05 +02:00
Nev3r 464ecc01a4 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 caea71b68b 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 98481dc10b Remove the bridge thinker entry from the ZB configuration. 2020-04-14 10:31:26 +02:00
Nev3r 778ef86fee Remove the bridge thinker code. 2020-04-14 10:31:07 +02:00
Nev3r e820b9e369 Fixed a typo worthy of divine punishment. 2020-04-13 19:45:41 +02:00
Nev3r 01c0797ba6 Remove now unused P_MobjReadyToMove(). 2020-04-13 16:00:58 +02:00
Nev3r 74bd23c275 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 711c35970c Refactor an unholy piece of code. 2020-04-13 14:31:19 +02:00
Nev3r dbf0f14dc4 Replace P_FindSectorFromLineTag() in p_floor.c 2020-04-13 13:27:45 +02:00
Nev3r 909268d175 Replace P_FindLineFromLineTag() instances with macros and remove its code. 2020-04-13 13:10:38 +02:00
Nev3r de07c04f5c Make the macros and their usage relatively cleaner. 2020-04-13 13:09:58 +02:00
Nev3r 0d1f898869 Added disabled test code in P_FindSectorFromTag(). 2020-04-13 13:09:04 +02:00
Nev3r 499c884501 Add multitag support to FOF spawners. 2020-04-12 18:52:47 +02:00
Nev3r cb2571b12c Rename the macros, reshape them slightly to avoid mixed declarations, and add a finalizer. 2020-04-12 18:42:42 +02:00