Commit graph

17 commits

Author SHA1 Message Date
Freaky Mutant Man
a8ba8ab53c ReduceVFX: Disable character flashing when viewing staff ghost replays using hidden characters. 2025-09-01 18:24:58 +00:00
Eidolon
255570cfca Dynamically allocate skins
This avoids an issue where the skins array takes up a fixed, but large
amount of memory at runtime. On x86_64 linux, that array is roughly 80
megabytes in memory, most of which is unused when the game is unmodded.
Instead, we treat `skins` as a dynamically resizing array, and it is an
array-of-pointers into separate allocated `skin_t`.

This is based on Lactozilla's skin limit MR for SRB2, but I've rewritten
it because RR has diverged quite a bit.

This was verified to check every access of `skins` by using clangd's
find-all-references function. However, I have only tested plain skins,
not Lua addons, so that could afford some extra checking.
2025-08-12 15:33:00 -05:00
Eidolon
a4d304a1f5 Update copyright years to 2025 2025-02-13 15:32:26 -06:00
Sally Coolatta
7dfa597c7d SRB2 -> DRRR copyright in src, acs, android folder
Be consistent with toaster's recent changes to copyright
2024-04-05 02:08:23 -04:00
toaster
c299831737 Fade out characters you haven't unlocked yet in Time Attack demos exclusively
- Objects
- Minimap
All other HUD items need to be done manually, but the lives icon doesn't show up in time attack so this minimum should be fine
2024-03-05 13:33:24 -08:00
SteelT
cb21a9c8cd Flicker player and add hitlag when collecting a powerup 2024-03-01 18:03:52 -08:00
AJ Martinez
1a2a2df383 Refactor guard/whip cooldown checks 2024-01-09 20:26:35 -07:00
AJ Martinez
b67aa8af4f Charge instawhip test fixups 2 2023-10-14 05:56:42 -07:00
AJ Martinez
a9ec1cea68 WIP: Instawhip charge input 2023-10-13 02:23:28 -07:00
James R.
6878c7dd90 Apply PF_CASTSHADOW when player touches patrolling Hyudoro's shadow, darken player to pure black 2023-09-17 21:56:20 -07:00
James R.
5c1332f977 Add R_CustomShadowZ, Obj_FakeShadowZ, Obj_HyudoroShadowZ; let Hyudoro shadow float while patrolling 2023-09-17 21:56:19 -07:00
James R
3282a2581b Instawhip cooldown: don't flicker dark frames while whip is still out 2023-08-19 04:58:55 -07:00
James R
aa82d8da77 Instawhip Recharge VFX
- 3 splats spawn before the instawhip cooldown runs out
- Splats angle steeply outward in a triangle formation
- VFX is animated, animation runs out right when instawhip
  cooldown completely runs out
2023-06-18 01:57:03 -07:00
James R
f98319a98c Add R_SplatSlope, function to set slope of splat during rendering
Slope set by R_SplatSlope is only effective if
floorspriteslope or standingslope is not already being
used.
2023-06-18 00:46:57 -07:00
AJ Martinez
07a7ee916f Only show instawhip cooldown when whip would be available 2023-06-06 22:41:41 -07:00
James R
e6e8bf8c96 Darken player sprite every other frame of instawhip cooldown 2023-06-05 20:01:12 -07:00
James R
018f6f3410 Add lightlevel field to mobj_t
Adds r_spritefx.cpp

lightlevel should be -255 to 255, relative offset to
normal sector lightlevel.

If RF_ABSOLUTELIGHTLEVEL, mobj_t.lightlevel becomes an
absolute lightlevel in the range 0 to 255.
2023-06-05 20:00:35 -07:00