Commit graph

20619 commits

Author SHA1 Message Date
Sally Coolatta
08c67ab0e7 Spec 500 uses the same speeds as other scrollers 2025-02-18 14:33:29 +01: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
dc9a3b4d31 Use final version of 'W_CheckNumForMapPwad' 2025-02-17 17:27:38 -05:00
GenericHeroGuy
8d3083cefe Fix some G_BuildMapName string formats
more like "flex xva" but ok
2025-02-17 21:51:31 +01:00
GenericHeroGuy
723164152f Salvage the remaining parts of 8f68a21
I'm keeping the screenshot mapname tho :^)
2025-02-17 21:51:31 +01:00
GenericHeroGuy
c93fa43f24 xva: dynamically allocated va 2025-02-17 21:51:31 +01:00
GenericHeroGuy
1c1b72bd6c Change thumbnail reference scale to 320x200
Seems more sensible than "it was more convenient at the time"
2025-02-17 21:51:31 +01:00
NepDisk
4d6bbc7b2c Allow skynum online 2025-02-13 12:51:36 -05:00
NepDisk
122b269601 Step up code shit again 2025-02-12 21:29:47 -05:00
NepDisk
376721912a Fix copy paste mistake in UDMF misc config 2025-02-13 00:54:08 +00:00
NepDisk
43d6ce4148 rename stuff for ACS compile 2025-02-12 18:04:17 -05:00
NepDisk
101ed1037a Don't Toss SCRIPTS lump and make it buildable 2025-02-12 16:32:06 -05:00
NepDisk
9e4261b2a0 Readd ACS linespecials as flags as well for UZB SRB2 Mode 2025-02-12 15:28:31 -05:00
NepDisk
c72f81f4e8 Always show the loading text 2025-02-12 11:33:16 -05:00
NepDisk
b72537d6fb Revert "Place this here"
This reverts commit 58c198a6ab.
2025-02-12 11:18:15 -05:00
NepDisk
3adaceab0b Update extras/udmf-spec.txt 2025-02-12 15:32:16 +00:00
NepDisk
58c198a6ab Place this here 2025-02-12 01:28:15 -05: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
GenericHeroGuy
e9795f5271 Expose map thumbnails and minimaps to Lua
...

LET'S FUCKING GOOOOOOOOOOOOOOOOOOOOOOOOO
2025-02-12 03:24:11 +01:00
GenericHeroGuy
5f063aa014 I'm sick of cherry-picking, just silence this warning 2025-02-12 01:56:39 +01:00
toaster
4e559aed87 Level and cup header information: Hashing for referencing by name
Foundational assistive work.
Also guarantees a consistent cup name length in memory, as some places read/wrote 15 bytes, and some places read/wrote 16 bytes. We settle on the latter (including null terminator) for the broadest backwards compatibility.

G: partial merge, missing lots of cup stuff
2025-02-12 01:50:46 +01:00
toaster
2c3fc38f27 "Monitor" parameter for cups
- Defaults to 1, AKA Sonic 1/2 monitor
- Set to 2 for Sonic 3k monitor
- Supports a range of 1-9 and A-Z
- Permits fine-grained rapid-prototype stretch goal Chaotix monitor stuff later in development
2025-02-12 01:24:47 +01:00
GenericHeroGuy
6db125c0f3 Introducing... M_GetMapThumbnail and arbitrarily scaled thumbnails
* only supports two sizes
2025-02-12 01:09:02 +01:00
GenericHeroGuy
ec5f317f28 Oops, forgot about G_LoadDemoInfo 2025-02-12 01:00:10 +01:00
LJ Sonic
edbc5660a7 Fix io.open() crashing the client sometimes 2025-02-11 17:12:44 -05:00
Gustaf Alhäll
f00bdda0bb Fix segfault when going up steep slopes in rare cases 2025-02-11 17:00:37 -05:00
sphere
76022b40bf Merge branch 'fix-slope-convex-sectors' into 'next'
Fix physics quirkiness on slopes with convex sectors

See merge request STJr/SRB2!2250
2025-02-11 16:58:57 -05:00
Lactozilla
5681f5b803 Fix a possible crash in R_RenderMaskedSegRange
R_AllocTextureColumnTables wasn't checking if the tables were never allocated, making the renderer later attempt to render midtextures for drawsegs that don't contain actual midtextures.
2025-02-11 16:48:45 -05:00
Lactozilla
6afcd88727 Interpolate polyobjects properly for the software renderer 2025-02-11 16:46:49 -05:00
NepDisk
8f040ed151 Reapply 'Implement per-texture offsets in UDMF'
This reverts commit c713de1225.
2025-02-11 16:11:03 -05:00
NepDisk
7af12aefd7 Fix compile lmao 2025-02-11 16:05:35 -05:00
NepDisk
c713de1225 Revert "Implement per-texture offsets in UDMF"
This reverts commit 6808564763.
2025-02-11 15:52:37 -05:00
GenericHeroGuy
4697a69bd9 Ignore old SOC map header fields 2025-02-11 21:33:12 +01:00
NepDisk
50e5725e4a Various UDMF fixes 2025-02-11 15:32:19 -05:00
MascaraSnake
30dd68aea3 Don't require floor touch for currents in non-FOF sectors unless it's a horizontal currents in binary (because backwards compatibility) 2025-02-11 15:14:44 -05:00
GenericHeroGuy
27d51b370f Restore 'map +' command 2025-02-11 21:12:47 +01:00
GenericHeroGuy
d5418e4bdb You win this time, cv_nextmap... 2025-02-11 20:41:54 +01:00
toaster
342f6294eb Kill spstage_start and spmarathon_start 2025-02-11 17:30:03 +01:00
NepDisk
2e693f54e2 Merge pull request 'Use separate table for maskedtexturecol' (#21) from separatemaskedtexturecol into ACS2
Reviewed-on: https://codeberg.org/NepDisk/blankart/pulls/21
2025-02-11 16:27:41 +00:00
NepDisk
77dbfcd3bb Fix Mid texutres not rendering 2025-02-11 11:26:47 -05:00
toaster
551c5531d5 Enforce maximum length of 63 for map lumpname
Also, in g_demo.c, use SKIPSTRING (instead of READSTRINGN into a discard buffer)
2025-02-11 17:22:34 +01:00
toaster
2c7e7b8aa8 Fix replacing cups' map lists not properly reassigning the cachedlevels 2025-02-11 17:22:34 +01: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
GenericHeroGuy
66f965c2c0 Get rid of basenummapheaders
More oddball differences causing merge conflicts...
2025-02-11 17:22:31 +01:00
GenericHeroGuy
92af45dac5 Oh boy, another mapheader_t shuffle 2025-02-11 16:14:11 +01:00
toaster
e8f582555d Adjust P_AllocMapHeader and associated
- Prints with more info
- No weird increment/decrement
2025-02-11 16:10:53 +01:00
GenericHeroGuy
c159102ebe I told you I'd forget about it 2025-02-11 15:55:57 +01:00
GenericHeroGuy
79e3116277 And STAY DEAD 2025-02-11 15:50:58 +01:00
toaster
4d5cfc38bb NUMMAPS is dead
Dynamically allocated mapheaderinfo. 1035 reserved slots in a google doc is a thing of the past
2025-02-11 15:38:43 +01:00