Commit graph

74 commits

Author SHA1 Message Date
NepDisk
ed010edbc2 Frying hashbrowns 2025-04-29 11:21:38 -04:00
GenericHeroGuy
4e9ffdaf13 Scrub more references to MD5 2025-04-26 00:57:51 +02:00
GenericHeroGuy
b7f4effe9b Replace MD5 with xxHash for file hashing
Yes, I had to do everything in one sweep, everything's connected...
Incremented demoversion since this changes the header format
2025-04-26 00:25:23 +02:00
NepDisk
6ee27d76de Fix up and remove some objects 2025-04-24 16:07:37 -04:00
NepDisk
869bf3bd9d Update the hashbrowns 2025-04-17 03:14:33 -04:00
NepDisk
274cd8e65b Update hash for menu stuff and remove NOMD5SUM 2025-04-12 13:21:58 -04:00
NepDisk
9cd4294c21 TA support for extra game toggles 2025-04-10 19:53:44 -04:00
NepDisk
d05167a2db Update hash 2025-04-03 11:49:54 -04:00
GenericHeroGuy
c936c24d15 Replace mainwads with an enum
The mainwads check in G_SetGameModified is replaced by a modifiedgame check
in D_SRB2Main
2025-04-03 17:36:13 +02:00
NepDisk
721d0f9450 Port the SRB1 badniks 2025-04-03 10:15:19 -04:00
NepDisk
408a64ab4b Merge branch 'blankart-dev' into freecamspectate 2025-04-01 13:21:58 -04:00
NepDisk
9a8c89b1d8 Various HUD additions
Wide lap sticker, hud element offsets, GetHudColor Helper, Circle Input display option
2025-03-30 20:05:09 -04:00
Alug
6b1de73341 move postimg flags to camera struct
- also dont let water and heat be applied on top of each other since it does not look good (water postimg takes priority over heat)
- also save a little time in opengl splitscreen since it does not support heat or wöter effects
2025-03-30 10:33:48 -04:00
James R
f72aa63f36 Interpolate view, even when paused
Fixes slideshow movement with demo freecam while paused.
Does not appear to jitter like texture scrollers do.
2025-03-30 08:42:43 -04:00
Alug
fe30efacdd refactor postimg stuff so it can be combined with each other better
thx much indev! <3
everything now works with encore!
software now also supports screen effects in splitscreen!
2025-03-28 18:22:01 -04:00
GenericHeroGuy
fa5cf63d83 Fix the intermission background
Also, if there's no y_buffer available, draw SRB2BACK instead of whatever
garbage is in screens[1]
2025-03-26 23:06:21 +01:00
NepDisk
d2f4ee4dae Update MD5 again lmao 2025-03-26 14:58:00 -04:00
NepDisk
e774c74257 Update MD5 for main.pk3 2025-03-26 14:39:45 -04:00
GenericHeroGuy
dc791e494d Merge branch 'blankart-dev' into socmenus 2025-03-26 18:49:30 +01:00
NepDisk
032e08afef Update main.pk3 hash
We are now enforcing this now that we acutally have files. Remember to use zopfil with blankart-assets
2025-03-25 10:15:42 -04:00
NepDisk
7229a2828f Move Hashes and filename 2025-03-25 10:05:44 -04:00
GenericHeroGuy
a609c7b5ce Replace prevmenu with menustack
menustack[0] replaces both menuactive and activeMenuId
Hopefully this is the last major change to the codebase...
2025-03-23 01:47:19 +01:00
NepDisk
32709797a3 Remove advancedemo
0230b57aa8
2025-03-22 11:29:45 -04:00
GenericHeroGuy
f51868ed3f No more menu_t definitions, use menutype constants everywhere 2025-03-22 01:40:33 +01:00
GenericHeroGuy
fca25051cb SOC the server connection menu 2025-03-22 00:45:38 +01:00
GenericHeroGuy
a23197cf8d god i hate cvars 2025-03-15 03:54:17 +01:00
GenericHeroGuy
fb230a27d3 Restore mouse aiming 2025-03-11 00:04:34 +01:00
GenericHeroGuy
e61c43a852 Merge branch 'blankart-dev' into newinput 2025-03-10 23:26:30 +01:00
NepDisk
b9ad30c9e2 Add BlanKart Credits and append new scene to intro 2025-03-08 11:00:54 -05:00
Sally Coolatta
0a98ca63ab First pass on character select device select
Ultra mega hacked in, by saving all "discarded" joysticks to an array so they don't get totally closed & we can still poll them. Events now properly send the device number instead of the player number, which means we can store all controllers pressing buttons, and thus, can detect when ANY controller is pressing anything, and THUS we can make the character select work like we wanted to :V

Did not bother fixing any of the bugs, however. First of all, the opening menus do not properly fallback to default controls. Yet again, we may need a more robust system -- storing all keys from gamekeydown separately? Additionally it seems like when I input gamepad it makes me use keyboard anyway, so I think something fishy is up.

(G: finally, a commit that mostly survived... deviceResponding is useless
    for us right now but might as well keep it. maybe easier assignment on
    the multiplayer setup menu in the future?)
