Commit graph

724 commits

Author SHA1 Message Date
James R
b049abe0a7 ArchiveSectors: send diff5 2025-04-01 01:23:35 +02:00
NepDisk
ca9ef29e2a Netsync slipdash active 2025-03-31 18:50:58 -04:00
GenericHeroGuy
68e0a62966 The slipdash 2025-03-31 01:55:33 +02:00
NepDisk
945704849f stacking part 6: Implement customization cvars 2025-03-26 13:35:26 -04:00
NepDisk
f0b6ef89eb stacking pt.3: start work on chaining 2025-03-25 18:03:39 -04:00
NepDisk
7091195a95 stacking pt.2: finish stacking 2025-03-25 15:07:20 -04:00
NepDisk
23f4f41ff3 Merge branch 'blankart-dev' into stackingmaybe 2025-03-25 10:49:54 -04:00
James R
af09ba91ec Completely rewrite party management code
Replaces g_splitscreen.c with g_party.cpp. Simplifies
party management functions.

Moves externs out of already bloated doomstat.h and
g_game.h into g_party.h.

Cuts down on globals spam.
2025-03-24 09:43:34 -04:00
NepDisk
f40771dd97 bot and respawn improvements
Bot respawn incrementer is based on RR's general antigrief incrementer with edits and additions
2025-03-23 14:14:46 -04:00
NepDisk
42ddaa5b1f Move itemblink and itemblinkmode to player_t to restore hyudoro behaviour 2025-03-21 13:36:10 -04:00
NepDisk
7069c920df Stacking pt 1 2025-03-21 12:12:23 -04:00
NepDisk
76ec93f957 Allow Mobjs to waterrun
Waterrunning has been moved over to flag2 MF2_WATERRUN
Applying the flag allows to stand/move on water.
2025-03-17 14:16:44 -04:00
NepDisk
7ce17d2c6e Various random changes
Menus, rotation and more!
2025-03-13 01:07:13 -04:00
NepDisk
52b532f265 Make sloperoll+pitch toggleable and make cameratilt not rely on sloperoll toggle
The toggle is handled in renderer for both gl and software!
2025-03-11 22:48:02 -04:00
NepDisk
bda7d26a0f Port basic lap anticheat for new waypoints from RR 2025-03-09 20:03:10 -04:00
NepDisk
ef11c55b41 Merge and Update Flameshield overhaul concept 2025-02-28 00:54:24 -05:00
NepDisk
0fb89d2568 Underwater: player must be submerged for 15 seconds to play a gasp when they resurface 2025-02-27 13:04:00 -05:00
NepDisk
064be1b201 Merge branch 'bortsport' into blankart-dev 2025-02-26 19:43:22 -05:00
NepDisk
d58d3877a7 Ring improvements 2025-02-26 00:15:59 -05:00
NepDisk
475524e7ad Add shield sounds and rework bubbleshield
BS now only has two defend / attack uses, trap gives less height and you can dropdash from the trap
2025-02-25 11:40:25 -05:00
NepDisk
0d4c4a74f6 Merge branch 'blankart-dev' into bortsport 2025-02-22 22:21:09 -05:00
NepDisk
e562d838b5 bumpspark, bumpspring and small code refactoring and cleanup 2025-02-22 21:53:09 -05:00
NepDisk
553676e588 Basic port of durrs bot code
It doesn't work as of yet.
2025-02-21 22:44:07 -05:00
NepDisk
ccaf4f8e63 Add More Tracy Zones 2025-02-21 13:58:41 -05:00
NepDisk
dcb3570475 Merge pull request 'Add support for longmapnames' (#22) from longmapnames into ACS2
Reviewed-on: https://codeberg.org/NepDisk/blankart/pulls/22
2025-02-17 22:38:05 +00:00
NepDisk
c71f2f931f p_saveg.c: consolidate P_RelinkPointers copy-pasted code
43d090f699
2025-02-12 01:24:42 -05:00
toaster
21cea6853a Remove heinous pointer-sent-over-the-network hack remnants
This used to be used for `P_RelinkPointers()`, but was superseded by the far saner mobjnum. HOWEVER, its lingering effect was to leave `mobj->info` in an invalid state until a later `P_FinishMobjs()` was called. This is memory unsafety :D

After removing the last remnants of this ancient hack, it is now once again possible to connect to a server without crashing immediately. However, I did get a crash after a few seconds, so there is definitely still *something* nasty going on under the hood.
2025-02-12 01:18:59 -05:00
toaster
1475feb734 Refactoring ahoy
* Instead of doing constant G_MapNumbers when finding the relationship between maps and cups...
    * Add a cache of level IDs to cups, to go with the strings.
    * Add a cache of the cup pointer to maps, so we don't have to search through all cups to find our map. (done in P_InitMapData)
    * Pre-emptive work: G_IsSpecialStage and P_GetNextEmerald now reference cup data instead of a hardcoded ID set.
* Remove a bunch of old stuff from mapheaderinfo_t/associated, and reorder what stays
    * Countdowntimer? 💥
    * Startrings? 💥
    * sstimer/ssspheres? 💥
    * forcecharacter? 💥 (distinct from forceskin)
    * interscreen? 💥
    * sstage_start/end and smpstage_start/end? 💥💥💥💥
    * You've been blocked
* G_MapNumber now returns a special NEXTMAP_INVALID if not found, for more consistent reference.
* Incorporate a good chunk of the `edit-headers` branch. Can't clear maps individually because of the new restrictions on sequential mapheaders, but we can add a "disable in vote screen, not even for map hell/archive" flag to a map at some future juncture for equivalent functionality...
2025-02-11 17:22:34 +01:00
toaster
b92c125928 I_Error in all situations where mapheaders were previously allocated outside of SOC.
Also:
- improved error prints for SOC condition definitions
- improved bounds checking to use `nummapheaders` for iterating over mapheaderinfo
There are still situations that use NUMMAPS like mapvisited, randmapbuffer, etc, which need to be addressed before merger.
2025-02-11 01:52:05 +01:00
GenericHeroGuy
a3e531d0d4 All the save buffer fixes all at once!
* Register cv_netdemosize so it actually works
* Replace all the raw Z_Frees on demobuf with the appropriate function
* Free demobuf in G_CheckDemoStatus (yay, no more buffer == NULL asserts)
* ...allocating a buffer of uninitialized length? what
2025-02-10 00:24:17 +01:00
Sally Coolatta
5fee047fe6 Add functions to initialize savebuffer_t
g_demo.c is mostly unaltered because it is made of twigs.
2025-02-07 11:12:52 -05:00
NepDisk
3350b02cc8 Long Map Names Port pt 1. 2025-02-05 17:46:21 -05:00
NepDisk
761c1add83 Fix cutscenes and readd paraloop interaction effect 2025-02-02 13:05:24 -05:00
NepDisk
c51b6ae5e3 Restore nights bumper object 2025-02-02 07:48:59 -05:00
NepDisk
a18cffeade Revert "Merge branch 'nukelaps' into v2dev3"
This reverts commit d1b0358ac8, reversing
changes made to b56b79db15.
2025-01-31 19:34:11 -05:00
NepDisk
a148d4e17b Seperate out itemflags 2025-01-27 12:24:19 -05:00
NepDisk
92d86be813 Implement distance based itemodds when legacy waypoints are in play 2025-01-22 13:15:42 -05:00
Sally Coolatta
713ac093bf devmode cheat online 2025-01-10 11:36:04 -05:00
NepDisk
82dfe605f3 mobj_t: add shadowcolor member to change shadow palette index 2024-12-30 19:54:29 -05:00
NepDisk
f996d869db misc fixes
Fix time limit, disable mobjscramble, fix paranoia compile, clean up refernces code, fix driftdust negative refernces
2024-12-17 23:53:51 -05:00
NepDisk
3622b78b3e Readd SPB karma modes, remove every hit rewarding bumpers, allow flashtics again 2024-12-17 17:57:47 -05:00
NepDisk
e1720e7b3a Remove overtime stuff 2024-12-17 00:47:36 -05:00
NepDisk
4b1324da69 Remove Battle capsule stuff and turn it into Item Breaker
You have to smash every itembox in a map as fast as you can. When you mash you get a pogospring and waiting gives a sneaker
2024-12-17 00:24:20 -05:00
Alug
53c8d97dfe fix spritesclales not being initiliased if they didnt got set uh 2024-11-14 23:55:34 +01:00
NepDisk
4db4864151 I'm a blind fuck lel 2024-10-28 21:06:00 -04:00
Alug
9a15f21236 fix a few more compiler warnings 2024-10-23 13:44:30 +02: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
13703c3c2a Flameshield rework
The idea is to return it as a meter item while keeping and putting a restriciton on the speed building and storing part from the previous version. Using the boost while its active will drain time from the main timer to fill up store as it were, this store is what handles the boost duration which caps at 2 seconds. The speed increase from using the flame shield more and more now diminishes and caps around 81 fu/t on knuckles for example and is done seprately from the main drain timer and the store.
2024-10-20 04:36:43 -04:00
NepDisk
19da924b5e P_InitThinkers: Centralise/tidy global mobj pointer handling 2024-10-18 13:22:50 -04:00
James R
e5d3e80db5 SaveMobjThinker: fix diff2 uninitialized 2024-10-18 04:10:54 -04:00