2025-03-07 23:44:59 +01:00
GenericHeroGuy
f419ccee57 New input handling (port of cd8862f0)
More or less a port with gamecontrols left untouched.

Some notable differences:
* ev_joystick now has a separate data1 for each axis, rather than having you
  check which of data2/3 is INT32_MAX and which one isn't
  (pissed me off when updating menu code...)
* Gutted the 1.6 upgrade code, since we're not upgrading from anything :P
* G_GetControlForKey, a helper for menu code
* Turn smoothing code left unused as a reminder to fix it
* Various small fixes so this commit is playable and doesn't segfault

Menu changes:
* Max 4 binds, joystick axes are now bindable like any other button
* The gamepad options submenu has been replaced by its two remaining options
  after the removal of axis cvars (gamepad select and deadzone)

See cd8862f0's message for more details
2025-03-07 00:05:35 +01:00
NepDisk
e2f29fd41b Add lagless camera toggle and default to off 2025-02-28 21:20:13 -05:00
James R
b31e79b742 Kill last of DJGPP, WATTCP, _WINDOWS (ol' DirectDraw) 2025-02-25 00:42:42 +01:00
toaster
1e7eb4a24c Move gamekeydown/deviceResponding memset to D_StartTitle
Fixes an issue where, if the last button used on the menu was ESC going back to the title screen, the connection would be aborted immediately.
2025-02-24 20:15:25 +01:00
NepDisk
1a3295f670 More warning fixes, restore old pause, No void in 3p splitscreen 2025-02-23 21:45:33 -05:00
NepDisk
d527740767 Modify and update code for new assets 2025-02-23 17:01:59 -05:00
NepDisk
bf77bd7f3a Adjust wad load order for new assets 2025-02-23 17:01:59 -05:00
Sally Coolatta
628b86da4c Clear clipping rectangle before each hook call
Prevents Lua from being able to make a mess.
2025-02-22 01:28:59 +01:00
NepDisk
ccaf4f8e63 Add More Tracy Zones 2025-02-21 13:58:41 -05: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
66f965c2c0 Get rid of basenummapheaders
More oddball differences causing merge conflicts...
2025-02-11 17:22:31 +01:00
toaster
18fdd8fa9a Repair D_StartTitle component of netgame title fallthrough prevention 2025-02-11 02:30:23 +01:00
toaster
88ae398eea Rework nextmap to be automatic
- Refactor significantly (now has its own func, `G_GetNextMap`)
    - If gametype uses cups, iterate through cups to find the current level, then grab the next valid level
    - If not, get the next valid mapheader for your gametype
    - SOC `nextmap`/`marathonnext` is not just deprecated but REMOVED
    - Hide the NEXTMAP_ constants again, but leave support dummied out for if we have them publically accessible again
- Also get rid of a bunch of OTHER mapheader stuff we're never gonna use
    - NiGHTS Grades? NOPE
    - Vanilla titlecard patches? NOPE
    - Boss music fadeout/replacement? NOPE
    - Select Heading? NOPE
    - You've been blocked.
- Don't show maps without lumps on the level select list
- this is me being petty, but making it NOTIMEATTACK in SOC instead of TIMEATTACK so we can reconsider the maps with/without them.
2025-02-11 02:24:01 +01:00
toaster
4b12f8a729 Rework special nextmap events.
- G_MapNumber now handles special NEXTMAP_ nextmapspecial_t constants that exist at the end of the available type.
- Cleanup of G_DoCompleted
- Add bounds checking to the various SOC maincfg map starts (spstage_start, etc)
- Add lump checking to titlemap behaviour
2025-02-11 01:52:05 +01:00
toaster
f8b4ad70ea Repair bootmap.
We're not even going to use this feature, but it showed up as nonsensical while reviewing, and would take more work to strip out
2025-02-11 01:52:04 +01:00
toaster
6a2553cf57 Fix cups.
* Required an adjustment of everywhere using G_MapNumber to return the raw header number, instead of off-by-one ala gamemap.
    * Fixing gamemap is a viable improvement for a future commit, but this commit is already pretty big.
    * Remove SCANTHINGS, since it used G_MapNumber and didn't work with long map names OR virtres anyways.
* Support freeing new information in CLEAR LEVELS maincfg event, since I tried to use that to test cups.
* Make Patch_Free's usability match Z_Free -- passing NULL is permitted and a no-op.
2025-02-11 01:52:04 +01:00
GenericHeroGuy
a78bfe2785 The rest of the changes from de1f67b 2025-02-10 21:56:07 +01:00
NepDisk
77152250dd Remove GTR_CAMPIGN and assign stuff to grandprix instead 2025-02-09 18:47:51 -05:00
NepDisk
f8b2bd809d Fix legacy titledemos not loading 2025-02-07 12:52:43 -05:00
SteelT
14e5796cf2 Support reading PICTURE/MINIMAP/ENCORE/TWEAKMAP lumps from a map resource
This supersedes the header-based method of fetching those lumps.

(G: a LOT of creative liberties... but i'd rather this thing compiles)
2025-02-07 02:41:06 +01:00