Alug
7d1eb398cf
goddamit
2025-03-16 12:24:47 +01:00
Alug
97df54a760
oops
2025-03-16 12:24:08 +01:00
Alug
2edada8ce3
slight cleanup HWR_ObjectLightLevelPost
2025-03-16 12:18:20 +01:00
Alug
17e85df813
changes from testing branch
2025-03-16 11:55:10 +01:00
Alug
a3b5c4dff8
Merge branch 'Saturn-Next' into directionallight
2025-03-16 11:52:38 +01:00
Alug
8c8fe976d7
dumb hack for input display in replays
...
since we cant get playerinput, just use throwdir to get some appoximation
maybe todo: idk maybe squeeze smth into replays?
2025-03-16 11:09:02 +01:00
Alug
8c43857bd3
add extra check to save a little bit of time
2025-03-16 11:08:55 +01:00
indev
380c8f65c8
aatree is used both with HWRENDER and ROTSPRITE, so just don't guard its include
2025-03-16 11:08:39 +01:00
Alug
5ec0af62d9
safe 2x "va" lel
...
V_GetSkincolorChar is unused now lel
2025-03-16 11:08:36 +01:00
Alug
3762b18159
just use splitflags
2025-03-16 11:08:31 +01:00
Alug
b6de9e03d7
doesent need be an array
2025-03-16 11:08:27 +01:00
Alug
486f386f35
New input display option for stick display
...
thy neppy! https://codeberg.org/NepDisk/blankart/commit/52601bdfc2a6dd8916c3c401d70128d2ca11a1ff#diff-baf740b84aa99188fc2e5c1cb93e59fa2e319ff3
+ hellish abomination code cause kart
2025-03-16 11:08:23 +01:00
Alug
848d84147f
Merge branch 'minispin' into Saturn-Next
2025-03-16 11:06:41 +01:00
Alug
a980784771
replace magic number
2025-03-16 11:06:06 +01:00
Alug
0f675661a6
bruh
2025-03-16 11:05:28 +01:00
Alug
30deff7697
fix conflicts for minimap spinouts + some refactoring
2025-03-16 11:05:23 +01:00
Anonimus
21c267b319
Refactor to prevent desynchs
2025-03-16 11:05:19 +01:00
Anonimus
cce363c8c8
Add a cvar for minimap icon spinouts
2025-03-16 11:05:15 +01:00
Alug
c081349f9b
make freecam speed per splitscreenplayer + add to menu
2025-03-12 07:01:19 +01:00
Alug
88b78a5bf7
delet cam rotspeed cvar
...
lmao forgor this did nothing
2025-03-12 07:01:15 +01:00
indev
cf9e7ff37b
Add toggle for look up/down, also don't trigger it during countdown or when player is respawning
2025-03-11 14:59:24 +01:00
Alug
8775e5abc1
fix compile without ROTSPRITE
2025-03-10 17:53:17 +01:00
Alug
fe6b5a83f8
consolidate those
2025-03-10 17:29:20 +01:00
Alug
288bcbd419
bruh
2025-03-10 14:06:18 +01:00
Alug
4465b05bc8
p_sight stuff idk
2025-03-10 14:04:27 +01:00
indev
537aa30cfe
Don't reset demo recording if player is still entering replay name in intermission
2025-03-10 13:16:44 +01:00
Alug
e16ef100b8
try make this slightly more readable
2025-03-10 13:10:07 +01:00
indev
a277d70ce2
Don't force specific characters in M_HandleConnectIP
2025-03-10 13:06:03 +01:00
Alug
6932a52463
change speelines blending condition
...
uuuhh, so, if you have sneakerboost they always will apply additive blending
otherwise if you go really fast (faster than sneakerboost)
2025-03-10 13:05:55 +01:00
Alug
a686b29a7a
only apply additive blend to speedlines when any kind of boost is happening
...
to emphasize that ure boosting or smth
2025-03-10 13:05:19 +01:00
Alug
c133f0d751
add additive blending to fast speedlines
2025-03-10 13:05:09 +01:00
Alug
5ff125a429
spawn speedlines with non synched rng if ur in eggbox status
...
and well only if you have colourisation enabled
2025-03-10 13:05:01 +01:00
Alug
b8cab84d2a
super smol optimization
2025-03-10 13:04:11 +01:00
Alug
d2975d2dcb
toggle for keeping driftsparks while in air
2025-03-10 13:02:23 +01:00
indev
e802ecf0b5
Add SHORT here for consistency with other code
2025-03-10 13:01:35 +01:00
indev
71378285b2
Check for missing patch earlier in W_CachePatchNameRotated
2025-03-10 13:01:32 +01:00
Alug
ffe9a89552
remove erronous cv_sloperoll checks
...
this cvar is meant to be only the toggle for the player slope rotation, however, spriterotation should still be usable in any case with this disabled. the global toggle "cv_spriteroll" has been removed
2025-03-10 13:01:25 +01:00
indev
ac9926eb17
spriteroll doesn't exist now :p
2025-03-10 13:01:19 +01:00
Anonimus
0b57389dcd
HUD patch rotation
2025-03-10 13:01:16 +01:00
Alug
e2b42b1647
delet memcpy doing nothing
2025-03-10 13:00:33 +01:00
Alug
ad39ade286
split screentexture width and height
...
most displays are widescreen, so their width and height differ quite significantly, this may make the overall screentexture alot smaller
2025-03-10 12:59:25 +01:00
Alug
0ed21a171d
remove stray bool in demovars struct
2025-03-10 12:58:18 +01:00
Alug
ad65e3e968
allocate some extra buffer for demobuffer
...
incase this might overflow that we dont write to unvalid memory
thx indev <3
2025-03-10 12:56:51 +01:00
Alug
d55d7e0efc
smol replay fixes from rr
2025-03-10 12:54:39 +01:00
Alug
ec7fa833d5
only ever touch this if player has a mobj
...
angleturn is broken in kart
2025-03-10 12:53:44 +01:00
Alug
2e6c1d9df4
revert this behaviour
...
be more like vanilla
2025-03-10 12:51:50 +01:00
Alug
7d55c46979
make P_InitCamera slightly prettier
2025-03-10 12:50:10 +01:00
Alug
af2b22e91f
cleanup P_SetupLevel
...
removed bunch of pointless vars, moved some things into functions
changed some stuff to be boolean
2025-03-10 12:50:03 +01:00
Alug
e983174559
another check for realpatch lel
2025-03-10 12:47:46 +01:00
Alug
3bde3b04ae
try just passing the sector + add 50 trillion extra checks
...
idk anymore but this is literally now how vanilla kart behaved
2025-03-05 11:23:40 +01:00
Alug
9e070a6516
tiny cleanup SCR_DisplayTicRate
2025-03-05 11:22:51 +01:00
Alug
8d9c6ec65f
localping color was lost
2025-03-05 11:21:22 +01:00
Alug
ec263086d8
use lööps for those to look a little better lel
2025-03-05 11:18:32 +01:00
Alug
06ccb4f7b0
dont reset cam using f12 when only one player is ingame
2025-03-05 11:18:23 +01:00
Alug
95daa7eacc
just set this directly
...
no need for all of this
2025-03-05 11:18:05 +01:00
Alug
d18afa1781
dont run this if cam tilt disabled
2025-03-05 11:16:56 +01:00
Alug
883c382a1d
slightly refactor chasecam stuff again
2025-03-05 11:16:23 +01:00
Alug
c82eb25628
where did this come from
2025-03-05 11:14:45 +01:00
Alug
8c0294898e
fix issues with models
...
- Sloperotation was weird, it now uses what we calculate in K_RollMobjsBySlopes
- in general uses srb2s newer system
- alot of cleanup of pointless variables
- sprinfo pivots should now work
- removed roillmodel since it was smth weird and broke rollangle
2025-03-05 11:14:06 +01:00
Alug
d09c8bb8fd
ss->touching_preciplist deez
2025-03-05 11:13:43 +01:00
Alug
d397a07d96
dont recalc if precip sector didnt move
...
forgor i can just check this
2025-03-05 11:13:40 +01:00
Alug
96f842fd96
only need to recalc this once a tic
...
precip thinker thinks slightly more often, but we really dont need that tbh
2025-03-05 11:13:34 +01:00
Alug
105b3f37eb
only recalc floorz for visible precip mobjs
...
before it apparently recalced it a crapton for the crapton not visible precipmobjs, which even on vanilla maps led to noticable jitter
2025-03-05 11:13:26 +01:00
Alug
24387b50bd
missed this for keepmusic
2025-03-05 11:12:22 +01:00
Alug
0c4661c2a7
remove this
2025-03-05 11:11:27 +01:00
Alug
178c942dc6
pass slope to K_RollMobjBySlopes
...
removing some code dupe in the process and allows some more flexability
2025-03-05 11:09:19 +01:00
Alug
47d41e2c2a
refactor M_DrawSlider
...
apparently fixes weird framerate issues with gamma slider
also shows the values on sliders
2025-03-05 11:09:01 +01:00
Alug
4d7c223565
Have replay recording of "hits" use the reference count system
...
https://git.srb2.org/KartKrew/RingRacers/-/commit/fa8bffabfc51ea1d7be86d833190bb7dcf494fca
2025-03-05 11:08:18 +01:00
Alug
e3af2b0d58
better prints if a replay desynchs
2025-03-05 11:08:06 +01:00
Alug
f4ed9b43cd
refactor keepmusic again
...
- puts all music stuff into a struct "music_t"
- should hopefully fix numerous issues with keepmusic and skipintromusic
- keepmusic can now "recover" from a few cases, like restarting the map from intermission
2025-03-05 11:06:57 +01:00
Alug
55cd0fa08f
ensure proper cast
2025-03-05 10:59:34 +01:00
Alug
8cce4f3ccf
whitespace lul
2025-03-05 10:59:18 +01:00
Alug
1e21f6a378
only do mouse stuff if we wanna do mouse stuff
2025-03-05 10:59:03 +01:00
Alug
a0af6f2461
remove unused stuff i_video
2025-03-05 10:57:55 +01:00
Alug
390e3db25d
tiny cleanup keyboard stuff
2025-03-05 10:55:16 +01:00
Alug
3d9bb65e62
Merge pull request #157 from Indev450/gentlemens
...
Offline ping System
2025-03-05 10:53:10 +01:00
Alug
4f88a97739
inline a few hooklib functions
2025-03-05 10:52:34 +01:00
Alug
de977167ca
pointless inline
2025-03-05 10:52:15 +01:00
Alug
84028f52d8
few instances of int float conversions i forgor
2025-03-05 10:50:35 +01:00
Alug
f693ca8333
optimize ogl drawer functions
...
by avoiding excessive interger to float conversions
2025-03-05 10:50:28 +01:00
Alug
64dd17d75d
ensure proper casting
2025-03-05 10:48:25 +01:00
Alug
b3ce832753
check for shader cvar ealier
2025-03-05 10:47:59 +01:00
Alug
b9c89b381b
nullcheck for realpatch
2025-03-05 10:47:12 +01:00
Alug
c8a0a2bdae
dont need to pass the viewnumber around
2025-03-05 10:46:30 +01:00
Alug
84d3d0d891
smol cleanup portal code again
2025-03-05 10:44:56 +01:00
Alug
fe42f1bd3e
change syntax
...
will stay uppercase to not conflict with some crap Zzz...
2025-03-05 10:41:09 +01:00
Alug
b5803e8787
move this after the early returns
...
save some time when drifting
2025-03-05 10:40:10 +01:00
Alug
9f7aca5fe3
lmao
2025-03-05 10:39:57 +01:00
Alug
ac8e25865e
turn driftsparkGrowTimer into a player field
...
less hacky and avoids 3 loops lol
2025-03-05 10:39:52 +01:00
Alug
02b411f7ee
kill redundant laptime code
...
just use the newer one
2025-03-05 10:39:41 +01:00
Alug
9dee892244
more kart hud cleanup
...
also removes erronous nametag toggles
2025-03-05 10:38:18 +01:00
Alug
e5d832a642
slight cleanup kart hud
2025-03-05 10:38:14 +01:00
Alug
b069c2cb3e
tiny d_main cleanup
2025-03-05 10:37:10 +01:00
Alug
7235f9864e
delete nonfunctional second mouse stuff
2025-03-05 10:34:18 +01:00
Alug
e4e1f0c645
revert all the server ticking stuff
2025-03-05 10:33:49 +01:00
Alug
54747c6b53
Prevent dropped ticcmds due to interp timing jutter
...
kinda figured out what this does, and makes clients on uncapped listen servers alot less prone to drop gametics
2025-03-05 10:32:37 +01:00
Alug
9ed242cde2
where did this go? lel
2025-03-05 10:27:09 +01:00
Alug
9bcfe63e3e
Merge branch 'Saturn-Next' into gentlemens
2025-03-05 10:25:46 +01:00
Alug
b38460473d
Merge pull request #153 from Indev450/freecamstuffs
...
Replace spec cam with Freecam + "democam" (now freecam) refactor
2025-03-05 10:24:46 +01:00
Alug
fd77beabe1
Merge remote-tracking branch 'origin/Saturn' into Saturn-Next
2025-03-05 10:24:22 +01:00
Alug
5dfab42fcf
Merge pull request #158 from Chearii/blendmodes
...
Blending modes (and a few refactors)
2025-03-05 10:12:55 +01:00
Alug
72d94b77ac
fix blendmode oopsie
2025-03-04 19:46:05 -05:00
Chearii
54d73206ca
Fix `hw_draw` gaffe
2025-03-04 19:42:59 -05:00
Alug
8f342110c9
color ping numbers for color hud
2025-02-27 19:40:32 +01:00
indev
1af9903439
Fix compilation with old sdl
2025-02-18 12:29:47 +03:00
Alug
b4269cba3e
properly init numcontrollers
2025-02-17 21:34:09 +01:00
Alug
70a985e274
dont check number of controllers every frame
2025-02-17 21:34:06 +01:00
Alug
f15f24914d
initialize this
2025-02-17 21:24:28 +01:00
Alug
75d69dc90d
skip a bunch of stuff in dedi/render_none
2025-02-17 20:54:56 +01:00
Alug
7322d553ba
Revert "Merge pull request #151 from Indev450/fixdupeacks"
...
This reverts commit 1fabc14ac9 , reversing
changes made to d9492eee28 .
2025-02-17 18:05:30 +01:00
indev
9efd24e376
camara
2025-02-16 17:49:43 +03:00
Alug
1eae8c6ea3
use correct type in P_InitMinimapInfo
2025-02-12 12:01:05 +01:00
Alug
14881e968a
simplify local ping display
2025-02-12 12:00:54 +01:00
Alug
5f0b2b0604
fix some level userdata not being invalidated
...
maybe fixed the random issues we had with the server?
2025-02-10 20:53:43 +01:00
Alug
73ea95ae61
just pass the controller directly
...
simplifies this alot
2025-02-08 15:44:20 +01:00
indev
affa366f7d
Merge pull request #159 from chromaticpipe/proxy-makefile
...
Add a proxy Makefile at the top level
2025-02-07 02:30:48 +03:00
chromaticpipe
7d62b330d0
Add proxy makefile at top level
2025-02-06 16:15:16 -06:00
Alug
b398dacf29
update controller led when connecting a controller
2025-02-06 14:43:35 +01:00
Alug
a6a53f6b9c
dont pass bogus values to I_GamepadRumble and I_SetGamepadIndicatorColor
...
- fixes rumble and led stuff not working after hotplugging
- also fixes sdl2-compat breaking
- i hate karts controller code
2025-02-06 03:01:51 +01:00
Chearii
ccc1c07930
Fix white pixel bug due to oversight
...
many thanks to indev for catching this!
2025-02-04 16:34:17 -05:00
Chearii
d39e9447f3
Add line and FOF blending, fix model and shadow blending
...
also a bit of cleanup in r_things but it's too minor to headline
2025-02-03 04:46:27 -05:00
Chearii
cd44e2d80c
Prelim: Linedef alpha variable
...
realistically this was just because I'm Lazy
this makes figuring out linedef blending less of a brain twister
2025-02-02 21:14:48 -05:00
Chearii
36a1662afb
Add blending modes
2025-02-02 20:37:19 -05:00
Alug
88d5ca0b8a
should revert this completely
2025-02-02 00:19:38 +01:00
Alug
ce00aef8b1
partly revert this
...
some of those "mightve" been changed at the point of the check
2025-01-30 13:25:12 +01:00
Alug
c7a24199c7
make those const
2025-01-30 13:22:03 +01:00
Alug
6e81cdcb01
kill even more unused patches
...
+ nonexistant crosshair stuff
2025-01-30 10:42:01 +01:00
Alug
2a05f630b3
dont cache all those unused hud graphics
2025-01-30 10:41:55 +01:00
Alug
bf9b738a0f
use SRB2.2s general folder structure
...
- seperate addons folder (download folder remains in home directory unlike RR)
- seperate gif and screenshot folders
2025-01-30 10:41:48 +01:00
Alug
50fced2867
use SRB2.2´s logging system
...
- creates a new logfile each start instead of overwriting it everytime
2025-01-30 10:41:40 +01:00
Alug
6276243cc4
just keep a copy of musicchange before the lua hook
...
keep music can check for what was it stuff changed last to
2025-01-30 10:32:47 +01:00
Alug
22c48f19ba
grow an invinc music also broke stuff
...
cant put it into the music exception list, otherwise it will always disable keepmusic when either one was used even once
2025-01-30 10:32:42 +01:00
Alug
9872640e77
the music system is truly amazing
2025-01-30 10:32:36 +01:00
Alug
80f7ddfb31
i hate conditions
2025-01-30 10:32:30 +01:00
Alug
5215fa4747
smol optimization comparePolygon
...
return slightly earlier for skywalls and horizonlines
2025-01-30 10:32:13 +01:00
Alug
7016b77ee8
also rotate eggboxes in air
2025-01-30 10:31:58 +01:00
Alug
5edb0d0e3d
fall through deez
2025-01-30 10:31:46 +01:00
Alug
a2c1fa5e23
delet if else hell
2025-01-30 10:31:41 +01:00
Alug
520f92e892
handle vote bg fallbacks more gracefully
...
if someone doesent provide a widescreen patch it now falls back to the replaced non widescreen one and vice versa instead of just falling back to what vanilla provides
2025-01-30 10:31:36 +01:00
Alug
305d408e02
forgor about the banan spin
2025-01-30 10:31:14 +01:00
Alug
8ccb747dcd
j moment
2025-01-30 10:30:51 +01:00
Alug
a1d5a2e1f9
simplify camtoggledelay and spectatedelay
...
just make em an array and use lööp
2025-01-30 10:30:34 +01:00
Alug
2f56487290
assign player later
2025-01-30 10:30:23 +01:00
Alug
2ebf66b99c
kill P_TeleportMove
...
P_MoveOrigin literally just calls that so replace it with that
2025-01-30 10:30:19 +01:00
Alug
bab120235d
draw non widescreen anim vote bg before falling back to vanilla bg
...
how it was before, the game just fallback to the vanila widescreen patch if there was no animated widescreen bg provided, just fall back to the non widescreen anim patch instead if it exists
2025-01-30 10:27:56 +01:00
Alug
36404fd93d
inline bunch of one line HWR things
2025-01-30 10:27:36 +01:00
Alug
3b90038b62
inline G_TicsTo stuff
...
theyre smol and get called often
2025-01-30 10:27:25 +01:00
Alug
40660f2379
"makes integer from pointer without a cast" deez nuts
2025-01-30 10:27:19 +01:00
Alug
7ab7193592
remove noshowhelp from bunch of debug cvars
...
doesent make too much sense those are hidden tbh
2025-01-30 10:27:13 +01:00
Alug
1fabc14ac9
Merge pull request #151 from Indev450/fixdupeacks
...
Try to fix issues with clients locking up due to never receiving acks back in case of dropped packets
2025-01-30 10:26:33 +01:00
Alug
d9492eee28
Merge pull request #152 from Indev450/delaynetxcommand
...
Delay netxcmds when buffer is full instead of dropping them
2025-01-30 10:26:14 +01:00
Alug
0dd4f3b3d3
make old ping bar be blue on d1 aswell as purple with mindelay
2025-01-27 09:19:38 +01:00
Alug
49cefa92e2
dont banan drag rumble when not driving lel
2025-01-25 09:33:14 +01:00
Alug
2b13af2367
setup maplight stuff earlier
...
otherwise it doesent init early enough
2025-01-25 08:41:22 +01:00
Alug
97a5c15c36
just use D_NumPlayers
2025-01-24 20:44:50 +01:00
Alug
b1fa124032
add funny banan throw rotate thing
...
like rr
2025-01-24 19:25:53 +01:00
Alug
a15de64160
think we should copy this
2025-01-24 19:25:50 +01:00
Alug
af3a23ce66
make trailing items also be able to rotate on slopes
...
mostly stuff from RR thx!
2025-01-24 19:25:46 +01:00
Alug
b55c654a81
oop
2025-01-24 06:43:54 +01:00
Alug
b97841b6fd
proper add server gentlemans
...
this should be a netvar, but we cant really do that, thought not a huge deal
however id wish to send some kinda message to all players but idk
2025-01-24 06:40:05 +01:00
Alug
ac64428abb
dont mess up realpingtable
...
when serverplayer has mindelay active
this was supposed to show mindelay for serverplayers but that doesent work :chaosleep: so just do not mess with it
2025-01-23 21:55:48 +01:00
Alug
1857ce5113
conflict fix 2
2025-01-23 21:29:08 +01:00
Alug
f4f3f6e29c
slight cleanup HU_drawPlayerPing
2025-01-23 21:27:42 +01:00
Alug
9354a0ab88
conflict fix
2025-01-23 21:27:07 +01:00
Alug
6ef9c0b305
colourise pingnumber when gentlemens is active
2025-01-23 18:11:00 +01:00
Alug
6b951d2773
division by zero moment
2025-01-23 18:10:57 +01:00
Alug
064e9d58af
add gentlemens delay to ping display
...
+ display ping even offline if you have mindelay active
2025-01-23 18:10:53 +01:00
Alug
1d5092cf22
smol cleanup
2025-01-23 18:10:21 +01:00
Alug
861d35e8d3
port clientsided gentlemens delay
...
cant do the serverside stuff due to netvars
2025-01-23 18:10:18 +01:00
Alug
6d94ff8d1f
fix freecam not resetting online
...
idk local player handling is fucking awful in kart
2025-01-22 19:42:14 +01:00
Alug
bfabdb7b6a
bruh
2025-01-22 17:24:11 +01:00
Alug
7f9edddbcc
remove redundand FTransform field
2025-01-22 16:58:30 +01:00
Alug
883cd3f516
more smol ogl sprite drawer optimizations
2025-01-22 15:46:44 +01:00
Alug
a3e2d3ec71
also fix potential use-after-free in HWR_AddPrecipitationSprites
...
no clue why ogl didnt do it since its effectively the same code as software
2025-01-22 15:46:38 +01:00
Alug
7213f0dd5d
split HWR_DrawSprites
...
saves on ALOT of conditional branching in a lööp when models are disabled
2025-01-22 15:45:25 +01:00
Alug
3bbdd1ea72
e better play it safe
2025-01-20 22:26:26 +01:00
Alug
2b09e74dcf
kill aiming stuff in BuildTiccmd
2025-01-20 22:26:23 +01:00
Alug
5dc76d07ec
Hold up/down for 2 seconds while not moving to pan the camera vertically
...
from RR
2025-01-20 19:33:56 +01:00
Alug
ebfafd7b6e
a
2025-01-20 19:21:44 +01:00
Alug
24ca9fdafa
oops didnt init this
2025-01-20 19:21:42 +01:00
Alug
8cdb920f54
dont turn 90 degrees when switching to freecam
2025-01-20 19:00:22 +01:00
Alug
cccf6449f9
fix freecam vertical look for the 500th thousand time
...
truly amazing code
2025-01-20 18:04:20 +01:00
Alug
9bd2da04e2
put this thing onto its original place
2025-01-20 15:28:51 +01:00
Alug
56563507b6
null check target in P_DamageMobj
...
apparently this may be null
2025-01-19 18:21:13 +01:00
Alug
fa98b06dba
:chaosleep:
2025-01-19 18:10:25 +01:00
Alug
a763d85122
make function for driftsparkcolour
...
reduce some code dupe
2025-01-19 17:45:28 +01:00
Alug
db8b1ca0a3
replace common damage magic numbers with named macros
...
that stuff always confused me before lol
2025-01-19 17:38:32 +01:00
Alug
5106c391bb
readd check for banan
...
this time without mobjwasremoved
just check if banan exists
2025-01-19 17:38:22 +01:00
Alug
0c2e285d2e
remove some code dupe in R_AddLine
2025-01-19 17:35:00 +01:00
Alug
f7df80f763
; moment
2025-01-19 17:34:56 +01:00
Alug
676265a92a
fix "lessprecip"
...
logic error lul
2025-01-19 17:34:52 +01:00
Alug
f9ee18584e
use MT_NULL instead of number
2025-01-19 17:34:42 +01:00
Alug
3d394bb621
refactor weather switching
...
from srb2
makes this more sane and makes PRECIP_STORM_NORAIN not spawn a crapton of invisible mobjs
2025-01-19 17:34:33 +01:00
Alug
913c0f4ae7
idk why we check this
2025-01-19 17:34:19 +01:00
Alug
04bf086a9e
forgor to check for that flag
2025-01-19 17:34:12 +01:00
Alug
2a25328ce0
change tooltips slightly
2025-01-19 17:33:56 +01:00
Alug
af7393832a
add stuff to menu
2025-01-19 17:33:50 +01:00
Alug
516bea6e8a
add toggle for item amount number display
2025-01-19 17:33:30 +01:00
Alug
82bd65eebd
don use multiicon patches in 3/4p splitscreen
...
since it uses the smoler patches
also removes redundant assignments
2025-01-19 17:33:20 +01:00
Alug
44b6c53452
change banana default patch to match lua roulette hud behaviour
2025-01-19 17:33:02 +01:00
Alug
28b294f48a
add support for multiitem patches (thx neppy!)
...
needs new patches, unsure if we just gonna add em to the extra file or make a new one
so it ambigous for now
2025-01-19 17:32:21 +01:00
Alug
56ed32d094
merge conflict moment
2025-01-19 17:31:55 +01:00
Alug
60d81037fd
"Fix console text bleeding "
...
read https://git.do.srb2.org/STJr/SRB2/-/merge_requests/1434
2025-01-19 17:31:27 +01:00
Alug
8abe40cc81
cap console animation if uncappedhud is disabled
...
since thats "how vanilla done it" before
2025-01-19 17:31:20 +01:00
Alug
cd9df8065d
use R_GetHudUncap
2025-01-19 17:31:13 +01:00
Alug
b6d50da809
add fancyroulette toggle
2025-01-19 17:31:08 +01:00
Alug
383cc71bb3
reorder saturn hud menu a little
...
also remove uncapped hud from it, since why would you ever wanna turn it off?
2025-01-19 17:30:49 +01:00
Alug
d75c16bab5
add the fancy hudtrans flags
2025-01-19 17:30:08 +01:00
Alug
8efdbe40e4
dont fancy during respawn
2025-01-19 17:30:00 +01:00
indev
ada779a97d
Fancy :D
2025-01-19 17:29:56 +01:00
Alug
37d28464ea
change how spritescales and offsets work
...
- now theres realoffsets aswell
- allows better control of changing things per lua and still do funky stuff in hardcode without conflicts
- spritescales and offsets now get reset centralised before any thinkers run
2025-01-19 17:29:41 +01:00
Alug
816ad7c2fc
add banan jitter toggle to menu
2025-01-19 17:29:29 +01:00
Alug
c4d1f9c6a2
add toggle for bananjitter
2025-01-19 17:29:24 +01:00
Alug
33e1cfc2ba
le funny banan drag jumpy
2025-01-19 17:29:07 +01:00
Alug
bce9990826
only rumble banan when on ground
2025-01-19 17:27:51 +01:00
Alug
923e0500df
fix typo lel
2025-01-19 17:27:31 +01:00
Alug
017646e704
forgor about software again
2025-01-19 17:26:35 +01:00
Alug
4900177e8c
TEST: skip prepping 3d floors for fofs without planes
...
or if they were already checked
2025-01-19 17:25:35 +01:00
Alug
ed97d28254
split HWR_RenderBSPNode
...
to reduce function call overhead
its only microscopicly faster lel
2025-01-19 17:25:26 +01:00
Alug
15185e0450
simplify keepmusic
...
honestly no clue why i made stuff check on every music change
2025-01-19 17:23:52 +01:00
Alug
a29f8d5f38
dont keep music if there is no music
2025-01-19 17:23:45 +01:00
Alug
8dc2d22996
Clear acktosend when initializing node
...
since it was never reset, values might been taken over from former node
2025-01-19 17:22:59 +01:00
indev
4d355f99c0
Add spb music to list of exceptions for keepmusic
2025-01-19 17:22:52 +01:00
indev
aa0bf396e7
Fix spectator control text overlapping when showdirectorhud is off
2025-01-19 17:22:38 +01:00
Alug
1db9bcd6c9
oops
2025-01-15 12:59:49 +01:00
Alug
6f7a52a6a6
make freecam strafe be affected by freecamspeed cvar
2025-01-15 12:59:47 +01:00
Alug
cd3e664e6a
oops fix menu stuff
2025-01-13 16:01:19 +01:00
indev
e7d3e03169
Clear menus when running 'map' command
2025-01-13 15:53:51 +01:00
Alug
4e4871fe93
remove "errorshitspam"
...
hooklib refactor indirectly fixed the root issue, so this is not needed anymore
2025-01-13 15:52:12 +01:00
Alug
51067f2802
Merge branch 'Saturn-Next' into freecamstuffs
2025-01-13 08:39:38 +01:00
Alug
62a65c5c1d
save a whopping 2ms from gamestart to race start on texture updating
2025-01-13 08:38:20 +01:00
Alug
b9e23113c8
slightly cleanup gravstretch stuff
2025-01-13 08:34:52 +01:00
Alug
50f1a61182
fix having saltyhop disabled forcing player spriteyoffset to be forced 0
...
just clear out everything on toggle
2025-01-13 08:34:44 +01:00
Alug
ed9adfae68
add toggle to colour sneakertrail flames (thx neppy!)
2025-01-13 08:34:34 +01:00
Alug
cb4ef15c77
another attempt at fixing skipintro mus playing titlescreen music
2025-01-13 08:30:42 +01:00
Alug
e4e18f0a62
check for 0 to avoid division by 0
2025-01-13 08:29:33 +01:00
Alug
ab8cbcb450
reinit minimap stuff when a wad is added while ingame
2025-01-13 08:29:11 +01:00
Alug
4103fac605
slight cleanup r_draw8
2025-01-13 08:29:06 +01:00
Alug
0a58797f78
clamp to length-1
2025-01-13 08:29:02 +01:00
Alug
5db7f5f2e7
fix column drawers clamping stuff
2025-01-13 08:28:58 +01:00
Alug
47a3de8fe1
let "fovchange" work in software
2025-01-13 08:28:46 +01:00
Alug
2b725560cc
add banandrag rumble lol
2025-01-13 08:28:36 +01:00
Alug
9f9cb833f0
add slight fadeout to spinout rumble
2025-01-13 08:28:22 +01:00
Alug
f88290d34e
kill unarchivevaluedemo
...
just pass if we load from replay or not and do stuff accordingly
2025-01-13 08:24:56 +01:00
Alug
157ff2df4f
make gamestate download show total gamestate size
2025-01-13 08:24:38 +01:00
Alug
a9117573fb
add colourized speedlines
...
smth i had laying around in lugstuff
2025-01-13 08:23:02 +01:00
Alug
cea28c591f
slight cleanup minimap head stuff
2025-01-13 08:22:39 +01:00
Alug
b963146faa
split ra wheel and position number hud offsets
...
kinda ass due to the preset offset, but will just not apply if either was changed from its original position
2025-01-13 08:22:06 +01:00
Alug
181c948e86
toggle for camera turnaround on timeover
2025-01-13 08:21:58 +01:00
Alug
d3b8e11783
one line this
2025-01-13 08:21:31 +01:00
Alug
b3b19eff49
this doesent work out
...
breaks some textures not appearing on some maps
2025-01-13 08:04:10 +01:00
Alug
67aa31439b
dont rumble in freecam state
2025-01-12 17:25:57 +01:00
Alug
ff895f3251
fix frame flag clash
2025-01-11 19:54:28 +01:00
Alug
130c1aba67
put random direction light toggle into advanced video options
...
also make it a scoll menu
2025-01-11 18:10:24 +01:00
Alug
a07c2f4c32
reinit random maplight on mapchange when toggled
...
the condition may otherwise not change the light if you restart the same map
2025-01-11 08:52:49 +01:00
Alug
96b7a4efe6
add FF_ABSOLUTELIGHTLEVEL
...
mobj_t.lightlevel is absolute instead of relative when set
2025-01-11 08:33:02 +01:00
Alug
124b2ff431
add encore variants of maplight
2025-01-11 08:32:59 +01:00
Alug
c1ec72e606
oops
2025-01-11 08:28:57 +01:00
Alug
ef1faf9f68
those somehow got lost
2025-01-11 08:26:12 +01:00
Alug
02595b9ea6
forgor this
2025-01-11 07:50:25 +01:00
Alug
c1514635b0
if disabled and no soc overrides light behave like vanilla
...
always apply wall and slope contrast pls
2025-01-11 07:50:22 +01:00
Alug
e5e7205c95
change how randomized light works
...
so it doesent kill actual soc set randomlight if you toggle it
2025-01-11 07:26:44 +01:00
Alug
f8d1bf0811
Merge branch 'Saturn-Next' into directionallight
2025-01-11 07:26:37 +01:00
Alug
a1f185b0f0
Merge pull request #148 from Indev450/checkposopti
...
Dont always call R_PointInSubsector if thing has not moved in P_CheckPosition
2025-01-11 01:37:07 +01:00
Alug
8981ae3117
Merge pull request #156 from Indev450/precipthinklist
...
Add a seperate thinkerlist for precipmobjs only
2025-01-11 01:36:23 +01:00
Alug
2a948ca4c2
move this
2025-01-10 22:46:52 +01:00
Alug
d9f0c55fee
"Invinciblity"
2025-01-10 22:31:46 +01:00
Alug
50d2bf5d8d
seperate game turn axis from cam turn axis
...
both are bound to the same value by default, so vanilla controls remain intact
theres no other good way to have gamepad controls for this sadly
2025-01-10 22:28:34 +01:00
Alug
d39fd5bb5c
strafe controls for speccam/freecam
...
TODO: seperate cam turning axis from gameplay turn axis for gamepads
2025-01-10 22:28:31 +01:00
Alug
1a9865ebc4
this should also use unpaused rendertimefrac
2025-01-09 17:27:25 +01:00
Alug
a11227b15a
fix postimg data types mismatch
...
also remove the "postimgflag_t" typedef since its useless
and use smoler type for everything we dont need much space lol
2025-01-08 18:34:24 +01:00
indev
38b52b826a
huh
2025-01-08 12:00:41 +03:00
Alug
51e367a61d
move saturn hud cvars to k_kart and fix driftgauge extra showing
...
if there is no patch for it
its kinda dumb, since technically would allow to not load all of em
but im lazy and dont wanna change possiblevalues around
2025-01-08 04:10:05 +01:00
Alug
165803c95c
toggle for smol positionnum and posnum animation
2025-01-08 04:10:02 +01:00
Alug
d01ed38895
fix "connect" command not saving to last server
2025-01-08 03:23:37 +01:00
Alug
cdfef0f884
oops forgor those
2025-01-08 01:50:26 +01:00
Alug
ddc8e4a29e
clean up gamepad led stuff
2025-01-08 01:47:05 +01:00
Alug
f74cd97c4b
clean up this mess a little
2025-01-08 01:33:55 +01:00
Alug
bb91d8e1e3
dont rumble in freecam + player fix
2025-01-08 01:33:49 +01:00
Alug
ee8fd22f36
oops fix software lel
2025-01-08 01:33:46 +01:00
Alug
c0d4599a35
TEST: revert sleep stuff for now
...
dedi may sometimes get stuck here somehow
2025-01-07 23:48:41 +01:00
Alug
5c5a5e200e
fix fbo crap once again
2025-01-07 20:18:39 +01:00
Alug
864d747e3b
check if subsector has sector before assigning
2025-01-07 19:49:54 +01:00
Alug
d41b6c185a
fix freecam aim getting stuck and other issues
...
- gamepads now aim like they used to and at same speed as keyboard
- aim reset has been changed so it resets automatically, but also can be manually reset with centerview
- aiming is locked during cam reset
2025-01-07 18:47:26 +01:00
Alug
03e45f4590
check for cam subsector
...
since we can move it around and i added this to freecam mode, subsector may be null for reason so better be safe than sorry
2025-01-07 16:31:04 +01:00
indev
ce31ceda65
If available, add map title into crash log
2025-01-07 14:52:58 +03:00
Alug
c8737bd43f
make this more complicated due to a "-"
2025-01-06 22:50:24 +01:00
Alug
eff6b31ee8
change director toggling handling
...
- now not changable over console anymore, bind only!
- it doesent save anymore so its always disabled at game start
- moving while in spec state will disable director when active so stand still
- disable it in splitscreen completely
- only adjust view when toggling it on
2025-01-06 22:41:20 +01:00
Alug
03259aeca0
let postimg stuff also apply to freecam
2025-01-06 22:41:18 +01:00
Alug
dbb5c1482b
add a little extra safety here ig
...
this crashed on levelload once so idk maybe player was null ig
2025-01-06 20:36:31 +01:00
Alug
afa66d0418
double the slack for slep
2025-01-06 20:36:25 +01:00
Alug
7177b396e0
any of those may be NULL in MakePatch
...
no idea but this crap keeps crashing in some other place every single time i add a check somewhere else
2025-01-05 23:02:36 +01:00
Alug
e796f7e81f
thats not timedemo lel
2025-01-05 21:25:01 +01:00
Alug
890779713a
turn off any active menus when using demo play commands
2025-01-05 21:24:03 +01:00
Alug
c4c995a9a3
disable pause vhs effect when in freecam mode
2025-01-05 20:37:49 +01:00
Alug
718fe7e8ae
slight slep optimization
...
https://git.do.srb2.org/STJr/SRB2/-/commit/1da55066d43ed6a0cb666999c20316bef463024b?merge_request_iid=2583
2025-01-05 20:14:54 +01:00
Alug
1d8be20962
disable director while in replay freecam
2025-01-05 19:02:01 +01:00
Alug
a90c51ec0f
no u may be used uninitialised
2025-01-05 18:54:08 +01:00
Alug
077076532f
slight cleanup buildticcmd
2025-01-05 18:54:05 +01:00
Alug
7ca2051f84
Adjust slack based on precision
...
https://git.do.srb2.org/STJr/SRB2/-/commit/d20552c49d9fd6a2075ebd7d46b0b133c69f1dbe?merge_request_iid=2583
2025-01-05 18:53:32 +01:00
Alug
8ff5cc7cbb
---------
2025-01-05 15:11:25 +01:00
Alug
92649a393d
dont cast "infinity" to int lel
2025-01-05 01:11:57 +01:00
Alug
98db1a5757
Further improve sleep accuracy on UNIX systems
...
hanichad https://git.do.srb2.org/STJr/SRB2/-/merge_requests/2583
2025-01-05 01:11:54 +01:00
Alug
e53c6bb4da
reduce ternary hell a little lel
2025-01-04 21:54:53 +01:00
Alug
5c8b318a93
make float and sink use accel and brake again but also keep rebindable controls
...
keeps intended behaviour since we now dont need to worry about player controls anymore
but keeps the rebindable buttons incase someone wants to do a crazy control setup for some reason
2025-01-04 21:04:04 +01:00
Alug
029907a87a
Merge branch 'Saturn-Next' into freecamstuffs
2025-01-04 19:46:42 +01:00
Alug
2f4a113685
more hAx: dont move player during freecam state besides hop and honk
...
useful if you wanna take pics and dont feel like driving away
2025-01-04 19:38:08 +01:00
Alug
f512a08051
dont do this while not in replay
...
this is kinda awkward tbh, but its useful for replay stuff
2025-01-04 19:38:05 +01:00
Alug
338bcf0d2d
forgor about lookback ig
2025-01-04 02:30:01 +01:00
Alug
8cb7396f33
check for consoleplayer since displayplayer is who youre watching
2025-01-04 02:29:57 +01:00
Alug
b69bb85003
remove redundant stuff
...
can just set this all the time, its only used when menu is active anyways so it doesent matter if we set it
2025-01-04 02:29:23 +01:00
Alug
f9b1071539
simplify this
2025-01-03 19:44:10 +01:00
Alug
7d47834e55
oops smol error
2025-01-03 19:44:03 +01:00
Alug
2e1120dc50
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-01-03 19:43:59 +01:00
Alug
64a2fe1410
clean shit up even more + fix cam aiming reset
...
dont really care about which input anyways.
2025-01-03 19:43:45 +01:00
Alug
caa09cbcfb
try and clean up this mess
...
+ fix cam angle being wrong when you switch to freecam from viewing someone
2025-01-03 19:43:36 +01:00
Alug
ba4329e623
add another local ticcmd builder so it can guess if we "moved" and put us into freecam state and shit
2025-01-03 19:43:32 +01:00
Alug
575e46c3db
let playercmd lua hook run during "spectator" input crap lmao
2025-01-03 19:43:19 +01:00
Alug
45237c9298
fix unitialised use of controller stuff
2025-01-03 19:43:10 +01:00
Alug
7de32c74e6
move spectator hack after pause/desynch code
...
this should take priority over everything
2025-01-03 19:43:04 +01:00
Alug
01b942e1fc
giga shizo spec synch "fix"
...
ok so, for whatever dumb reason, spectatormovement will desynch at random, even on localhost.
with this we just literally fucking ignore almost every button input locally and just wont move our spectator player at all.
but since we are indeed still runiing specatotr movement code, and this is localcmd shit, the server just thinks we dont want to move and thus is "synchsave".
sadly this does not fix desynchs from vanilla players
the only code we keep is for button inputs that do certain actions like "item" so we can still join from spec with it and other crap
2025-01-03 19:42:58 +01:00
Alug
3388d35fe0
fix encore mirroring not applyingg to freecam/democam
2025-01-03 16:41:01 +01:00
Alug
2f014bb505
apparently this is slower for everything but rendering
2025-01-03 15:56:46 +01:00
Alug
f9f7090b63
save subsector checks for dedi
2025-01-03 15:56:04 +01:00
Alug
0bc95e4b5e
speed up camera position checks
2025-01-03 15:55:52 +01:00
Alug
c5b70ccc4a
do NOT repeatedly call M_Responder!!
...
"thread safety" or smth
also put stuff into two seperate functions, since i started hating nesting
2025-01-03 15:55:07 +01:00
Alug
8b94aded16
smol fix
2025-01-03 15:54:52 +01:00
Alug
e105d8f51e
apparently this is slower for everything but rendering
2025-01-03 15:54:44 +01:00
Alug
30dc0abc25
move camera noclip stuff into its own function
...
its not used in kart anyways and moving it makes crap more readable
2025-01-02 17:09:34 +01:00
Alug
a7a6e9edfc
move camera noclip stuff into its own function
...
its not used in kart anyways and moving it makes crap more readable
2025-01-02 17:09:13 +01:00
Alug
854cb7ee49
this doesent work for us
2025-01-02 05:21:40 +01:00
Alug
f7ca8fb943
add speccam playerflag
...
the other thing was weird and dumb lol
2025-01-02 04:54:25 +01:00
Alug
54fda32591
logic error lmao oops
2025-01-01 21:53:01 +01:00
Alug
5d44b44558
use FRACUNIT in rumbleticker + some changes
...
- brakedrift will now add to any rumble thats currently going on
- both hyu and invul now rumble less heavy on offroad
2025-01-01 21:34:14 +01:00
indev
e321d759c0
Thats not defined or used anywhere, bad automerge maybe?
2025-01-01 20:01:54 +03:00
indev
bb3a65f8ff
Repurpose ST_DrawTextInput into M_DrawTextInputScroll, and move its definition into m_textinput.c. M_DrawTextInput is now a macro using M_DrawTextInputScroll
2025-01-01 19:59:25 +03:00
Alug
8da59dc288
slightly cleanup rumble and led ticker
2025-01-01 17:37:00 +01:00
Alug
8f0c5fb508
always close any menus when using "connect" command
2025-01-01 17:19:32 +01:00
Alug
5e1d43b5af
those will never be changed ever
2025-01-01 17:19:29 +01:00
Alug
487018f146
hack: only let freecam for spec move when youre actually able to move as spec
...
cause kart weird, and we cant remove the spec movement due to synch reasons
and letting the cam move instantly instead of waiting, may put you in a weird cam position
2025-01-01 05:37:52 +01:00
Alug
3ade8b09c5
move early return even earlier
...
so theres no need to constantly init scale and drawdist
2025-01-01 05:30:31 +01:00
Alug
3180221a42
dont iterate through precip blockmap if there is no precip
2025-01-01 05:30:22 +01:00
Alug
9c37a8472e
move early return even earlier
...
so theres no need to constantly init scale and drawdist
2025-01-01 05:11:31 +01:00
Alug
136d9143e7
we dont really need to check for precipthinkers in the precip thinkerlist
...
also makes precip handling in P_NetUnArchiveThinkers a little safer
2025-01-01 05:11:28 +01:00
Alug
4aad4887fd
dont iterate through precip blockmap if there is no precip
2025-01-01 05:11:25 +01:00
Alug
ffc7832ec7
attempt to optimize column drawers a little
2024-12-31 02:52:30 +01:00
Alug
3910e66905
dont try to chase after your spec mobj lel
2024-12-30 23:11:00 +01:00
Alug
6fcfb9cf36
readd this check lel
2024-12-30 22:21:38 +01:00
Alug
83d2ade699
seperate thinkerlist for precip
...
i sure hope i handled everything right lmao
2024-12-30 18:00:18 +01:00
Alug
fef98e478d
add extra driftgauge option before i forger about it again
2024-12-30 17:55:50 +01:00
Alug
f7ba260717
just skip missing/broken fields in musiccredit handling
...
like vanilla kek
still will throw warnings but atleast will show stuff if theres anything left in the musicdef
2024-12-30 17:53:06 +01:00
Alug
82f9f2f73f
delet all the hardware sound crap
...
psure it doesent even properly work at this point
2024-12-30 17:51:57 +01:00
Alug
182500c2d2
fix potential Fix segfault when aborting HTTP download
2024-12-30 17:34:45 +01:00
Alug
aca48d45b3
fix potential crash with perfstats
...
https://git.do.srb2.org/STJr/SRB2/-/merge_requests/2576
2024-12-30 17:34:40 +01:00
Alug
b2823c81e4
fix jitter when toggling freecam off
2024-12-30 11:34:40 +01:00
Alug
761df3f2cf
hide director control stuff for others than player 1
2024-12-30 11:30:53 +01:00
Alug
6f3443232e
Merge branch 'Saturn-Next' into freecamstuffs
2024-12-30 11:30:46 +01:00
Alug
588dac343e
dont disable this.... if its disabled kek
2024-12-30 11:24:23 +01:00
Alug
aa222b6861
slight cleanup director
2024-12-30 11:10:41 +01:00
Alug
6d01ec4c55
dont need this anymore
2024-12-29 19:46:44 +01:00
Alug
f72c64d7d1
fix some potential issues with viewinterp
...
now unpaused disabled interp on netlag
also fixes screencoord stuff not being interpolated during pause
2024-12-29 19:46:41 +01:00
Alug
92a3e974b0
fix driftgauge showing with freecam while ingame
2024-12-29 19:46:35 +01:00
Alug
7d6cce5881
readd cam cmd stuff
...
cause it may break the cam in replays or smth a
2024-12-29 19:46:33 +01:00
Alug
b3323b7c2d
change error msg
2024-12-29 17:45:28 +01:00
Alug
70e64d9471
reset demo recording in those places
2024-12-29 17:43:21 +01:00
Alug
cbc3f8e917
add warning for non allocated demobuffer
2024-12-29 17:39:02 +01:00
Alug
55dfdc723f
fix demo playback
2024-12-29 17:24:45 +01:00
Alug
27d6447a83
fix wrong cam default controls
2024-12-29 16:51:18 +01:00
Alug
26480882c8
remove the remainder or demo.freecam
2024-12-29 16:43:34 +01:00
Alug
b23020435f
replace all this crap with either stplyrnum or R_GetViewNumber
2024-12-29 16:43:09 +01:00
Alug
267e2be69b
fix offbyone issue
2024-12-29 16:42:33 +01:00
Alug
2112be8ef7
Merge branch 'Saturn-Next' into freecamstuffs
2024-12-29 16:16:49 +01:00
Alug
e5ee978eb2
Merge branch 'Saturn-Next' into delaynetxcommand
2024-12-29 16:16:33 +01:00
Alug
55fd31894b
Merge branch 'Saturn-Next' into checkposopti
2024-12-29 16:15:23 +01:00
Alug
189d9adef5
Merge branch 'Saturn-Next' into fixdupeacks
2024-12-29 16:15:00 +01:00
Alug
44288a5865
Merge branch 'unglobsavep' into Saturn-Next
2024-12-29 16:04:21 +01:00
Alug
66f89fb4ad
oops
2024-12-29 16:03:56 +01:00
Alug
eceb671ea8
add missing include
2024-12-29 16:02:05 +01:00
Alug
a15615a229
add missing include
2024-12-29 16:01:35 +01:00
Alug
8e10bcc739
add a bunch of extra checks into demo stuff
...
buffer may be NULL in some cases
should fix dedis crashing when replay recording is disabled
2024-12-29 15:59:10 +01:00
Alug
22e65cd5e7
fixup conflicts
2024-12-29 15:58:43 +01:00
Alug
72383520cb
Merge branch 'Saturn-Next' into unglobsavep
2024-12-29 15:51:25 +01:00
Alug
38ef55b869
add a mipmap check here ig
2024-12-29 15:41:28 +01:00
Alug
ca09a5dd46
dont need to do this twice
2024-12-29 06:41:11 +01:00
Alug
11546cd906
fix centerview
2024-12-29 06:41:07 +01:00
Alug
4110130ca7
block freecam toggling when player is in spec
2024-12-29 06:41:04 +01:00
Alug
6b9900ad4e
clean up cam stuff for good
2024-12-29 06:41:00 +01:00
Alug
3d39f50388
make function to return button names
...
to use with new rebindable cam controls
2024-12-29 06:03:10 +01:00
Alug
f355b2269c
toggle off freecam when f12ing
2024-12-29 05:42:31 +01:00
indev
da9c19bba4
Update replayfreecam lua global to use camera.freecam for currently viewed player
2024-12-28 18:48:58 +03:00
Alug
3156851554
fix cam interp during pause again
2024-12-28 04:01:21 +01:00
Alug
a19cb5f2bc
fix speccam again
2024-12-28 04:01:18 +01:00
Alug
2639f94dff
fix freecam not being steerable when not in spec
...
ugh this is godawful
its literally almost a complete copy of
2024-12-28 03:44:32 +01:00
Alug
2c769f8043
changable freecam speed
2024-12-28 01:46:20 +01:00
Alug
332f7db32f
make freecam work in splitscreen
...
banish cameracmd shit
2024-12-28 01:46:17 +01:00
Alug
3381f6af3a
set default controls for float and sink ig
2024-12-28 01:46:12 +01:00
Alug
45d33b951c
add alternative cam float and sink buttons
2024-12-28 01:46:09 +01:00
Alug
1922b32799
add bindable freecam toggle
2024-12-28 01:46:06 +01:00
Alug
6bb72c363f
fix freecam not being interpolated when ingame
2024-12-28 01:46:03 +01:00
Alug
378382f3ad
use demo freecam for spec
...
its more versataile and lets you pass through walls and floors just like in replays
2024-12-28 01:45:59 +01:00
Alug
7e09493cf2
whoops this never did anything lol
2024-12-26 16:01:49 +01:00
Alug
126fce9119
1px
2024-12-26 01:08:12 +01:00
Alug
0b5879ffb3
fix compile
2024-12-26 01:00:52 +01:00
Alug
0bd2c6220d
drifgauge gfx using the extra 3 speedometer sticker
...
arsepain
+ smol cleanup colorhud
2024-12-26 01:00:27 +01:00
Alug
a434ce2080
super smol optimizations
2024-12-26 00:57:19 +01:00
Alug
c8193380e7
make some cam stuff behave exactly like vanilla again
...
no clue if this changes anything at all, but cam stuff be causing so many issues id rather just have it behave like it used to
2024-12-23 17:45:59 +01:00
Alug
e38580c9c2
dont remember removing this in s_sound
2024-12-23 17:45:54 +01:00
Alug
c46ff7daff
use P_MobjWasRemoved for HWR_DrawSprite
2024-12-22 21:19:08 +01:00
Alug
d2ca916043
settable mobj lightlevel from lua
2024-12-22 20:58:23 +01:00
Alug
09e901b31b
readd mobj lightlevel field so i dont have to edit frameflags
2024-12-22 20:58:20 +01:00
Alug
4418653edb
Merge pull request #147 from Indev450/refactorogl
...
Refactor OpenGL library handling
2024-12-22 19:22:12 +01:00
Alug
1d9bcaa786
Merge branch 'Saturn-Next' into refactorogl
2024-12-22 19:21:27 +01:00
Alug
8bd943eb71
Merge remote-tracking branch 'origin/Saturn-Next' into directionallight
2024-12-22 18:57:38 +01:00
Alug
b24c59ce55
fix compile
2024-12-22 18:38:57 +01:00
Alug
0290c738e1
fix compile
2024-12-22 18:38:39 +01:00
Alug
0acb8e6a63
fix compile
2024-12-22 18:38:31 +01:00
Alug
27bfd0078c
fix compile
2024-12-22 18:38:17 +01:00
Alug
a98ab3d823
Merge branch 'Saturn-Next' into checkposopti
2024-12-22 18:25:10 +01:00
Alug
bbf4de4f5e
Revert "add P_CheckPositionShadow just for shadow mobjs"
...
This reverts commit 7edce19c9c .
2024-12-22 18:25:03 +01:00
Alug
f20297b5dd
Merge branch 'Saturn-Next' into delaynetxcommand
2024-12-22 18:24:17 +01:00
Alug
b4521643b2
Merge branch 'Saturn-Next' into fixdupeacks
2024-12-22 18:24:08 +01:00
Alug
67a75730d0
Revert "massive cleanup unused code"
...
This reverts commit e35612a6f6 .
2024-12-22 18:23:38 +01:00
Alug
d12369f6f4
add some ()
2024-12-22 01:47:14 +01:00
Alug
4a7ce87ac2
do the same for R_ProjectPrecipitationSprite
2024-12-22 01:44:33 +01:00
Alug
d8b36ef0da
dont put potential null mobj into interpolation stuff
2024-12-22 01:42:51 +01:00
Alug
1341ec80bf
dont dereference potential null mobjs in software projectsprite
2024-12-22 01:40:52 +01:00
Alug
9882291828
compiler pls shut up
2024-12-22 01:32:05 +01:00
Alug
aa4fa1e42e
use P_MobjWasRemoved and null check for thing subsector in projectsprite
2024-12-22 01:32:01 +01:00
Alug
8a641d3e37
fix fade to menu again oops
2024-12-20 18:23:27 +01:00
Alug
317f5f8d48
fix no fbo compile
2024-12-20 18:23:25 +01:00
Alug
92c0ddd068
always reset those just in case
2024-12-20 11:35:30 +01:00
Alug
4f037896db
oops this is lugstuff only lel
2024-12-20 11:27:49 +01:00
Alug
494a87feea
idk just set to false here too
2024-12-20 11:19:18 +01:00
Alug
4a3af6bc8a
whoops
2024-12-20 03:17:20 +01:00
Alug
0c7851bd26
try to clean up downsampling and resolution checking stuff
...
- global function that updates variables with current display resolution
-smol boolean function that quickly checks if the game res matches the desktop res
- i_downsample has been simplyfied a bit
2024-12-20 03:13:17 +01:00
Alug
5b46ae2eb9
better nvidia xwayland workaround handling
...
what in the world was i thinking????
2024-12-20 03:12:57 +01:00
Alug
2034eedbe4
add another early return
2024-12-20 01:21:09 +01:00
Alug
fde4f64b83
simplify this crap and make compiler happy
2024-12-20 00:59:46 +01:00
Alug
404927c53c
no
2024-12-20 00:59:22 +01:00
Alug
e0796b0cf1
just query this once
2024-12-20 00:59:18 +01:00
Alug
8df8749a9c
return false here
2024-12-20 00:58:41 +01:00
Alug
1c2fb14f45
makes no sense without screen tex
2024-12-20 00:58:35 +01:00
Alug
82f70ff75e
fix compile due to missing am_map.h include
2024-12-19 22:42:22 +01:00
Alug
46b2d5fbcd
fix compile without USE_FBO_OGL
2024-12-19 22:40:28 +01:00
Alug
23b2e35dbd
use slightly diff maths for skydomevertex calc
...
from DSDA-Doom
maybe fixes some issues with certain skydomes?
2024-12-19 20:56:25 +01:00
Alug
a576ddf0e4
oops
2024-12-19 20:43:05 +01:00
Alug
df63b3ece0
add "listmapthings" and "listunusedsprites" commands
...
the former also shows duplicated mapthings
2024-12-19 20:34:10 +01:00
Alug
3174d8fb1c
Fix segfault when sending excessively large netcmds
...
https://git.do.srb2.org/STJr/SRB2/-/merge_requests/2568/diffs?commit_id=457b761d9301b1904c414a8e8ba908f74b9ab959
2024-12-18 19:40:36 +01:00
Alug
bed0e65548
potential fix for clients locking up due to never receiving acks back
...
apparently, if the client doesent receive an ack back which may happen due to duplicate packets/bad net conditions, it may spam resend the packet until its netxcmd buffer is full and locks up
2024-12-16 22:01:32 +01:00
Alug
1357978596
init textcmdbuf to NULL
...
just in case
2024-12-16 21:58:51 +01:00
Alug
c5765c20bc
delay NetXCmd´s instead of dropping them when the buffer is full
...
credits and many thanks to Hanicef!
https://git.do.srb2.org/STJr/SRB2/-/merge_requests/2568
2024-12-16 21:58:48 +01:00
Alug
52cd614613
prevent potential crash if viewmobj was removed
2024-12-16 16:38:03 +01:00
Alug
db04046cb3
smol fix for gamma stuff
...
-dont apply gamma adjust when gamma is on default value
-fix saturation not being applied on console on OpenGL without paletterendering
2024-12-16 15:48:33 +01:00
Alug
5ec48f72e0
fix changing gamma absolutely trashing performance
...
not quite sure why it made stuff die so much but uhhh
instead i just check in the cube initialistion function instead and only let it build when needed to not change how the game looks with raised gamma values
2024-12-15 22:14:57 +01:00
Alug
909307f5ce
only check if polyobjcst are on the map
2024-12-14 22:50:11 +01:00
Alug
7c7582f09b
forgor about cameracheckposition
2024-12-14 22:50:07 +01:00
Alug
6f6dff4897
only check for polyobjects in the blockmap if there even are polyobjects
...
this saves the trouble of iterating through the blockmap every single time P_CheckPosition is called if there are no polyobjects present on the map
2024-12-14 22:50:04 +01:00
Alug
8611e70ba3
smol calc optimization P_Checkposition
2024-12-14 22:50:00 +01:00
Alug
7edce19c9c
add P_CheckPositionShadow just for shadow mobjs
...
its basically just R_GetShadowZ from the render based shadows from srb2 lmao
hope this is synchsafe
2024-12-14 22:49:57 +01:00
Alug
de52b1663d
Merge branch 'Saturn-Next' into checkposopti
2024-12-14 22:49:50 +01:00
Alug
7a1c6bd9e4
slight cleanup K_GetScreenCoords and related functions
...
mostly just reducing scope and adding const clarifyier
also use mobjwasremoved checks everywhere instead of just simple null checks for some safety
2024-12-14 21:20:03 +01:00
Alug
d8fe3920b1
fix papersprite lightlevels again kek + remove shit that does nothing
2024-12-14 17:14:20 +01:00
Alug
75af036fcf
seems like you CANNOT apply dispoffset to papersprites
...
well then
2024-12-14 16:53:34 +01:00
Alug
accc9890df
fix inverted papersprite roll
...
oopsie
2024-12-14 16:53:31 +01:00
Alug
a920556feb
fix papersprite directional light
...
uhhh idk??
also passes papersprite bool directly instead of rechecking every frame for it
2024-12-14 16:53:23 +01:00
Alug
351cb4a1ac
Merge branch 'Saturn-Next' into directionallight
2024-12-14 16:53:20 +01:00
indev
cb97973b1c
Merge pull request #150 from utkumaden/Saturn
...
Fixed gr_glinfo crash when there are way too many extensions present.
2024-12-12 19:21:15 +03:00
themixedupstuff
331f09cdd9
Fixed gr_glinfo crash when there are way too many extensions present.
2024-12-12 19:17:04 +03:00
indev
939084d57b
Avoid overflowing CONS_Printf's buffer by using vsnprintf
2024-12-12 18:47:35 +03:00
indev
1cbfc71fc6
Revert "Change gl_extension to use glGetStringi instead of glGetString"
...
This reverts commit 7b550200f0 .
Not supported on opengl version before 3.0 unfortunately
2024-12-12 18:03:16 +03:00
indev
7b550200f0
Change gl_extension to use glGetStringi instead of glGetString
2024-12-12 17:52:36 +03:00
indev
665a11fa2b
Merge branch 'Saturn-Next' into refactorogl
2024-12-12 14:38:59 +03:00
indev
1a49b161cc
Merge pull request #146 from utkumaden/Saturn
...
Add gr_glinfo.
2024-12-12 14:34:32 +03:00
Alug
99e4870a52
check for the flag first
2024-12-12 02:31:44 +01:00
Alug
13ad27bc90
remove some precip code dupe
2024-12-12 00:30:54 +01:00
Alug
7ae361cb7c
better cv_lessprecip handling
...
idk what i was thinking lmao
2024-12-12 00:11:50 +01:00
Alug
0e1bfbb0b5
clean up hw_cache stuff + fix accidental wrong cast
2024-12-11 23:24:00 +01:00
Alug
3dec352245
smol cleanup GL_SetBlend
...
use early return since i likeit more
2024-12-11 22:14:20 +01:00
Alug
8e273a1f19
GL_UpdateTexture can be static
2024-12-11 22:14:17 +01:00
Alug
1ab20814e9
simplify GL_SetPalette
...
can just copy the whole struct
2024-12-11 14:39:38 +01:00
Alug
37649a0d3c
more cleanup GL_UpdateTexture
...
also some optimizations
2024-12-11 14:23:51 +01:00
Alug
f3d1bf1106
clean up GL_UpdateTexture
...
use switches and reduce code dupe
2024-12-11 14:23:48 +01:00
Alug
93311c628e
Merge branch 'Saturn-Next' into refactorogl
2024-12-11 14:23:42 +01:00
Alug
f8dfc954a0
test "or"
2024-12-11 03:11:33 +01:00
Alug
dbe5f8a4ba
clamp splitsprite heights aswell
2024-12-11 01:26:04 +01:00
Alug
a05c38b1fe
those should better be clamped oops
2024-12-11 01:25:55 +01:00
Alug
91b6143f15
clean up this stuff; make splitwall behave more like vanilla
...
changes some splitwall issues slightly but gives bit better performance in some cases
2024-12-11 01:25:52 +01:00
Alug
0eaedd4b5e
"extra safety"
2024-12-11 01:25:42 +01:00
Alug
727a31fdb5
one line those
2024-12-10 21:18:20 +01:00
Alug
3b64263dc6
Unconditionally interpolate view
...
even if it may NOT change
but i get the feeling it may cause some issues
2024-12-10 21:18:17 +01:00
Alug
83b6a63f13
dont pass fwrapv to compiler flags
...
this technically changes behavior of some things, even if it MAY fix some undefined behaviour
2024-12-10 21:18:14 +01:00
Alug
f6f6600118
interp.subsector is unused
...
so dont need to assign it nor call pointinsubsector for nothing
2024-12-09 23:20:07 +01:00
themixedupstuff
04c0bf2f17
Fix compiler warning on implicit GLuint* to GLint* conversion.
2024-12-09 17:30:04 +03:00
Alug
4da9c5ac07
"P_CheckSightFast" for lua
...
should be faster than normal P_CheckSight
only to be used for things like nametags etc so nothing gameplaywise as it will desynch
2024-12-09 10:53:11 +01:00
Alug
97cae4de59
smol things
2024-12-09 10:53:08 +01:00
Alug
9d1bef9ab9
i love menus
2024-12-09 10:19:32 +01:00
Alug
74088c1d26
use loop instead of memcpy for setpalette
...
idk last time this died with models for some reason kek
2024-12-08 15:43:46 +01:00
Alug
b03e74c366
rename to "hw_gl"
2024-12-08 15:39:52 +01:00
Alug
cd9ee7d139
smol cleanup
2024-12-08 15:31:41 +01:00
Alug
3080f2953d
optimized checksight for nametags and camera
...
idk should this be exposed to lua too?
2024-12-08 15:26:40 +01:00
Alug
f7c7dae3a5
smol cleanup p_sight
2024-12-08 15:14:04 +01:00
Alug
3f16f42adf
forgor
2024-12-08 05:03:36 +01:00
Alug
feeb2d0f1a
use early return
...
no need to check for all this crap if we can use it anyways
2024-12-08 04:39:12 +01:00
Alug
4c680808c1
dont always call R_PointInSubsector if thing has not moved
...
R_PointInSubsector is quite expensive
needs alot of testing
2024-12-08 04:22:03 +01:00
Alug
13a5909c3f
oop
2024-12-08 04:13:16 +01:00
Alug
40be4d25a5
menu oopsie
2024-12-08 04:07:05 +01:00
Alug
d84f887be8
clear maplight on toggling
...
so you only have to wait until nextmap for effect to do smth instead of game restart
2024-12-08 04:07:03 +01:00
Alug
7b2e763d07
inline those two
...
smol speedup
2024-12-08 03:34:19 +01:00
Alug
bc29d77aff
menu entry
2024-12-08 03:31:53 +01:00
Alug
8db2e646db
oop
2024-12-08 03:28:44 +01:00
Alug
3b2e207b6b
make random directionallight toggable
2024-12-08 03:27:45 +01:00
Alug
f061d66a16
conflict fix
2024-12-08 03:24:58 +01:00
Alug
8c295e8d5f
port rr´s directional light
2024-12-08 03:22:34 +01:00
Alug
c1b771fdc8
fix make files
2024-12-08 03:16:13 +01:00
Alug
e5b12ece35
change this
2024-12-08 03:15:14 +01:00
Alug
43c99f8851
delet this
2024-12-08 03:13:50 +01:00
Alug
7304988071
fix conflitc
2024-12-08 03:12:48 +01:00
Alug
d0b0a7490a
Merge branch 'Saturn-Next' into refactorogl
2024-12-08 03:06:26 +01:00
Alug
de4bcec782
make those less chaotic
2024-12-08 01:34:16 +01:00
Alug
0e843c2a96
stuff
2024-12-08 01:33:53 +01:00
Alug
9abd34baa3
proper macros
2024-12-08 01:33:44 +01:00
Alug
4fca31049f
no need to set all that stuff manually
2024-12-07 12:52:09 +01:00
Alug
13f6b62dc0
port updated skydome code from srb2
...
seems to actually fix some visual issues on certain maps with it
2024-12-07 12:38:53 +01:00
Alug
3a5b282b9b
try less maths for projectionmatrix
...
from dsdadoom again lul
2024-12-07 12:33:13 +01:00
themixedupstuff
d763456655
Add gr_glinfo.
2024-12-05 22:38:47 +03:00
themixedupstuff
b23fa084f1
Add GL_VENDOR string to the list of global GL variables.
2024-12-05 21:54:31 +03:00
Alug
216acf083a
bruh
2024-12-05 14:30:19 +01:00
Alug
686a9f7237
use long M_PI to fix some render issues
2024-12-05 14:30:16 +01:00
Alug
5a206822c5
little extra safety
2024-12-05 08:10:13 +01:00
Alug
9805b03533
reduce the scope of those
...
only this function needs those
2024-12-05 08:08:00 +01:00
Alug
d519f9cf06
try fix keepmusic occasionally not working
...
idk but sometimes DoReborn broke it?
also this ensures keepmusic and skipintromus flags always get reset
2024-12-05 07:58:20 +01:00
Alug
6265d0e38e
why does this need a variable?
...
it just gets assigned kartstuff[k_aizdriftstrat] anyways?
2024-12-04 14:23:06 +01:00
Alug
55d9d64910
clean up this mess
2024-12-04 14:23:03 +01:00
Alug
e2a651e553
make those const
2024-12-04 14:23:00 +01:00
Alug
e4343f0935
only ever call pointtoangle for sprites that really need it
2024-12-04 01:39:17 +01:00
Alug
68090a55e1
change this a little
2024-12-03 21:50:45 +01:00
Alug
00bdd684ed
1463 lmao change this to be readable
...
also raise to 40 secs
2024-12-03 20:52:02 +01:00
Alug
f4e498e559
this may be used unitialised lul
2024-12-03 20:40:05 +01:00
Alug
39c33b1f59
Merge remote-tracking branch 'origin/Saturn-Next' into Saturn-Next
2024-12-03 20:39:54 +01:00
Alug
55acbb208e
try to make demo data handling a bit safer
...
- Use Z_Malloc to allocate demobuffer
- Use Z_Free to free demobuffer
- Make functions for freeing and resseting demobuffer
- Always reset demobuffer when not saving
2024-12-03 20:39:46 +01:00
indev
208f96535e
Add MENUCAPS to some menu options
2024-12-03 22:06:35 +03:00
Alug
64bda53a78
Merge pull request #144 from Indev450/mobjcache2
...
Cache and reuse removed mobjs when spawning mobjs - Take 2
2024-12-02 21:31:25 +01:00
Alug
e016777331
Merge pull request #145 from Indev450/hooklibrefactor
...
Lua Hooklib refactor
2024-12-02 21:31:16 +01:00
Alug
508cab4a0d
Merge pull request #142 from Indev450/fastpoinonside
...
Add R_PointOnSideFast and R_PointInSubsectorFast and use it to optimize some non synch critical things
2024-12-02 21:13:07 +01:00
Alug
b779be3574
Merge branch 'Saturn-Next' into hooklibrefactor
2024-12-02 21:12:16 +01:00
Alug
fddcebc2d2
Merge branch 'fastpoinonside' into mobjcache2
2024-12-02 21:11:18 +01:00
Alug
91c5dc3c19
Merge branch 'Saturn-Next' into fastpoinonside
2024-12-02 21:11:10 +01:00
Alug
9401eb1591
oops revert this just in case
2024-12-02 21:09:58 +01:00
Alug
521bb88cda
gah
2024-12-02 20:58:01 +01:00
Alug
c1765258b2
quickncasehash
2024-12-02 20:57:08 +01:00
Alug
6afcb06e08
forgor
...
- refactored musicdef handling
- other things
2024-12-02 20:56:21 +01:00
Alug
1ae5bb9d27
lugstuff merge
...
- Completely refactor player camera handling
- Refactor ALOT of gamepad code
- Refactor local cmds
- Refactor automap and add minimap generator ("minigen" command)
- Remove a bunch of unused netcode
- Remove ALOT of unused gametype code
- Remove alot of unused bot code
- Optimize some sectorspecial code slightly
- Remove a bunch of nights mode related stuff that was unused
- Bunch of smaller optimizations and code improvements
2024-12-02 20:49:53 +01:00
Alug
252cd5cde5
better fix for netgame join hoop crash
...
this actually works and makes em animate
apparently somehow on netjoin some hprev entries get mangled but are not null?
no clue why that happens since hoops arent even netsynched only their "spawnpoint" is
2024-12-01 22:14:24 +01:00
Alug
12558740a4
better fix for G_FixCamera
...
completely forgor in kart and srb2.1 cmd.angleturn needs to be bitshifted to accomidate localangle
using it again is better, since player mobj angle is not always suitable for localangle and may slightly mismatch where a player is steering
2024-12-01 10:29:06 +01:00
Alug
e1fbe8d657
seems like player not always have mobjs
...
titledemo moment
2024-12-01 10:18:18 +01:00
Alug
b29a3ecfba
this only ever applies to ogl
...
no need in software lol
2024-11-30 23:39:18 +01:00
Alug
bd3a5ac284
give those better names
2024-11-30 23:23:05 +01:00
Alug
7de8b2d881
save one R_PointToAngle call
...
very smol optimisation lul
2024-11-30 22:31:45 +01:00
Alug
3139dff6ba
missed this
2024-11-30 22:04:56 +01:00
Alug
c4211045f2
oops this gets directly called in one instance
...
also why do we keep checking for null mobj when P_MobjWasRemoved checks that anyways?
2024-11-30 21:59:56 +01:00
Alug
6633dfe1e2
smol cleanup
2024-11-30 21:54:55 +01:00
Alug
9e2a48cae1
whoops
2024-11-30 21:54:52 +01:00
Alug
43f8a0213a
sloperoll already has "off" setting, delet spriteroll cvar since redundant
2024-11-30 21:54:48 +01:00
Alug
975978ca9c
this is null anyways if disabled
2024-11-30 21:54:45 +01:00
Alug
dad630f3eb
delet this
2024-11-30 20:29:08 +01:00
Alug
11f8b974df
forgor sliptide roll
2024-11-30 20:28:26 +01:00
Alug
00773a0c10
okay? shut up compiler
2024-11-30 20:09:12 +01:00
Alug
6f6066906e
optimize sprite rotation / sprite drawing a bit
...
- make software and ogl use same variable names
- let papersprites also roll in ogl not just software
- throw pitchnroll calc into a function to reduce code dupe
- save some calcs when having sliptide roll disabled
- fix software not calculating camang when just player roll is enabled (did that ever work right before? oops)
- determine early if the sprite is supposed to rotate, and only if it really does, run the rotation stuff
2024-11-30 20:05:15 +01:00
Alug
7730b69ef4
delete A_RollAngle things
...
they cant be used, since theyre not synchsafe
and nothing uses those anyways
2024-11-30 20:05:13 +01:00
Alug
e3084cc28e
allow demo play commands while watching a demo again
2024-11-29 23:25:58 +01:00
Alug
b784fc58d0
loading not sending
...
just to clarify
2024-11-29 22:25:13 +01:00
Alug
8baa972bb2
this is also redundant
2024-11-29 13:15:59 +01:00
Alug
3b2251017c
use continue instead of huge if block
2024-11-29 12:14:28 +01:00
Alug
f0e7dace72
Merge branch 'Saturn-Next' into mobjcache2
2024-11-29 11:34:03 +01:00
Alug
4a837d3339
Fix buffer overrun with players with no associated node
...
https://git.do.srb2.org/STJr/SRB2/-/merge_requests/810/diffs?commit_id=af9164f336a65634f6908e677b47773d88f583af
2024-11-29 10:41:00 +01:00
Alug
a2aa43e7fc
dont think we need to reset anything here
...
kick cmd gets send out which should clear stuff in theory
2024-11-29 10:40:09 +01:00
Alug
3c0899263f
those are redundant
2024-11-29 10:14:47 +01:00
Alug
91bb601ecb
why?
2024-11-29 10:14:43 +01:00
Alug
1bd0c5d9bf
those dont need to be inlined tbh
2024-11-29 09:37:13 +01:00
Alug
8b76426825
remove dupes
2024-11-29 09:37:10 +01:00
Alug
85464921ba
eh this looks better
2024-11-29 09:37:07 +01:00
indev
9b6034853f
Simplify consistency check a bit
2024-11-28 22:24:51 +03:00
indev
0ab732c9b2
Only check nodes that are in game in SV_ResendingSavegameToAnyone
2024-11-28 22:03:29 +03:00
Alug
8662648ef5
init polyobject thinker->references to 0
...
otherwise they wont get removed alot of the time
2024-11-27 23:00:32 +01:00
Alug
51808b8ced
init polyobject thinker->references to 0
...
otherwise they wont get removed alot of the time
2024-11-27 23:00:16 +01:00
indev
2a7e442544
Use textinput_t for addon search
2024-11-28 00:54:26 +03:00
Alug
dbdd5b8b6e
only apply palrender postprocess shader once
2024-11-27 22:34:48 +01:00
Alug
b8483376c4
dont draw final screen texture twice if you use native res
...
no need to
saves some performance
2024-11-27 22:29:49 +01:00
Alug
70105ccefc
make own screentex for vhs effect
...
idk if its really needed tbh, but also doesent hurt
2024-11-27 17:12:25 +01:00
Alug
3a9082a694
memset screentex to 0 in FlushScreenTextures
2024-11-27 17:10:56 +01:00
Alug
82c18be717
why do replay play commands only have netgame check???????
...
bad things will happen if theyre played ingame regardless of netgame or not
2024-11-27 00:36:29 +01:00
Alug
0d39c2a0f6
we dont even need to check this
...
this doesent do anything with papersprites so dont even call it kek
2024-11-26 22:30:38 +01:00
Alug
4240af23cf
Merge remote-tracking branch 'origin/cleanspriteclip' into Saturn-Next
2024-11-26 22:25:00 +01:00
Alug
80697046d5
clean up spriteclip fix + fix papersprites being affected by it
...
its now its own function HWR_ApplyDispoffset
papersprites are now also unaffected by it, which caused some minor visual issues before (ex zfighting signposts)
also just check for papersprite once and put it into a bool so we dont have to recheck sprite frames and flags 10 times
2024-11-26 20:31:20 +01:00
Alug
765dd72b38
Merge branch 'Saturn-Next' into fastpoinonside
2024-11-26 19:31:59 +01:00
Alug
403b60240f
check for titlescreen music
2024-11-26 19:25:59 +01:00
Alug
f973e6cd72
init polyobj thinker cachable bool
...
otherwise shit will die lol
2024-11-26 19:18:38 +01:00
Alug
5aff1acea8
mobjcache with explicit "true" check
...
just in case smth throws a garbo value and is not actually a mobj thinker
2024-11-26 19:18:34 +01:00
Alug
9e07ca0007
make hud hooks clean up after themselves
2024-11-22 16:04:16 +01:00
Alug
df97bef4b5
Refactor HUD hooks too
2024-11-22 00:40:05 +01:00
indev
b402738428
Fix mobj hooks called for mobj type 0 being interpreted as regular hooks
2024-11-22 01:31:02 +03:00
Alug
2de9a6bb94
forgor to remove those
2024-11-21 22:08:50 +01:00
Alug
fb0c88cf55
Fix -Warray-bounds warning in lua_hooklib.c
2024-11-21 20:34:09 +01:00
Alug
1f6096e3ff
fix pre and post thinkframe perfstats pages
2024-11-21 20:34:06 +01:00
Alug
a4e6b5d177
Fix HurtMsg inflictor mobj type discriminator
...
https://git.do.srb2.org/STJr/SRB2/-/merge_requests/1903
2024-11-21 20:34:03 +01:00
Alug
4477f5ab93
Fix MusicChange hook crashing when called
2024-11-21 20:34:01 +01:00
Alug
11992d2e08
MORE MACROS
2024-11-21 20:33:58 +01:00
Alug
802979b81d
Refactor hook ref allocation
2024-11-21 20:33:55 +01:00
Alug
06d0f5b95b
Automatically count hook values
2024-11-21 20:33:52 +01:00
Alug
da06c84aa4
we dont have key event hooks
2024-11-21 20:33:49 +01:00
Alug
ecae607b59
this is unused for now
2024-11-21 20:33:46 +01:00
Alug
f26717954e
change those to fit rest of style
2024-11-21 20:33:44 +01:00
Alug
a4080980ec
make intermissionthinker use LUA_HookVoid
...
comment out hookbool since unused
2024-11-21 20:33:41 +01:00
indev
3db21bf778
Fix warning regarding MusicChange hook
2024-11-21 20:33:38 +01:00
indev
66518ced75
Add Should- and Player- Spin/Explode/Squish, and ServerJoin hooks into new hook system
2024-11-21 20:33:36 +01:00
Alug
5598526f52
delet serverjoin stuff i forgor and add old should spin stuff
2024-11-21 20:33:32 +01:00
Alug
14ec6e0674
serverjoin hook
2024-11-21 20:33:29 +01:00
Alug
549112822a
port srb2 hooklib refactor (WIP)
...
lol lmao
2024-11-21 20:33:06 +01:00
indev
e1cb858d9a
Players that get 'NO CONTEST' can save replays too now
2024-11-21 22:02:25 +03:00
Alug
1659c2e753
try to make shadows not so offset on slopes with rotation enabled
...
lmaos
2024-11-21 02:11:51 +01:00
Alug
e2222f66a9
those should be SHORT i think?
2024-11-21 02:11:48 +01:00
Alug
8a15b5e640
last attempt at fixing those things
2024-11-20 23:44:35 +01:00
Alug
f499b11113
add R_PointInSubsectorFast for non critical gameplay stuff like sounds and camera
...
and some parts of rendering
2024-11-20 21:27:29 +01:00
Alug
bec632800d
use it for R_IsPointInSubsector
...
this is fine since R_IsPointInSubsector is only used for precip spawn unless you disable noclipcam lol
2024-11-20 21:26:18 +01:00
Alug
a14c2f59b8
rename to R_PointOnSideFast
2024-11-20 21:25:18 +01:00
Alug
e66d215dd3
Fix integer overflows on very large numbers
2024-11-20 21:24:16 +01:00
Alug
809ae20558
use highly optmized (but slightly inaccurate) version of R_PointOnSide for rendering
2024-11-20 21:24:04 +01:00
Alug
7b26ecb5f5
fixed float to integer conversion problems
...
from dsda doom
should hopefully make this behave the same everywhere
2024-11-19 22:10:08 +01:00
Alug
0c2ccc56cd
inline _GetZAt stuff
...
those are very small but frequently used, so cant hurt
2024-11-17 21:42:20 +01:00
Alug
525681b5a5
Merge remote-tracking branch 'origin/Saturn-Next' into Saturn-Next
2024-11-17 21:41:33 +01:00
Alug
c9a3dfcac9
reset pingtable in SV_ResetServer
...
and use some memsets cause they look cooler
also use ClearAdminPlayers simply to make this consistent with the other stuff that resets adminplayers
2024-11-17 21:41:25 +01:00
Alug
a05aab1c7b
Merge pull request #141 from Indev450/interpfixes
...
Some interpolation related fixes
2024-11-17 21:25:42 +01:00
Alug
7dfc638305
make replay/time attack menu support lowercase if toggled, also levelselect addon names too
2024-11-17 14:41:49 +01:00
Alug
3585969285
why is that declared here??
2024-11-17 13:30:37 +01:00
Alug
3361ebe3c5
make menucaps stuff global macro and also apply to downloader text
2024-11-17 13:03:32 +01:00
Alug
ebfd7f3e4e
try make this look less like crap lol
2024-11-17 13:03:18 +01:00
Alug
e2c8a773be
prevent some palrender startup crashes
...
thx srb2 apparently this can be null during init so add some extra safety
2024-11-12 16:23:08 +01:00
Alug
6816c6dd19
add some paranthesis here
2024-11-12 15:44:29 +01:00
Alug
b9e26a7e2f
Merge branch 'Saturn-Next' into interpfixes
2024-11-12 15:44:16 +01:00
indev
38abb4c9e4
That didn't work in spectator camera, oops
2024-11-10 03:26:15 +03:00
indev
fc469d6433
Fix spectating other players setting wrong angle when returning back to local player
2024-11-10 03:18:01 +03:00
Alug
52f1d727c0
Merge branch 'Saturn-Next' into interpfixes
2024-11-09 16:11:08 +01:00
indev
80a29dc5a1
Fix r_portal.c and r_portal.h missing from src/CMakeLists.txt
2024-11-08 11:52:03 +03:00
indev
f4703be2ca
Fix r_portal.c and r_portal.h missing from src/CMakeLists.txt
2024-11-08 11:47:58 +03:00
Alug
7c78cf067c
forgor ifdef here
2024-11-03 15:35:03 +01:00
Alug
54cbfbe699
forgor ifdef here
2024-11-03 15:33:26 +01:00
Alug
05f454157f
Merge pull request #138 from Indev450/Saturn-Next
...
Saturn v7.2
2024-11-03 16:24:00 +01:00
Alug
c451f0f1a6
windoze
2024-11-03 14:23:26 +01:00
Alug
35b85bec36
bleh pls
2024-11-03 14:18:59 +01:00
Alug
b0c64be31d
try to simplify this alteast a little
...
shit is awful
2024-11-03 03:40:55 +01:00
Alug
d09a28e3da
missed this
2024-11-03 03:13:15 +01:00
Alug
550c66b25b
add some more checks for this
2024-11-03 02:59:23 +01:00
Alug
dfec9e24f3
add just a little more extra safety for fbo
2024-11-03 02:44:42 +01:00
indev
2350889445
Fix normal skin being unable to load if localskins limit is reached (thx Alug for pointing out <3)
2024-11-03 00:26:18 +03:00
indev
990854e176
Fix localskins being unable to load if normal skin limit is reached
2024-11-03 00:16:15 +03:00
Alug
8c727b979c
initialise this to null aswell
...
just in case
2024-11-02 14:19:53 +01:00
Alug
60de48ad65
add accurate fps counter crap to menu + rename it to force it back on
...
since shit more or less was broken in saturn before and always showed the more accurate one, force it again since stuff caused confusion
2024-11-02 12:57:17 +01:00
Alug
2fd1abce5c
v7.2
2024-11-02 01:20:02 +01:00
Alug
691a61de72
oops
2024-11-02 01:12:56 +01:00
Alug
3a153c3abe
Merge pull request #137 from Indev450/refactorogl
...
Cleanup and slightly refactor ogl files
2024-11-02 00:57:49 +01:00
Alug
d22645e56a
use a "-" here for consistancy
2024-11-02 00:50:28 +01:00
Alug
08fe3beef1
respect cv_showdirectorhud
2024-11-02 00:49:35 +01:00
Alug
2c54c92e14
spec cam disables director, but you can toggle it from speccam
...
uhhhhhhh
2024-11-02 00:49:32 +01:00
Alug
c127cd9016
fix wanted reticle offsets
...
Zzz...
2024-11-01 20:29:33 +01:00
Alug
9cb790ac23
oops broke encore
2024-11-01 20:01:50 +01:00
Alug
c2c7381bc1
use precalced minimap stuff for v.drawOnMinimap
2024-11-01 19:55:23 +01:00
Alug
1e4eeb2bcf
fix some issues with cv_minihead and minimap icon drawing
2024-11-01 19:55:20 +01:00
Alug
b1f99f8d2f
fix minimap not being initialised
...
causes issues when you switch to maps that dont have a minimap
2024-11-01 18:39:36 +01:00
Alug
f752da7d03
formatting stuff lul
2024-10-31 12:02:48 +01:00
Alug
7ddcf6d0d4
Merge branch 'Saturn-Next' into refactorogl
2024-10-31 11:59:33 +01:00
indev
b21776183e
Add shift+insert shortcut for pasting text
2024-10-30 22:14:17 +03:00
indev
9c0dcac5c6
Fix mapmusname global in lua being renamed to (*mapmusname)
2024-10-30 19:21:07 +01:00
indev
1b75d8b8e2
Fix mapmusname global in lua being renamed to (*mapmusname)
2024-10-30 20:35:17 +03:00
Alug
145e305494
Merge branch 'Saturn-Next' into refactorogl
2024-10-30 16:04:06 +01:00
Alug
8f4d185ea6
Revert "use highly optmized (but slightly inaccurate) version of R_PointOnSide for rendering"
...
This reverts commit 9314a24cb2 .
2024-10-30 16:03:35 +01:00
Alug
4b5ff6be5d
Merge branch 'Saturn-Next' into refactorogl
2024-10-30 15:34:43 +01:00
Alug
d27ef85b9e
remove some unused stuff in portal struct
2024-10-30 13:52:06 +01:00
Alug
1ac210c2fc
improve ogl portal clipping
2024-10-30 13:05:30 +01:00
Alug
878b7f4b43
fix portal culling
2024-10-28 20:25:03 +01:00
Alug
7cbac66935
throw this into an inline func
2024-10-28 20:25:01 +01:00
Alug
7e09223e6e
gu
2024-10-28 16:36:04 +01:00
Alug
b4e1be5bee
dont always call HWR_Startup again
2024-10-28 16:35:44 +01:00
Alug
d3e5e236ac
those do nothing
2024-10-28 16:34:40 +01:00
Alug
238ce98c44
dont always call HWR_Startup again
2024-10-28 07:21:13 +01:00
Alug
2824e5d850
no need to update this witouth water ripples
2024-10-28 06:49:09 +01:00
Alug
cd154d5748
grey out some stuffs in the ogl and advanced video menus
2024-10-28 06:40:23 +01:00
Alug
c0a8153a10
sort those a bit
2024-10-28 06:40:19 +01:00
Alug
3433fc7651
those should be disabled
2024-10-28 06:40:17 +01:00
Alug
22d1ee8f60
move CV_PossibleValue_t to their own section like other files
2024-10-28 06:40:14 +01:00
Alug
5155958ade
add "gl" to secbright and lightdither cvars
...
theyre only used in ogl so follow the naming convention
2024-10-28 05:40:59 +01:00
Alug
5fdd486bab
reorder all of this to be in same order lol
2024-10-28 05:40:56 +01:00
Alug
4672037bcd
check if those are already off before trying to turn them off lol
2024-10-28 05:40:54 +01:00
Alug
2281b82b5a
replace last remaining "gr"
2024-10-28 04:28:25 +01:00
Alug
3fe096c7d4
gr -> gl
...
this has been annoying me since ages lol
2024-10-28 04:23:15 +01:00
Alug
dd3ca0e161
change cvar register order for ogl stuff
2024-10-28 03:39:05 +01:00
Alug
d8da78f900
more cleanup
2024-10-28 03:38:52 +01:00
Alug
9325e7be8f
make a bunch of hwr stuff static and cleanup
2024-10-28 03:38:48 +01:00
Alug
f3f94bf80e
fr*nch
2024-10-28 03:38:36 +01:00
Alug
506dc2455a
fr*nch
2024-10-26 23:24:01 +02:00
Alug
94d6ee15b5
this should be portalcullsector lol
2024-10-26 19:44:32 +02:00
Alug
2d918d32a1
reduce the scope of this since not needed
2024-10-26 19:44:28 +02:00
Alug
dd516b573b
rename this to avoid confusion
2024-10-26 19:31:14 +02:00
Alug
de9698efc8
just use the same as software lol
...
i never saw any differernce except in performance for this
also viewsin and viewcos get calced in r_fps so no need to do here again
2024-10-26 19:29:53 +02:00
Alug
14b026f04b
slight cleanup ogl portals again
2024-10-26 19:29:51 +02:00
Alug
9dd45440c0
rename and slight cleanup
2024-10-26 19:29:46 +02:00
Alug
c59e8387ca
smth smth shadows a global declaration
2024-10-26 19:29:35 +02:00
Alug
772ad9f04f
throw ogl portals into their own files
2024-10-26 19:29:32 +02:00
Alug
6053c2c619
readd mobj null check here
2024-10-26 16:40:08 +02:00
Alug
a515b133c5
inline this since its super smol
2024-10-26 16:40:04 +02:00
Alug
240dae9a1a
move chasecam postimg stuff into own function + add comments for what stuff does lol
...
shit got me really confused
2024-10-26 16:12:43 +02:00
Alug
b8a703233a
forgor to remove this
2024-10-26 00:51:58 +02:00
Alug
bf44c95d00
clean up portals
2024-10-26 00:51:55 +02:00
Alug
c3dd1755dc
port srb2 software portal refactor
2024-10-26 00:51:44 +02:00
indev
b6e766ee44
Fix A_Lua not removing error handler from lua stack
2024-10-25 23:15:52 +03:00
Alug
5437040b78
move the return ealier in V_DoPostProcessor
2024-10-25 20:21:10 +02:00
Alug
c786569981
Merge branch 'refactorpostimg' into Saturn-Next
2024-10-25 20:12:56 +02:00
Alug
7064b14539
Merge branch 'autoloadagain' into Saturn-Next
2024-10-25 20:12:53 +02:00
Alug
f275ae98f5
this is needed for postimg stuff in first person
...
lol
also adds break in splitscreen lööp
2024-10-25 20:12:14 +02:00
Alug
ef07d89e29
Revert "update lzf compression to 1.6"
...
This reverts commit 48e71afec1 .
2024-10-25 19:50:16 +02:00
Alug
b9bbd45e15
Revert "shut up mingw"
...
This reverts commit 75637e361c .
2024-10-25 19:50:10 +02:00
Alug
2bda27b80d
Revert "those should be size_t"
...
This reverts commit b357c09171 .
2024-10-25 19:49:26 +02:00
Alug
6ebf90cc50
Merge branch 'Saturn-Next' into autoloadagain
2024-10-25 03:28:43 +02:00
Alug
ea00bebb04
Merge branch 'Saturn-Next' into refactorpostimg
2024-10-25 03:28:20 +02:00
Alug
b862d835a5
save one calc lol
2024-10-25 03:27:51 +02:00
Alug
d6602747ae
oops forgor lol
2024-10-25 03:26:22 +02:00
Alug
9f79429d03
slight cleanup + make static + smol optimize ogl sprite drawers
2024-10-25 03:26:19 +02:00
Alug
5ff0c09868
just check for noencore bool in hwr_processseg instead of checked line flags everytime
2024-10-23 21:33:31 +02:00
Alug
ad1c3e63a4
why not reuse those?
2024-10-23 21:33:28 +02:00
Alug
24dd6ba675
cleanup HWR_ProcessSeg
...
stuff was quite the mess
2024-10-23 21:33:21 +02:00
Alug
85f036a45b
dont always calc this twice
2024-10-23 21:33:14 +02:00
Alug
6f8342b9a8
remove cv_splitwallfix
...
tbh i dont think anyone even knows about this, never heard any complains, never had any issues, neither visually or performancewise.
its just clutter at this point
2024-10-23 21:33:04 +02:00
Alug
c5c6f6b820
this does nothing
2024-10-23 21:30:21 +02:00
Alug
3d472c34a1
no need to check stuff in already postload marked addons
2024-10-23 15:48:44 +02:00
Alug
63ca366bd8
dont play rain sounds when weather is disabled
2024-10-23 13:00:36 +02:00
Alug
e9e888ab7f
remove debug print
2024-10-23 02:41:28 +02:00
indev
5ea55b3e3a
Add W_CheckFileContains for W_CheckPostLoadList
2024-10-23 02:41:25 +02:00
Alug
8b1797927a
attempt to check for things in file for postload detection
2024-10-23 02:41:23 +02:00
Alug
05a98964fb
split auto and postload, let autoload run on gamestart again
...
prep for smth
2024-10-23 02:41:20 +02:00
Alug
8cbf798de8
redo rain sound overflow fix
...
https://git.do.srb2.org/KartKrew/RingRacers/-/commit/3eac1fed0f44a8285a9f6b82a12e86997bbb0d34
2024-10-23 02:37:32 +02:00
Alug
9314a24cb2
use highly optmized (but slightly inaccurate) version of R_PointOnSide for rendering
2024-10-23 02:37:08 +02:00
Alug
19b1683e61
make those not look terrible thx
2024-10-22 01:18:13 +02:00
Alug
d029107e75
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!
2024-10-22 01:17:57 +02:00
Alug
bc97e0b703
actually remove "renderflags" lol
2024-10-21 22:53:44 +02:00
Alug
f47c663f79
remove renderflags
...
those literally did nothing
2024-10-21 22:47:32 +02:00
Alug
6f9d41eadb
fix R_ThingVisible
...
those are "eflags" in kart smh
2024-10-21 22:46:59 +02:00
Alug
1b512edc56
add proper null check here too
2024-10-21 21:28:08 +02:00
Alug
884a6da2bd
dont use cv_sloperolldist in splitscreen + save some assignments and one fixedhypot call
...
also use tabs lul
2024-10-21 21:07:32 +02:00
Alug
7a3d958fc1
tab pls
2024-10-21 18:43:08 +02:00
Alug
7223581539
Clarify we're calculating a cross product
2024-10-21 18:10:29 +02:00
Alug
664bd2de3f
dont draw fadescreen when minimap iss active
2024-10-21 17:47:44 +02:00
indev
63568e3861
Fix off-by-one error for using '?' as map name
2024-10-21 18:43:37 +03:00
indev
f149d058a1
Fix off-by-one error in lib_setSfxInfo
2024-10-21 18:06:35 +03:00
Alug
970251ced3
also check here ig?
2024-10-21 17:01:27 +02:00
Alug
dba7a7dc3c
prevent map command crash from maps with invalid or non existing mapinfo
2024-10-21 15:37:44 +02:00
Alug
393c0be407
Revert "attempt to optimize some p_maputl stuff"
...
This reverts commit 81d415c5ba .
2024-10-21 14:19:35 +02:00
Alug
5e9ea2429b
replace those two P_MobjWasRemoved with simple null check insteead
...
since those may actually segfault if null anyways
2024-10-21 06:23:14 +02:00
Alug
81a14995da
trailing space hell
2024-10-21 06:14:24 +02:00
Alug
4267ac9a8d
remove more P_MobjWasRemoved checks
...
same as before, those may be not synchsafe
2024-10-21 06:04:47 +02:00
Alug
bcf72cc0e8
revert some P_MobjWasRemoved checks i forgor about
...
those may NOT be vanilla netsafe
2024-10-21 06:04:17 +02:00
Alug
54d9a98090
rotsprite stuff also should be SHORT
2024-10-20 19:11:54 +02:00
Alug
86ea7dde40
Merge branch 'Saturn-Next' into unglobsavep
2024-10-20 16:27:26 +02:00
Alug
81d415c5ba
attempt to optimize some p_maputl stuff
2024-10-20 16:25:12 +02:00
Alug
de1b801bda
try to take some registers for span drawers too
2024-10-20 16:24:02 +02:00
Alug
2c665fef6f
remove this again
2024-10-20 15:21:42 +02:00
Alug
c6fbf405bf
optimize R_PointOnSegSide
...
its only used for 2 rendering functions, so being potentially inaccurate is not that dangerous and the speedup in some instances might be worth the tradeoff
2024-10-20 15:16:37 +02:00
Alug
7076c35521
HWR_RenderPlane can be static
2024-10-20 14:57:28 +02:00
Alug
86ed1b709e
fix some rendering issues and crashes in software renderer
...
- Increase MINZ from 4 fracunits to 16
- R_StoreWallRange: do not render textures with holes
- fix off-by-one error in R_ProjectSprite
- Avoid rendering unused left/right edges of screen while rolling
- Clamp patch column post drawing bounds
- Vissprites: set dc.texheight
- Add null check for column in R_DrawMaskedColumn
2024-10-20 14:57:22 +02:00
Alug
0be25bd362
Merge branch 'Saturn-Next' into Saturn
2024-10-20 14:56:56 +02:00
Alug
d30c96e8cb
fix a maybe-uninitialized warning
2024-10-20 00:22:06 +02:00
Alug
0af52ba3ae
dont need to always check this 16 times if we already know theres more than one player ingame
2024-10-19 21:15:11 +02:00
Alug
fbe97556de
change versionstring
...
also remove the fbo one, its honestly not necessary anymore
2024-10-18 20:36:16 +02:00
Alug
7a6f43bece
dont show encore toggle text in record attack menu
...
dont think you can even record attack in encore hmm
2024-10-18 20:34:22 +02:00
Alug
afca521fe5
dont run director if theres only one player ingame
...
idk if this is good lol
2024-10-18 19:53:44 +02:00
Alug
d3e2875c94
those can be registered in lööp
2024-10-16 13:14:31 +02:00
Alug
1daac9a124
revert all the cam things for now here
...
Dont wanna deal with this shit for 7.1 anymore
2024-10-14 22:15:27 +02:00
Alug
38f3e48aed
only do this in software renderer
...
doesent work even with pal rendering in ogl
2024-10-13 23:07:37 +02:00
indev
4cf4d49f48
Fix error handler staying on lua stack after lua commands being called
2024-10-13 15:37:39 +03:00
indev
a19c4dc5e5
Fix game crashing when using P_DoPlayerExit on player without mobj
2024-10-13 15:37:39 +03:00
Alug
d37505ff06
this should be SHORT
2024-10-13 02:59:10 +02:00
Alug
7f6ce1f299
this uhhh actually makes things crash lol
2024-10-13 02:47:57 +02:00
Alug
262a84aac6
fix ogl shearing
...
no clue wtf kart was doing here lmao
2024-10-13 02:42:37 +02:00
Alug
3f12ebb2bd
only interp cam during pause for replay freecam to not jitter during pause
2024-10-13 01:11:59 +02:00
Alug
b58fcf331c
ignore keepmusic when called from P_RestoreMusic
...
most of the sound handling just calls this and this may just stop the music entirely on some occasions so just ignore keepmusic for that
2024-10-13 00:40:51 +02:00
Alug
fe51278295
Merge branch 'newmusicstuff' into Saturn-Next
2024-10-13 00:04:59 +02:00
Alug
c3fb84981e
Merge branch 'pakcheck' into Saturn-Next
2024-10-13 00:02:32 +02:00
Alug
919aad4f30
Merge branch 'vres-skip-map-marker' into Saturn-Next
2024-10-12 23:57:27 +02:00
Alug
818e6046b7
Merge branch 'Saturn-Next' into vres-skip-map-marker
2024-10-12 23:30:03 +02:00
Alug
f01d2a0ba6
print saturnpak print into debfile instead of console
2024-10-12 23:29:11 +02:00
Alug
8df0a2d059
Merge branch 'Saturn-Next' into pakcheck
2024-10-12 23:28:05 +02:00
Alug
d7ed91af1d
Refactor TTY input handling
...
https://git.do.srb2.org/STJr/SRB2/-/merge_requests/2451#b2f76b3273f1780347c35ec752bcde560c5f73a5
2024-10-12 23:26:14 +02:00
Alug
081dcc021b
fix tty converting everything to lowercase
2024-10-12 23:21:11 +02:00
Alug
70ebd0d475
Merge remote-tracking branch 'origin/unified-text-input' into Saturn-Next
2024-10-12 23:19:38 +02:00
Alug
02bbb38606
Fix insane TTY input latency
...
https://git.do.srb2.org/STJr/SRB2/-/merge_requests/2360
2024-10-12 23:16:42 +02:00
indev
d00014ea59
If corrupted save received, leave netgame
2024-10-12 22:10:58 +02:00
indev
210d6ac8ac
Add few checks to prevent game crashing if netgame archive becomes corrupted
2024-10-12 22:10:48 +02:00
indev
55248e7fcf
Attempt to fix a lua panic when unarchiveing extvars (print error to console instead. Not sure if it would be safe for game to read from save afterwards though)
2024-10-12 22:09:51 +02:00
indev
cb94235ac1
If corrupted save received, leave netgame
2024-10-12 22:09:20 +02:00
Alug
d0c50c49a7
Add few checks to prevent game crashing if netgame archive becomes corrupted
...
https://github.com/alufolie91/saturn-32p/commit/1e47728ea8c60a1f04130170ddfab9b02e1a7e4c#diff-0c6396d5a9ad45f461741cd44ffb2c0d3cf0eb2ec7b0500053005196fe53f1a6R1517
2024-10-12 22:09:18 +02:00
Alug
7f1217b2ab
Attempt to fix a lua panic when unarchiveing extvars (print error to console instead. Not sure if it would be safe for game to read from save afterwards though)
...
https://github.com/alufolie91/saturn-32p/commit/a770ecdbd4afd56a9d8325eae47f0c69f71661ee#diff-0c6396d5a9ad45f461741cd44ffb2c0d3cf0eb2ec7b0500053005196fe53f1a6R1462
2024-10-12 22:09:15 +02:00
Alug
3b01393a71
Merge branch 'Saturn-Next' into unglobsavep
2024-10-12 22:08:49 +02:00
Alug
23b36b5074
oops
2024-10-12 21:29:49 +02:00
Alug
2e7f0721b9
make s_sound a little prettier
2024-10-12 21:24:43 +02:00
Alug
4927e55c7e
fix some warnings when compiling with older sdl version
2024-10-12 21:24:04 +02:00
Alug
c51d33fa6e
save 1 G_BuildMapTitle call kek
2024-10-12 20:19:53 +02:00
Alug
8630d8cd47
clean bird music stuff again
...
we dont need to return everywhere but instead stuff can be mostly just set to 0
this also somewhat ensures stuff works after toggling without having to restart the game or map
2024-10-12 19:55:02 +02:00
Alug
659243baa1
always assign stutter_threshold
2024-10-12 19:44:21 +02:00
Alug
b6a84c1646
readd music_resync_powerups_only
2024-10-12 19:40:12 +02:00
Alug
c33afa4a3b
shut up mingw
2024-10-11 19:09:49 +02:00
Alug
1428c3c2bf
fix spec cam bug + more cleanup
2024-10-11 21:00:13 +02:00
Alug
aa0cbfda74
Revert "rendertimefrac_unpaused should be fracunit on netlag"
...
This reverts commit 6722b43244 .
2024-10-09 15:33:19 +02:00
Alug
9d13ff3c9f
proper inline P_MobjWasRemoved
2024-10-07 23:01:52 +02:00
Alug
e47c13b7ac
proper inline M_Memcpy
2024-10-07 23:01:45 +02:00
Alug
3f5b96bd45
this shouldnt be here lol
2024-10-07 13:15:08 +02:00
Alug
63c1372c34
keep debug print for now
2024-10-07 12:57:55 +02:00
Alug
8b915f9ac1
make this less ugly
2024-10-07 12:53:31 +02:00
Alug
f3a18a0655
false
2024-10-07 12:48:36 +02:00
Alug
e8351d44b6
add crap to menu
2024-10-07 12:45:03 +02:00
Alug
297af069cb
doubt anyone wants this
...
also psure this will cause some weird issues somewhere idk
2024-10-07 12:41:59 +02:00
Alug
baa5d6630d
Merge branch 'Saturn-Next' into newmusicstuff
2024-10-07 12:39:41 +02:00
Alug
0c30730ef6
Merge branch 'Saturn-Next' into pakcheck
2024-10-06 18:52:24 +02:00
Alug
ef763487a5
this doesent make much sense tbh
2024-10-06 18:51:43 +02:00
Alug
03f5ac87fa
Merge branch 'Saturn-Next' into interpfixes
2024-10-06 18:51:20 +02:00
Alug
c82148fafc
prevent this from become super large somehow lol
...
just like cap it at 19 it works just fine
2024-10-06 18:50:32 +02:00
Alug
d1346dee53
shouldnt that be a bool?
2024-10-06 18:31:54 +02:00
Alug
6722b43244
rendertimefrac_unpaused should be fracunit on netlag
...
makes this a little more sane tbh
2024-10-06 18:31:51 +02:00
Alug
b2cac97106
fix this
2024-10-06 14:53:25 +02:00
Alug
cfdbf1f4ad
hopefully fix awayview cam interp crap
2024-10-06 14:53:10 +02:00
Alug
48a00ba911
this needs to be set twice
...
Zzz...
2024-10-06 14:52:54 +02:00
Alug
4b1102357a
only do this in replays
...
otherwise shit will jitter during netlag
2024-10-06 14:46:11 +02:00
Alug
e3b0204b2c
fix main menu interpolation
...
apparently in main menu, opening the menu pauses the game so rendertimefrac was FRACUNIT and didnt interpolate
2024-10-06 14:46:06 +02:00
Alug
a2799ddcca
Interpolate view, even when paused
...
https://github.com/KartKrewDev/RingRacers/commit/3320faec8cebecb124882d38c7ec0ad37b79340a#diff-607b68058edc6124b3061267d902aabeddb6ba338c6483df0af8b1a7cf796a01R43
2024-10-06 14:46:03 +02:00
Alug
76198f61de
add missing break
2024-10-06 14:45:50 +02:00
Alug
c3ce75055a
only do this in replays
...
otherwise shit will jitter during netlag
2024-10-06 14:30:28 +02:00
Alug
90d64c4e15
fix main menu interpolation
...
apparently in main menu, opening the menu pauses the game so rendertimefrac was FRACUNIT and didnt interpolate
2024-10-06 13:47:20 +02:00
Alug
595648a2b3
Interpolate view, even when paused
...
https://github.com/KartKrewDev/RingRacers/commit/3320faec8cebecb124882d38c7ec0ad37b79340a#diff-607b68058edc6124b3061267d902aabeddb6ba338c6483df0af8b1a7cf796a01R43
2024-10-06 13:47:17 +02:00
Alug
8e799ddd74
fix a interp bug where the jitter on tally increase would be for only one rendered frame, not one full tic.
2024-10-06 13:47:14 +02:00
Alug
a754e9c08a
HACK: reset interp values in case 412 teleporter without using P_Setorigin
...
since that function does some wonky stuff and idk if that would be synch safe
2024-10-06 13:47:11 +02:00
Alug
112c9398e7
add missing break
2024-10-06 13:47:08 +02:00
Alug
ccd691548e
more R_ResetViewInterpolation stuff
2024-10-06 13:47:05 +02:00
Alug
afd7b85005
R_ResetViewInterpolation: wait an extra tic if R_UpdateViewInterpolation has not run yet, do not add extra time for subsequent calls
2024-10-06 13:47:02 +02:00
Alug
f9e1cdb940
P_Ticker: update view interpolation at the start of a tic
2024-10-06 13:46:43 +02:00
Alug
63fe657c7d
Do not set hu_stopped on interpolated frame
2024-10-06 13:46:31 +02:00
Alug
ff2006ad74
smol fix
2024-10-06 12:40:01 +02:00
Alug
55c9c7297f
throw this into own function too
2024-10-06 12:39:56 +02:00
Alug
4b083ee72e
make function for quakes, scale with mobjscale
2024-10-06 12:39:54 +02:00
Alug
6574ec2fb9
attempt to cleanup R_SetupFrame
2024-10-06 12:39:48 +02:00
Alug
f54bb349b5
add G_FixCamera
2024-10-06 12:39:44 +02:00
Alug
6f1252e27d
set timeinmap for demo rewind
...
idk maybe this helps with that feature desynching all the time lol
2024-10-06 12:39:26 +02:00
Alug
7d65b5369f
add some brackets lul
2024-10-06 12:34:51 +02:00
Alug
4877c81728
comment this out for now so v7 clients dont use vanilla resynch system
...
keep sending PT_WILLRESENDGAMESTATE packets to everyone for now
saturnpak will still mark the right clients so they will use the right consistency check without having to desynch first
2024-10-06 12:32:57 +02:00
Alug
5cb207edfa
add debfile prints whenever gamestate counter changes
2024-10-06 12:14:32 +02:00
Alug
fc39a0dedf
make the debug print a little better
2024-10-06 12:12:59 +02:00
Alug
0b3e7240a8
use saturn packet to determine if client can receive gamestate
...
before the server always assumed every client cant receive the gamestate using the vanilla consistency check for everyone.
aswell as before the first resynch it tried to send the gamestate resend packets to everyone
2024-10-06 12:07:17 +02:00
Alug
f32c346534
this needs gamestate check
...
sometimes the title music kept playing
2024-10-05 06:56:31 +02:00
Alug
3165004d0e
add comment to try and explain this crap
2024-10-03 18:15:19 +02:00
Alug
ec3b1cf130
make this more readable
2024-10-03 17:55:08 +02:00
Alug
a0437713bf
smol dupe
2024-10-02 14:40:03 +02:00
Alug
96f7ff550c
prevent this from overflowing
...
ye well idk anymore.
2024-10-02 14:22:48 +02:00
Alug
837216d78e
we dont need any of this in ogl
2024-10-02 14:22:39 +02:00
Alug
dfb6006f9c
fix up old fps counter
2024-10-02 12:14:40 +02:00
indev
fb0765a5f3
Fix selection in replay save prompt
2024-10-01 20:55:27 +03:00
indev
2e8769496f
Use textinput_t for replay save prompt too
2024-10-01 20:39:04 +03:00
Alug
bdb39fcd8d
dont leak pls
2024-10-01 17:57:45 +02:00
Alug
31516c7987
fix G_BuildMapTitle leaks
2024-10-01 17:56:15 +02:00
Alug
b985ce06a2
lol
2024-10-01 16:03:56 +02:00
Alug
12d6546062
dumb special case for wandering balls Zzz...
2024-10-01 16:03:00 +02:00
indev
fb71da3627
Remove debug print
2024-10-01 16:50:44 +03:00
indev
a90ffff320
Fix (hopefully) all other menu types that use IT_CV_STRING
2024-10-01 16:49:59 +03:00
Alug
9abf2bca75
fix some stuff
2024-10-01 15:46:22 +02:00
indev
3db6770dfd
Fix IT_CV_STRING crashing game in M_DrawGenericMenu
2024-10-01 16:24:14 +03:00
Alug
3a951576ee
use stricmp for this
2024-10-01 15:22:29 +02:00
Alug
6b0d67ac36
more
2024-10-01 15:22:25 +02:00
Alug
d06b8ac398
cleanup + comments
2024-10-01 15:22:22 +02:00
Alug
67435ebf9e
work around encore music again
...
S_InitMapMusic would play before the level actually started thus playing a smol bit of non encore music in encore
2024-10-01 15:22:19 +02:00
Alug
2ee29630fb
fix encore music again lol
2024-10-01 15:22:16 +02:00
Alug
7fa21e9aea
work around custom vote theme music + rename a bunch of stuff
...
please help me
2024-10-01 15:22:08 +02:00
Alug
b4b206f575
encoremusic...
2024-10-01 15:22:04 +02:00
Alug
f363663b3e
fix up everything and make stuff work
...
i hope lmao
2024-10-01 15:22:01 +02:00
Alug
42d957e21b
change how keepmusic works
...
compare map and encore instead of the music itself
2024-10-01 15:21:57 +02:00
Alug
07f9756bc8
forgor about encore music
2024-10-01 15:21:54 +02:00
Alug
e958e43b49
update comments a little
2024-10-01 15:21:51 +02:00
Alug
0d150e4b08
add some basics of what i wanna have for music stuff
...
- basic keepmusic implementation (currently checks for if the song changes instead of the map, idk if i keep this, since this allows certain maps to change the music on start, ex abstract avenue or wandering balls)
- Toggle to ignore any kind of music change during the level (includes intermission music, depends on how custom intermission music works)
-toggle to start map music instantly on levelload and skip the intro fanfare (also skips any linedef executed sound so some map intros dont interfere with this)
2024-10-01 15:21:47 +02:00
Alug
0deff73a46
make a function for the music level start stuff
2024-10-01 15:21:43 +02:00
Alug
b24caf397a
add "map ?" shortcut for random map
2024-10-01 14:49:46 +02:00
Alug
f051e33a0c
cv_showdirectorhud didnt save Zzz...
2024-09-30 23:00:39 +02:00
indev
ff2b28ac73
Use m_textinput for chat too
2024-09-30 12:13:25 +03:00
indev
e2367d26d1
Use same keyboardlayout code as in chat for textinput, also add a null terminator after ctrl-v just in case string is not always zeroed out already
2024-09-30 12:08:21 +03:00
indev
e1a65add5d
Put all text input logic into separate file and use it for all text input fields
2024-09-30 10:35:27 +03:00
Alug
913426bfdb
let SOC also use PRECIP_BLANK/ weather = 4
...
no idea why it couldnt doesent make any sense
2024-09-29 22:28:35 +02:00
Alug
d7b0726e42
no need to even traverse part of the blockmap when PRECIP_STORM_NORAIN and PRECIP_BLANK
2024-09-29 22:28:31 +02:00
Alug
cadb67e6c9
move this stuff
...
so dont need check for renderisnewtic multiple times and dont need to check for menu and dpad stuff every single frame
2024-09-29 15:15:53 +02:00
Alug
564838a439
only draw lua hud stuff when patch exists
2024-09-29 15:15:49 +02:00
Alug
4554bcc565
reset rumble on some conditions
2024-09-28 03:29:12 +02:00
Alug
fd48335688
Replace portalline boolean with g_portal pointer to current portal Beta
2024-09-28 03:29:09 +02:00
Alug
222f56d1b2
smol director stuffs
2024-09-28 01:03:44 +02:00
Alug
b71870f57b
this needs no dedi check actually
2024-09-28 01:03:41 +02:00
Alug
01c9632025
set those in P_SpawnGhostMobj too
2024-09-28 01:03:39 +02:00
Alug
1533e13d68
let player pointer be const in P_IsLocalPlayer and P_IsDisplayPlayer
2024-09-28 01:03:34 +02:00
Alug
89965ad718
forgor remove this
2024-09-28 01:03:31 +02:00
Alug
eb74f3525a
consolidate this
2024-09-28 01:03:29 +02:00
Alug
536f88dee0
this does nothing
2024-09-28 01:03:26 +02:00
Alug
2622ba286e
z
2024-09-28 01:03:18 +02:00
Alug
a1d490cb49
R_DrawMaskedColumn: do not draw zero length column
2024-09-28 01:03:15 +02:00
Alug
b357c09171
those should be size_t
2024-09-28 01:03:11 +02:00
Alug
48e71afec1
update lzf compression to 1.6
2024-09-28 01:03:08 +02:00
Alug
1c6fce9339
fix encore minimap
2024-09-27 15:05:38 +02:00
Alug
96551d3b75
use qs22j here again
...
it is really faster
thought it wasnt in this case
2024-09-27 15:05:34 +02:00
Alug
7a832df4d3
cleanup + reformatting
2024-09-27 15:05:31 +02:00
Alug
c3b6121968
forgor this
2024-09-27 15:04:15 +02:00
Alug
b3b2b65c5f
reformat this
2024-09-27 15:04:12 +02:00
Alug
7a3ccec38d
;
2024-09-26 18:18:42 +02:00
Alug
d8da0a11a2
gamestate resend counter was never proper reset for nodes
...
means it would carry over to the next person occupieing that node and made them have less chances to get the gamestate resent
2024-09-25 19:31:25 +02:00
Alug
d5c3332635
those can be static
2024-09-24 22:23:29 +02:00
Alug
0137f2254d
add toggle for water ripples Zzz...
2024-09-24 22:18:27 +02:00
Alug
63f649724e
Merge branch 'Saturn-Next' into unglobsavep
2024-09-24 17:05:42 +02:00
Alug
da769ce524
only allow director toggling with button when you spec someone
2024-09-24 16:57:25 +02:00
Alug
2e99636bb0
make director text disappear after 13 seconds, and in replays after 4
2024-09-24 15:25:56 +02:00
indev
ff7f68f5b4
Expose demo.freecam as replayfreecam
2024-09-24 16:05:22 +03:00
Alug
14eec0c902
dont show director text when in replay freecam
2024-09-24 15:03:31 +02:00
Alug
b064c534d8
hide viewpoint text when in replay freecam
2024-09-24 15:03:28 +02:00
Alug
e7c0f322ee
dont show driftgauge when in replay freecam
2024-09-24 15:03:14 +02:00
Alug
725754c427
dont run director when you use spectator freecam
2024-09-24 15:03:07 +02:00
Alug
9a6c0a0280
check vres data before freeing it
2024-09-23 23:13:08 +02:00
Alug
26d8c05ce7
forgor some casting
2024-09-23 23:13:05 +02:00
indev
91a9f20af7
Skip map marker in vres_GetMap
2024-09-24 00:08:48 +03:00
indev
90745d91aa
Add showdownloadprompt cvar, so addon download prompt can be disabled
2024-09-23 23:39:25 +03:00
Alug
0dbae34998
completely forgor to revert this lol
2024-09-23 15:53:05 +02:00
Alug
eec93b8013
Revert "beta hud driftgauge"
...
This reverts commit 26e8c2ca2b .
2024-09-23 01:35:14 +02:00
Alug
cfe3f01b32
Revert "extra check"
...
This reverts commit 0bb1efcd50 .
2024-09-23 01:35:11 +02:00
Alug
df10262ebb
Revert "beta hud driftgauge"
...
This reverts commit 26e8c2ca2b .
2024-09-23 01:34:47 +02:00
Alug
a87ac3e35e
Revert "extra check"
...
This reverts commit 0bb1efcd50 .
2024-09-23 01:34:41 +02:00
Alug
b71d9d2e68
Merge branch 'Saturn-Next' into unglobsavep
2024-09-23 01:04:04 +02:00
Alug
43452e1af4
dont actually call Nullprecipthinker
2024-09-23 01:03:59 +02:00
Alug
a4706e0785
read precip row in perfstats 2
2024-09-23 01:03:24 +02:00
Alug
c921ab463c
dont count precip towards thinkers in perfstats
2024-09-23 01:03:20 +02:00
Alug
892816dadf
fix precip performance issuess on certain maps
2024-09-23 01:03:17 +02:00
Alug
cc44a5785d
lets not archive players as mobjs
2024-09-22 23:08:33 +02:00
Alug
172d2bf545
Merge branch 'Saturn-Next' into unglobsavep
2024-09-22 22:20:19 +02:00
Alug
e7e1fd711e
dont check consistency/attempt to resend the gamestate while a client is currently getting the save resend
...
perhaps that makes mass synchs less bad
2024-09-22 22:16:21 +02:00
Alug
7493b3d2ab
Revert "clean up leveload a bit"
...
This reverts commit c14af4a136 .
2024-09-22 22:10:57 +02:00
Alug
ba5459eeb6
Revert "clean up leveload a bit"
...
This reverts commit c14af4a136 .
2024-09-22 17:52:26 +02:00
Alug
31370741f2
Merge branch 'Saturn-Next' into unglobsavep
2024-09-22 17:01:27 +02:00
Alug
0bd9c696df
try to prevent unknown packet type spam when client attempt to connect while levelloading
2024-09-22 16:53:31 +02:00
Alug
c14af4a136
clean up leveload a bit
2024-09-22 16:53:25 +02:00
Alug
8dfa841a7b
Load palette before map data
2024-09-22 16:52:07 +02:00
Alug
a6de843c75
cleanup r_draw8
2024-09-22 16:52:04 +02:00
Alug
0bb1efcd50
extra check
2024-09-22 04:14:31 +02:00
Alug
26e8c2ca2b
beta hud driftgauge
...
eh needs some stuff for menu still
also should replace driftgauge gfx sometime
2024-09-22 04:13:53 +02:00
Alug
12ffca7374
precalc automap and minimap stuff on mapload instead of every frame
2024-09-22 04:13:02 +02:00
Alug
e187f73044
Merge branch 'Saturn-Next' into unglobsavep
2024-09-21 17:41:58 +02:00
Alug
6ecf65d83a
Merge remote-tracking branch 'origin/Saturn-Next' into Saturn-Next
2024-09-21 16:03:17 +02:00
Alug
231c173545
move this so speccing resets your laptime
2024-09-21 16:03:13 +02:00
Alug
f12b7fd772
move this
2024-09-19 12:41:40 +02:00
Alug
14ea041c72
always reset cam subsector regardless of splitscreen
2024-09-18 12:11:14 +02:00
Alug
6fb804292c
Prevent integer div by 0 in curl progress callback
2024-09-18 01:07:43 +02:00
Alug
f77f7361a9
this also does nothing
2024-09-18 01:06:54 +02:00
Alug
d6d19d5dab
smol cleanup
2024-09-18 01:02:42 +02:00
Alug
8074bfacb6
this does nothing
2024-09-18 00:58:37 +02:00
Alug
f5f7b99479
Fix crash if a packet fails to reach the client
...
https://git.do.srb2.org/STJr/SRB2/-/merge_requests/2480 but keeps the returns;
2024-09-17 21:02:05 +02:00
Alug
f0a8c27829
Fix crash when trying to send to an unreachable client
...
https://git.do.srb2.org/STJr/SRB2/-/merge_requests/2232
2024-09-17 20:58:23 +02:00
Alug
30024f2341
this is the correct value
2024-09-17 19:47:30 +02:00
Alug
ff0dcafeea
make ticcmds on gamestateresend
...
resynch will still stop making em
should hopefully fix some weird issues where you might end up somewhere weird if the resend takes a little longer
2024-09-17 16:47:34 +02:00
Alug
8580451bce
properly reset all splitscreen cameras on resynch
...
also fix some casting
2024-09-17 16:47:31 +02:00
Alug
d867868854
Revert "dont run playerjoin hook on resynch"
...
This reverts commit 5f7bf4164d .
2024-09-17 16:43:25 +02:00
indev
b1644d4817
Ignore case here
2024-09-17 17:23:16 +03:00
indev
a9a3a04379
Add proper skin search in skin command
2024-09-17 17:16:35 +03:00
Alug
3aa55ee9c3
dont need this
2024-09-16 18:12:52 +02:00
Alug
8cfc8a5492
"player"
2024-09-16 17:52:58 +02:00
Alug
3f1c8db362
some stuff i forgor
2024-09-16 17:33:31 +02:00
Alug
0d999d7a70
Revert "Contain end & size into savebuffer_t"
...
This reverts commit 1a810bc923 .
2024-09-16 17:17:19 +02:00
Alug
8bc081d937
Use Zone memory functions for sending compressed saves
2024-09-16 13:47:46 +02:00
Alug
42eb8d1af5
Only save demo if demobuf.p is ready
2024-09-16 13:47:43 +02:00
Alug
1a810bc923
Contain end & size into savebuffer_t
2024-09-16 13:47:40 +02:00
Alug
065572ef64
more fixup
2024-09-16 12:56:19 +02:00
Alug
e88702e10c
fix demo checkspace
2024-09-16 12:56:16 +02:00
Alug
ee2d934525
rest smol fixes
2024-09-16 12:42:39 +02:00
Alug
2a3a33226e
fixup demo savebuf
2024-09-16 12:42:36 +02:00
Alug
539315710c
clean up
2024-09-16 12:42:33 +02:00
Alug
191a6ca76f
unglobalize savebuffer
...
needs some cleanup
2024-09-16 12:42:29 +02:00
Alug
7ac9f0cbef
dont rerun mapload hook on resynch
2024-09-16 00:54:29 +02:00
Alug
5f7bf4164d
dont run playerjoin hook on resynch
2024-09-16 00:54:26 +02:00
Alug
43690c9b2c
fix sound bug lol
2024-09-16 00:08:21 +02:00
Alug
02c14bfa5c
Merge branch 'Saturn' into Saturn-Next
2024-09-16 00:08:11 +02:00
Alug
0544811c7d
Merge pull request #135 from Indev450/Saturn-Next
...
Saturn v7
2024-09-15 13:02:42 +02:00
Alug
e079bac283
make advanced server menu scroll menu
...
grrrrr green res
2024-09-15 12:03:20 +02:00
Alug
862f1fce2c
...
2024-09-15 12:03:16 +02:00
Alug
5aeb78f2a5
Merge pull request #134 from Indev450/absolutehell
...
Huge Netcode/Resynchcode changes
2024-09-15 11:45:35 +02:00
Alug
cb42bc581b
squish options menu a little
...
im honestly too lazy too move shit around just before release lmao
2024-09-15 11:43:44 +02:00
Alug
5fc9410b59
Merge branch 'Saturn-Next' into absolutehell
2024-09-14 22:23:51 +02:00
Alug
84d3ee7170
maths.....
2024-09-14 22:23:11 +02:00
Alug
accef8f1e1
version change
2024-09-14 21:10:55 +02:00
Alug
4a8edff694
Merge remote-tracking branch 'origin/Saturn-Next' into absolutehell
2024-09-14 21:01:08 +02:00
Alug
aac3b8d025
forgor this one
2024-09-14 19:45:23 +02:00
Alug
4034658e44
some cleanup
2024-09-14 19:44:01 +02:00
Alug
7d4898dd8b
remove code dupe in r_segs
2024-09-14 18:43:13 +02:00
indev
71fe6ec9da
should be != here
2024-09-14 19:04:51 +03:00
indev
075097c219
Don't default to sonic if skin was changed to unknown skin, use current skin instead
2024-09-14 16:40:17 +03:00
Alug
f70ec60ae4
use continues in hooklib loops too
...
idk if this is any faster, but it makes smth i wanna port over potentally easier
2024-09-14 12:35:29 +02:00
Alug
aeafd46f24
smol m_menu cleanup
2024-09-13 14:17:13 +02:00
Alug
5f57044118
replace tooltip crap with a macro + fix adv video options tooltips
2024-09-13 14:02:15 +02:00
Alug
65006c11d3
move credits a tiny bit
2024-09-13 13:37:10 +02:00
Alug
76bc184f6c
whoops wrong tooltip
2024-09-13 13:35:18 +02:00
Alug
dd39a444f2
add smol comment
2024-09-13 13:30:30 +02:00
Alug
1a16012a5c
this used to be const
2024-09-13 13:22:51 +02:00
Alug
c49aae8d49
no need to save saturnjoin value + smol cleanup
2024-09-13 13:21:25 +02:00
Alug
d5dc52d3d3
super smol optimization R_ThingWithinDist
...
no need to run fixedhypot on every sprite when you dont use draw distance limit
2024-09-13 12:44:38 +02:00
Alug
4f1f1ede97
smol menu visual cleanup
2024-09-13 12:33:49 +02:00
Alug
c98b896fc8
add old line whatever in intermission add beta intermission visual to menu
2024-09-13 12:33:02 +02:00
Alug
3714735c2a
small cleanup intermission drawer
2024-09-13 12:32:59 +02:00
Alug
025cc093db
Merge remote-tracking branch 'origin/Saturn-Next' into absolutehell
2024-09-13 10:48:34 +02:00
Alug
924d79c20d
only need to check all this when in splitscreen
...
retains vanilla behaviour
2024-09-13 00:23:07 +02:00
Alug
0926f68776
clean up sprite stuff
2024-09-13 00:16:35 +02:00
Alug
26f3806b3c
fix wöter shader interpolation
...
accidentally reverted that when redoing palette rendering
2024-09-12 22:43:14 +02:00
Alug
d628320c8d
forgor this
2024-09-12 01:05:07 +02:00
Alug
41fc4c7cfd
delete DEH_WriteUndoline
...
it literally does nothing lol
2024-09-12 01:05:05 +02:00
Alug
1c8ca2b110
apparently this always runs
...
i am in pain
2024-09-11 21:10:41 +02:00
Alug
241d107485
let item button toggle encore in mapselect screen
...
guh
2024-09-11 21:10:38 +02:00
Alug
8d0601c2ad
add missing masterserver ifdef
2024-09-11 21:10:35 +02:00
Alug
31118254a0
this can be int16
2024-09-10 19:56:52 +02:00
Alug
85a1636776
Revert "smol optimization to HWR_AddLine"
...
This reverts commit 77c9badeca .
2024-09-10 10:58:15 +02:00
Alug
3b227932e9
Revert "smol optimization R_AddLine"
...
This reverts commit 677cdc77e4 .
2024-09-10 10:58:12 +02:00
Alug
ff591bce04
Revert "Zzz..."
...
This reverts commit c3a03d89c4 .
2024-09-10 10:58:09 +02:00
Alug
c3a03d89c4
Zzz...
2024-09-10 10:31:25 +02:00
indev
dd405532af
Snap title demo logo to bottom right corner
2024-09-09 23:56:53 +03:00
Alug
677cdc77e4
smol optimization R_AddLine
2024-09-09 22:57:21 +02:00
Alug
f9463d8efa
smol cleanup
2024-09-09 22:57:18 +02:00
Alug
77c9badeca
smol optimization to HWR_AddLine
2024-09-09 22:57:15 +02:00
Alug
926287eb97
remove redundant check
2024-09-09 22:57:12 +02:00
Alug
7a91b19962
only change lightlevel/colormap behaviour in palette rendering
2024-09-09 21:51:09 +02:00
Alug
c148ff5a05
fix off by one in sprite lightlevels
2024-09-09 21:51:06 +02:00
Alug
ef7e658f9d
Merge branch 'Saturn-Next' into absolutehell
2024-09-09 18:51:37 +02:00
Alug
0e9b9d15ea
revert this ig
2024-09-09 18:51:23 +02:00
Alug
dd2d437a21
Merge branch 'Saturn-Next' into absolutehell
2024-09-09 16:05:16 +02:00
Alug
b9779d4dba
add toggle for director prompt
...
cause ik some ppl will complain lol
2024-09-09 16:05:08 +02:00
Alug
1d40d8c4ef
make this less complicated lol
2024-09-09 15:58:45 +02:00
Alug
847b1f5cb7
fade director hud after 4 secs after toggling it
2024-09-09 15:58:43 +02:00
Alug
9448a98573
disable director on title screen and record attack demos
2024-09-09 09:25:06 +02:00
Alug
14bce36b95
make it static actually
2024-09-08 23:36:57 +02:00
Alug
ba4c54004a
turn off director by default when playing replays and restore the setting when done
...
you can still toggle it in replays no issues
but you mostly want to watch yourself or a certain person during replays, so having to manually toggle it off always is weird
2024-09-08 23:34:35 +02:00
Alug
9fdfc09229
dont trigger rumble in offroad when under hyu effect
2024-09-08 23:09:17 +02:00
Alug
b19bc7d77e
slight portal cleanup
2024-09-08 16:53:52 +02:00
Alug
58815ae9c4
fix potential rendering issues on large maps
2024-09-08 16:45:50 +02:00
Alug
0b12c9b5a8
smol cleanup
2024-09-08 16:45:48 +02:00
Alug
863abe86ca
oops
2024-09-07 20:09:49 +02:00
Alug
f54d2fb0fe
clean up and improve ogl portals
2024-09-07 20:09:45 +02:00
Alug
8824ba3824
this is literally broken and noone knows about it anyways lol
2024-09-07 17:52:24 +02:00
Alug
8a8db796be
Show a console error if the gamestate contains too many tables
2024-09-07 17:30:08 +02:00
Alug
4f532b766f
this needs to be shifted
2024-09-07 17:04:06 +02:00
Alug
e175a4e00b
guh
2024-09-07 16:57:41 +02:00
Alug
473e843142
this should use angleturn
...
uhhh
2024-09-07 16:46:29 +02:00
Alug
ef8e71cb11
set camera angle to player angle in CL_ReloadReceivedSavegame
...
hope i did this right lol
should hopefully fix more jarring visual stuffs
2024-09-07 16:28:17 +02:00
Alug
ea985151dd
dont rerun levelload executors when gamestate resent
2024-09-07 16:27:35 +02:00
Alug
62fae0ad8b
dont print "Map is now" everytime you resynch from gamestate resend
2024-09-07 16:27:32 +02:00
Alug
f9210ee3bc
smol fixes for gamestate resend in P_SetupLevel
...
- dont reset cameras during gamestate resynch
- dont reinit director during gamesate resynch
- dont reset view interpolators aswell
- dont reset localaiming aswell
should make resynching less jarring visually hopefully
2024-09-07 15:35:41 +02:00
indev
d5101dd0b2
Document changes to lua P_PlayRinglossSound and K_PlayHitEmSound functions
2024-09-07 11:47:09 +03:00
Alug
2a7940bfd1
Merge branch 'Saturn-Next' into absolutehell
2024-09-06 22:37:53 +02:00
Alug
047d38daab
Merge branch 'noZ_unlock' into Saturn-Next
2024-09-06 22:37:39 +02:00
Alug
2d61f5c861
add compiler flags NOSATURNSYNCH, NOSATURNJOIN and NOSATURNPAK
...
not building with SATURNSYNCH also will disable SATURNJOIN since it makes not much sense to have that when synch stuff is unused
2024-09-06 21:41:53 +02:00
Alug
750f305c46
%
2024-09-06 21:06:06 +02:00
Alug
51b79e58d3
smol cleanup + add comments
2024-09-06 21:05:33 +02:00
Alug
915b4e9d15
set netgame save stuff to false for replays
...
to retain max vanilla compat for replays
dont want those breaking between clients
2024-09-06 21:05:30 +02:00
Alug
c9c0c06763
reserve saturn packet even if unused
...
to not cause any weird isssues if either one is undefined and stuff like that
2024-09-06 20:36:27 +02:00
Alug
406037dabe
menu offset stuff for if not using SATURNSYNCH
2024-09-06 20:06:57 +02:00
Alug
d9affe2331
oops again
2024-09-06 19:59:45 +02:00
Alug
6df675523f
hide gamestate resynch stuff behind SATURNSYNCH ifdef
2024-09-06 19:55:34 +02:00
Alug
65e66e8ace
oops
2024-09-06 19:55:32 +02:00
Alug
5efb0c7136
put saturn specific join allow stuff behind SATURNJOIN define
...
so it can be seperate from SATURNPAK
2024-09-06 19:25:02 +02:00
Alug
1793340474
Merge branch 'Saturn-Next' into absolutehell
2024-09-06 19:13:31 +02:00
Alug
d10db6d1d2
make this completely toggable actually
2024-09-06 18:51:06 +02:00
Alug
9eefbcea72
only save demo in map command if you atleast spend 35 seconds in one map
2024-09-05 18:34:50 +02:00
Alug
d56b70a8e7
toggle for saving replays on changing to same map
2024-09-05 10:52:45 +02:00
Alug
54ebb9dfec
test also save replay on mapchange command
2024-09-05 10:52:42 +02:00
Alug
43b6597ec0
this should also check for screentex cvar value 2
...
dont run certain postprocessor effects when you dont have screentextures enabled
2024-09-04 23:45:08 +02:00
Alug
b7d887d610
add a little bit of safety to R_SetupFrame
2024-09-04 23:31:54 +02:00
Alug
ff9b35ab45
remove IFCHANGED macro, check directly in R_Lerp funcs + inline those
...
basically does the same thing lol just looks better
2024-09-04 18:49:16 +02:00
Alug
20b5175180
scale precip momz with mobjscale when cv_mobjscaleprecip enabled
2024-09-04 18:48:13 +02:00
Alug
596c8e2ecc
also scale precip sprite with mobjscale when cv_mobjscaleprecip enabled
2024-09-04 18:48:08 +02:00
Alug
94218a6549
only call HWR_RenderPlayerView in ogl explictly
2024-09-04 18:48:05 +02:00
Alug
2d36f798e7
Merge branch 'Saturn-Next' into absolutehell
2024-09-04 15:26:42 +02:00
Alug
853004dad9
smol cleanup for led stuff again
2024-09-04 15:26:31 +02:00
Alug
0cc86430ca
smol cleanup hw_shaders
2024-09-04 15:26:28 +02:00
Alug
8760886f57
smol cleanup p_map
2024-09-04 15:26:24 +02:00
Alug
821669d03d
Revert "optimize z position checking for mobjs without collision and camera"
...
This reverts commit c11d925580 .
2024-09-04 15:23:28 +02:00
Alug
17f8996afc
revert pretty much all mobj changes for now
...
might reapply them some other time, but since we need to maintain vanilla compat as much as possible gonna revert crap
kinda sick of desynching stuffs and honestly most the mobj stuff rarely ever crashes
2024-09-04 15:23:14 +02:00
Alug
7ef4eedd06
Revert "optimize pointon functions"
...
This reverts commit 94ddd01427 .
may be readded in v7.1
since this is pretty sensitive code and i dont want to desynch or crap so this def needs more testing
2024-09-04 15:04:54 +02:00
indev
df6a31767e
Make server send serverinfo packet so client can know server name even when connecting just by ip
2024-09-02 21:47:02 +03:00
Alug
882a3b7824
revert this
2024-09-02 17:58:35 +02:00
Alug
94ddd01427
optimize pointon functions
2024-09-02 17:46:41 +02:00
Alug
e614decae0
optimize MT_TUBEWAYPOINT
...
Store waypoints at map load instead of iterating through the thinker list to find them
https://git.do.srb2.org/STJr/SRB2/-/merge_requests/938
2024-09-02 17:45:57 +02:00
Alug
e0f46ea80d
oop
2024-09-02 17:44:55 +02:00
Alug
3391018606
some stuffs from lugstuff
...
mostly just cleanup and smoler optimizations
2024-09-02 17:40:05 +02:00
Alug
61fd11f7cd
those are unused
2024-09-02 14:23:24 +02:00
Alug
4a469aebdc
dont draw precip in skyboxes in opengl like software does
2024-09-02 14:23:22 +02:00
Alug
341815c0ed
this can be static
2024-09-02 14:23:19 +02:00
Alug
5830270bda
optimize polyobject spawn
...
should speed up level loading with maps with polyobjects
thx geezeedoom
2024-09-02 14:23:16 +02:00
Alug
8a1ff58dff
free texture patchlumps proper in R_LoadTextures
...
drastically reduces ram usage
2024-09-01 20:43:40 +02:00
Alug
0523d98a1c
Test: remove Z_Unlock and proper free some stuff
2024-09-01 20:41:42 +02:00
Alug
983af4e7a1
Merge branch 'Saturn-Next' into absolutehell
2024-08-31 20:19:42 +02:00
Alug
f8bec7296c
no idea why i put those here
2024-08-31 20:19:12 +02:00
Alug
2be4bd3d6a
update camera when paused and changing cam dist or height
2024-08-31 20:15:41 +02:00
Alug
7d74296604
throw menu bg conditions into own function since it s terrible
2024-08-31 19:53:09 +02:00
Alug
0504a355d2
add camera options menu
2024-08-31 19:52:35 +02:00
Alug
036df817f1
give camera lookback a toggle + extra option
2024-08-31 18:46:01 +02:00
Alug
ba331caff6
when looking back camera momentum should inherit the mom of the player
...
makes using shoes or any boost stuff less jarring when looking back
2024-08-31 18:45:58 +02:00
Alug
e2ac9708cb
super tiny cleanup m_menu again
2024-08-31 18:45:55 +02:00
Alug
783ce7bada
give camera lookback a toggle + extra option
2024-08-31 18:45:47 +02:00
Alug
594931e07e
when looking back camera momentum should inherit the mom of the player
...
makes using shoes or any boost stuff less jarring when looking back
2024-08-31 18:45:43 +02:00
Alug
3e245d49d8
super tiny cleanup m_menu again
2024-08-31 18:45:36 +02:00
Alug
76ed4aae12
forgor speedo doesent draw in splitscreen + change offsets
2024-08-31 18:11:06 +02:00
Alug
565f36d4b7
forgor speedo doesent draw in splitscreen + change offsets
2024-08-31 18:10:59 +02:00
Alug
75a94b050d
Merge branch 'Saturn-Next' into absolutehell
2024-08-31 18:01:34 +02:00
Alug
91fac0880d
add battlespeedometer to saturn hud menu + apply offset to bumper gfx when enabled
2024-08-31 18:01:22 +02:00
Alug
42fa29f78b
make timer flash at 99´59´99 again
2024-08-31 17:39:30 +02:00
Alug
28d8e84d6b
this can be static and inlined
2024-08-31 16:53:33 +02:00
Alug
c11d925580
optimize z position checking for mobjs without collision and camera
...
idk how much this does tbh
only for stuff without collision since it may desynch otherwise
based on
https://git.do.srb2.org/STJr/SRB2/-/merge_requests/2214
and
https://git.do.srb2.org/STJr/SRB2/-/merge_requests/2250
2024-08-28 02:35:42 +02:00
Alug
d7c1b12dbd
changes to saturn menu
...
-Add new Saturn Hud options menu to declutter normal saturn options
- If in any of the hud options the game will force display the kart hud and disable the fade background
- i hate m_menu
2024-08-27 18:26:18 +02:00
Alug
e2c3d5b20d
respawn precip when toggling any of its settings
2024-08-27 16:41:19 +02:00
Alug
8581d87e41
toggle to scale weather with mobjscale
...
toggle since it may tank performance on certain maps for some + may make visability worse
2024-08-27 16:27:28 +02:00
Alug
fe853d4bee
fix compileur warnings
...
idk if this is right lol
2024-08-27 06:07:38 +02:00
Alug
b8038130b8
fix conflict
2024-08-27 05:51:35 +02:00
Alug
31c5d8d67c
fix precip switching
2024-08-27 05:44:31 +02:00
Alug
a2f4430378
stuff
2024-08-27 05:44:27 +02:00
Alug
a8e4f6e2ea
Reapply "lol"
...
This reverts commit 340450a67e .
2024-08-27 05:44:20 +02:00
Alug
aac89f270b
Reapply "optimize precip thinker"
...
This reverts commit dd73787c8b .
2024-08-27 05:44:13 +02:00
Alug
9022e02ccd
fix potential crash in P_TryCameraMove for dedi servers
2024-08-23 15:31:58 +02:00
Alug
5ddd2e4fbc
cleanup P_DoSuperTransformation
...
its still exposed to lua for whatever reason
so cant really remove crap kek
2024-08-23 15:31:55 +02:00
Alug
3b500add73
cleanup birdmusic crap again
...
music_resync_powerups_only literally didnt do shit lol
removed some other unused crap
changed some conditions to better check for stuff
etc idk
i just rather remove this whole thing at this point but oh well
2024-08-23 15:31:52 +02:00
Alug
4a6635f8a8
Revert "smol interp fixes"
...
This reverts commit 77a2976d05 .
2024-08-22 14:54:43 +02:00
Alug
af6393af50
forgor
2024-08-21 15:38:46 +02:00
Alug
6a14543e9e
cleanup FBO on shutdown + make some stuff static
2024-08-20 23:26:43 +02:00
Alug
3d827570e6
more changes to FBO stuff
...
now it wont ever do anything when disabled
also properly deletes the FBO when disabling it
2024-08-20 23:18:35 +02:00
Alug
9f8eb07442
revert this in y_inter
2024-08-20 21:33:41 +02:00
Alug
31c64b63de
make this more robust ig
2024-08-20 03:57:49 +02:00
Alug
cf5c0ca5f7
forgor return
2024-08-19 21:54:22 +02:00
Alug
f0d91a9708
do not constantly query ogl extensions
2024-08-19 21:48:56 +02:00
Alug
0f94a26dc6
dumbass workaround for issues on xwayland with nvidia
...
this will run automatically when it detects an nvidia gpu even with gr_framebuffer disabled lol
we have safeguards everywhere so shouldnt be an issue
2024-08-19 19:37:02 +02:00
Alug
cded0af061
change some stuff for saturn
2024-08-19 17:51:35 +02:00
NepDisk
fffa7e44c5
Appimage compile pt2
2024-08-19 17:51:31 +02:00
NepDisk
a38aee7fe3
Appimage compile pt1
2024-08-19 17:51:29 +02:00
Alug
4d03fa06e1
raise maxpng res
2024-08-19 17:51:26 +02:00
Alug
dcd470b2e1
Merge branch 'Saturn-Next' of https://github.com/Indev450/SRB2Kart-Saturn into Saturn-Next
2024-08-19 14:58:08 +02:00
Alug
2259ef3f71
Update LUASTUFF
...
idk i suck at explaining lmao
but atleast those should be mentioned
2024-08-19 14:58:01 +02:00
indev
af18e2b7d1
Don't execute exitgame command on dedicated servers
2024-08-19 14:14:59 +03:00
indev
9e8d79f246
Fix compilation when SDL_VERSION_ATLEAST(2,0,18) is false (if its false then 'else' statement would not be valid)
2024-08-19 14:14:17 +03:00
Alug
5b480be6dc
smol cleanup for downsample stuff
2024-08-19 12:16:32 +02:00
Alug
54d897fc33
smol i_video cleanup
2024-08-19 12:15:47 +02:00
Alug
cfebe422d3
Fix typo
2024-08-19 12:00:27 +02:00
NepDisk
fcc5c13274
Fix Compile without with out of date SDL
2024-08-19 11:59:48 +02:00
Alug
707448193b
Fix some tooltips so they don't go offscreen
...
grr git not crediting neppy for some reason
2024-08-19 11:59:45 +02:00
NepDisk
84a1f86037
Allow the control binds menu to use lower case
2024-08-19 11:59:42 +02:00
NepDisk
b2129011c2
Fix gamepad menus for green reses via scrolling
2024-08-19 11:59:38 +02:00
Alug
9d359ef8c5
use qsort instead of qs22j for vissprite sorting
...
seems to be actually faster in this case
2024-08-19 11:59:35 +02:00
Alug
87a2b74a88
this should not be in HWRENDER ifdef
2024-08-19 11:59:33 +02:00
Alug
d5388e8dad
fix NOHW compile
2024-08-19 11:59:29 +02:00
Alug
fe7677c5c8
Revert "Do not access memory on misaligned addresses"
...
This reverts commit 112716dae5 .
2024-08-19 11:59:25 +02:00
Alug
f36ac0bb4b
this should not be in HWRENDER ifdef
2024-08-17 20:03:35 +02:00
Alug
d24bcc9fd7
fix NOHW compile
2024-08-17 20:01:46 +02:00
Alug
daf8151a32
Revert "Do not access memory on misaligned addresses"
...
This reverts commit 112716dae5 .
2024-08-17 19:56:14 +02:00
Alug
b432491d34
throw saturnpacket and join stuff behind "SATURNPAK" ifdef, disable it for now
2024-08-17 19:54:56 +02:00
Alug
1313b4c112
Merge branch 'Saturn-Next' into absolutehell
2024-08-17 19:43:42 +02:00
Alug
164d7399d2
smol fix to slope light
2024-08-17 16:31:09 +02:00
Alug
87176cfd0b
better slope light
2024-08-17 16:09:43 +02:00
Alug
bab96b73e0
smol changes
2024-08-17 16:09:40 +02:00
Alug
f10db3900a
Use a const for the contrast
2024-08-17 16:09:37 +02:00
Alug
7d4b1d0852
Update light offset on polyobjects when they rotate
2024-08-17 16:09:34 +02:00
Alug
6ab99218f2
precalc fakecontrast on mapload
2024-08-17 16:09:31 +02:00
indev
1959edf357
Always allow typing replay search query, similar to addon search
2024-08-16 01:58:33 +03:00
indev
6fc2681b34
Add 'Hit Em Delay' option in menu
2024-08-16 01:51:29 +03:00
indev
02dcf85c46
Prioritize display players when assigning delayed 'hit em'
2024-08-16 01:51:29 +03:00
indev
89f0521cce
Oops forgot to change that
...
Dunno if this function ever gets called for non-player objects but just in case
2024-08-16 01:51:28 +03:00
indev
35029e826f
Add delayed hit em sound (like in DRRR), togglable via 'karthitemdialog' cvar
2024-08-16 01:51:28 +03:00
Alug
f6c170b53c
add onchange func for led + fix rumble onchange
2024-08-16 00:34:16 +02:00
Alug
7991a5ce5e
Merge branch 'Saturn-Next' into absolutehell
2024-08-16 00:09:46 +02:00
Alug
3973851dd2
add toggles for gamepad led stuff
2024-08-16 00:09:08 +02:00
Alug
f6361e29bd
reset rumble when player is exiting
2024-08-16 00:08:52 +02:00
Alug
9f8db631f0
reset rumble when player is exiting
2024-08-15 23:46:02 +02:00
Alug
ada1de7ad6
dont change connect behaviour regardless of client + smol cleanup and fixes
...
should hopefully fix any remaining issues
2024-08-15 23:44:48 +02:00
Alug
ac55d473e7
smol cleanup
2024-08-15 17:34:58 +02:00
Alug
2100f11af7
remove duplicates in ResetNode
2024-08-15 17:34:55 +02:00
Alug
ea1b5cd1a9
Merge branch 'Saturn-Next' into absolutehell
2024-08-15 17:34:50 +02:00
Alug
e100fff230
check for changed state before everything else
2024-08-15 16:38:19 +02:00
Alug
5393ac526a
move this in hw_main
2024-08-15 16:38:12 +02:00
Alug
808f7baf53
move this in coindition
2024-08-15 16:38:08 +02:00
Alug
35f54822be
smol cleanup HWR_RenderPlane
2024-08-15 16:38:05 +02:00
indev
94714fe571
Fix increasing number of viewpoints in replays by more than 1 (like pressing '3' with only one viewpoint) crashing game
2024-08-14 16:08:39 +03:00
Alug
5bdf8698bd
completely disable director in splitscreen
...
will eventually get to splitscreen support lul
2024-08-14 14:45:42 +02:00
Alug
2398e60e89
fix director lol
2024-08-14 14:10:40 +02:00
Alug
b4e563bfd6
Merge remote-tracking branch 'origin/Saturn-Next' into absolutehell
2024-08-11 11:22:21 +02:00
indev
a56ce09923
Fix LUA_EvalMath warnings being broken sometimes
2024-08-11 12:01:10 +03:00
Alug
68c7a6bd93
Merge branch 'Saturn-Next' into absolutehell
2024-08-09 19:48:28 +02:00
indev
b4612d6bd4
Fix smol memory leak in replay search thread oops
2024-08-09 19:45:16 +03:00
indev
c2cfc96d87
Load replay titles in separate thread
2024-08-09 16:05:48 +03:00
indev
8db99291ac
Visual improvements for replay search
2024-08-08 22:40:22 +03:00
indev
c9aa764444
Add alternative button ('/') to open replay search
2024-08-08 22:09:30 +03:00
indev
ee4869993d
Oops shouldn't z_free that
2024-08-08 22:03:00 +03:00
indev
0758cf39c2
Greatly improve replay search perfomance by only reading replay name, and not entire file. Increase default search rate up to 1000
2024-08-08 22:01:19 +03:00
indev
bb0c777cac
Fix M_HutCheckReplays still being called in menu (hopefully)
2024-08-08 21:31:09 +03:00
indev
0bd2c49dae
Search replays using title instead of filename
2024-08-08 18:43:03 +03:00
indev
d25c6fa0b2
Test replay search
2024-08-08 16:51:39 +03:00
Alug
8f2d36aab0
smol cleanup
2024-08-05 12:40:06 +02:00
indev
6c764a8487
Fix chat not saving in console
...
Not sure why it was working before but broke now, maybe making va use snprintf instead of sprintf broke that
2024-08-04 16:57:24 +03:00
Alug
dd6056a07a
check if theres even controllers in rumble ticker
2024-08-04 14:53:24 +02:00
Alug
a83d364ba7
update led status in main loop
...
makes this whole ordeal alot less hacky tbh
player color always gets updated if it changes
still allows for directly setting led color elsewhere by using G_SetPlayerGamepadIndicatorColor directly
hoping crap doesent cost any perf but honestly shouldnt
2024-08-04 14:53:21 +02:00
Alug
9c4b2b0abf
no need for this
2024-08-04 14:53:18 +02:00
Alug
4235801ae4
proper pass fwrapv to gcc
2024-08-04 14:53:16 +02:00
Alug
6791f2e883
forgor
2024-08-04 12:50:39 +02:00
Alug
caeec35c66
fix warning in director
2024-08-04 12:50:02 +02:00
Alug
7b95df150a
support gcc 14.2.1 + fix some stuff
2024-08-04 12:49:59 +02:00
Alug
852651cefe
better statdisplay offsets in splitscreen
...
lots of trial and error.....
2024-08-03 23:50:03 +02:00
Alug
22b9915ad7
smol fix to viewroll interp
2024-08-03 22:50:46 +02:00
Alug
0f994a0676
expose viewroll to lua
2024-08-03 22:50:42 +02:00
indev
5d68fd690b
Add ctrl-w (delete word), ctrl-left (move to word beginning) and ctrl-right (move to word end) shortcuts for console
2024-08-03 23:19:54 +03:00
Alug
c55bc6db4d
Merge branch 'Saturn-Next' into absolutehell
2024-08-03 21:46:13 +02:00
Alug
a77d8b4762
fix spriteshadows
2024-08-03 21:44:28 +02:00
Alug
23596d2516
add controller rumble to menu
2024-08-03 21:26:08 +02:00
indev
352b958da1
Fix few remaining uses of this_scale and ty
...
Not too sure if this is correct tho
2024-08-03 22:06:18 +03:00
Alug
e9f2ef1422
Merge branch 'Saturn-Next' into absolutehell
2024-08-03 20:48:37 +02:00
Alug
7baa711744
this somehow was not reverted
2024-08-03 20:48:31 +02:00
indev
65e274a65f
Smol safeguard for R_PointToDist2
2024-08-03 21:27:25 +03:00
Alug
a874691bce
Merge branch 'Saturn-Next' into absolutehell
2024-08-03 18:02:42 +02:00
Alug
d60d101e75
dont set localangle or smth
2024-08-03 18:02:36 +02:00
Alug
8d9a648dce
misplaced this
2024-08-03 18:02:21 +02:00
Alug
2332cc76ee
Merge branch 'Saturn-Next' into absolutehell
2024-08-03 17:44:05 +02:00
Alug
5c3a2bf5be
make inline macros for pointtodist
2024-08-03 17:43:57 +02:00
Alug
5e2b50c49e
add very light rumble to brakedrift
2024-08-03 17:43:53 +02:00
Alug
3a56bf2bb5
fix up ogl sprite drawers, fix floor clip fix remove ty and reduntand hires stuff
2024-08-03 17:43:47 +02:00
Alug
3f4afb604a
check if displayplayer skincolor is availible before returning it
2024-08-03 17:43:25 +02:00
Alug
77a2976d05
smol interp fixes
2024-08-03 17:43:17 +02:00
Alug
0eda508cf6
revert some lightlevel stuff in hw_main
2024-08-03 17:43:13 +02:00
Alug
4301e0f750
make this more explicit
2024-08-03 17:43:09 +02:00
Alug
c5eb81c26a
remove redundant check
2024-08-03 17:43:05 +02:00
Alug
47d3cf3e62
change rumble ticker loop a bit
2024-08-03 17:42:59 +02:00
Alug
41dc34efe8
set default duration to 84
2024-08-03 17:42:53 +02:00
Alug
4acbca4c8f
do not constantly reset rumble
...
so it can work from lua
2024-08-03 17:42:47 +02:00
Alug
11329d5794
throw rumble ticker into right place
2024-08-03 17:42:44 +02:00
Alug
b0880607d4
fix cassting, make one tic duration default, but can still pass ms to it
2024-08-03 17:42:39 +02:00
Alug
2afa18bbdd
add duration field to G_PlayerDeviceRumble
...
duration is in ms
2024-08-03 17:42:35 +02:00
Alug
acad230daa
expose rumble and led to lua
2024-08-03 17:42:31 +02:00
Alug
49fcf3e486
rename to G_SetPlayerGamepadIndicatorColor
2024-08-03 17:42:26 +02:00
Alug
acb0144742
splitscreen support for rumble
2024-08-03 17:42:21 +02:00
Alug
6efc8fdad3
add splitscreen support to gamepad led
...
also add more proper device check
2024-08-03 17:42:18 +02:00
Alug
c75e6ba63c
add basic rumble support for gamepads
2024-08-03 17:42:14 +02:00
Alug
7bd1808c88
change gamepad rgb color when switching viewpoints
2024-08-03 17:42:04 +02:00
Alug
fe8e00895a
simplify reduntand condition
2024-08-03 17:42:00 +02:00
Alug
9dc5e3d338
ressting to defaultcolor should also set led color
2024-08-03 17:41:29 +02:00
Alug
694c1ad808
change color light when you cycle between colors in player setup
2024-08-03 17:41:18 +02:00
Alug
754b028623
give rgb custom color support, change rgb light color earlier in Color_OnChange
...
so it always unconditionally changes the color
also
2024-08-03 17:41:14 +02:00
Alug
4423fb300f
set controller rgb to playercolor
...
eh only for 1st player now no splitscreen support
idk if everything here is even correct
2024-08-03 17:41:06 +02:00
Alug
5c7d9327e3
SDL: only react to window focus changes if state actually changes
2024-08-03 17:40:41 +02:00
Alug
cd72bce3cb
dont reload palette until config was loaded
2024-08-03 17:40:34 +02:00
Alug
64ef0465d5
calloc soundchannels insteal of mallocing
2024-08-03 17:40:28 +02:00
Alug
fe6ad4f762
Do not run ST_Ticker if dedicated
2024-08-03 17:39:54 +02:00
Alug
4b69b39d39
HMS_fetch_rules: Return NULL if the curl connection failed, instead of producing garbled rules
2024-08-03 17:39:44 +02:00
Alug
a6fc237c88
try to prevent potential infinite SIGARBT hang in signal handler
2024-08-03 17:39:40 +02:00
Alug
2448a0b735
Cache pk3 central directory and Refactor ResFindSignature to work in chunks
...
https://github.com/KartKrewDev/RingRacers/commit/8ca2dc77e75b1ba8c511380257f0bbaf6d21c27b
https://github.com/KartKrewDev/RingRacers/commit/dedd0047bd8f9f73aba4defc19c429af7c987983
2024-08-03 17:39:36 +02:00
Alug
685220140a
fix potential crash on nix while quitting
2024-08-03 17:39:32 +02:00
Alug
99779629d0
dont always reset texture depth in ogl
2024-08-03 17:39:27 +02:00
Alug
9fceabed8f
Ensure Z_Malloc provides same alignment as libc
2024-08-03 17:39:22 +02:00
Alug
e11363db3a
Fix sound falloff calculation overflow
2024-08-03 17:39:17 +02:00
Alug
023cade51d
smol fix to frameskipping
2024-08-03 17:39:12 +02:00
Alug
d675b98330
Revert "Fix mobj reference management of player->mo"
...
This reverts commit c5ec61baa5 .
2024-08-03 17:38:15 +02:00
Alug
b3f16e935d
Revert "more mobj reference fixes + cleanup"
...
This reverts commit bd8ff77fe0 .
2024-08-03 17:37:46 +02:00
Alug
5b9e179017
Revert "dont access delayremoved thinkers"
...
This reverts commit df9ad5a31f .
2024-08-03 17:37:12 +02:00
Alug
6f53263107
Revert "Clean up mobj and thinker removal"
...
This reverts commit 048ccf52b0 .
2024-08-03 17:37:06 +02:00
Alug
fd797436fa
Revert "fix declaration"
...
This reverts commit 8f195530b5 .
2024-08-03 17:36:53 +02:00
Alug
96ee117657
Revert "more reference fixes"
...
This reverts commit 94bd1cb37b .
2024-08-03 17:36:31 +02:00
Alug
8b60fb6b6c
revert this
2024-08-03 17:36:07 +02:00
Alug
67542d3cf1
i didnt knew k_positiondelay exists
2024-07-29 20:16:21 +02:00
Alug
41e97ffa79
another smol fix to director
2024-07-29 16:40:43 +02:00
Alug
ffcff99a79
lower breakawaydist in director
2024-07-29 15:42:20 +02:00
Alug
48bcaacada
fix K_DrawDirectorDebugger
2024-07-29 15:42:17 +02:00
Alug
01b060b0fe
cleanup k_director
2024-07-29 15:42:15 +02:00
Alug
51ce092a6a
lower pinchdist in director
...
since we cant get an accurate value for distance to finish line, this should do it perhaps
2024-07-29 15:42:12 +02:00
Alug
d09e02721b
e
2024-07-27 15:56:56 +02:00
Alug
88b81aa28b
e
2024-07-27 15:56:51 +02:00
Alug
84c4f4f428
Merge branch 'Saturn-Next' into absolutehell
2024-07-27 15:49:46 +02:00
Alug
ab5bc92a95
Revert "raise MAXVISSPRITES for 64-bit again"
...
This reverts commit d5258786e5 .
2024-07-27 15:49:39 +02:00
Alug
b44dd3edf0
Merge branch 'Saturn-Next' into absolutehell
2024-07-27 15:04:09 +02:00
Alug
80498a78ea
lagless cam toggle
2024-07-27 15:03:59 +02:00
Alug
40663eb2b5
lagless cam test
2024-07-27 15:03:55 +02:00
Alug
dca2827154
this is not a server cvar lol
2024-07-27 15:03:43 +02:00
Alug
eec069b4e8
Merge branch 'rrdirectorport' into Saturn-Next
2024-07-27 14:42:26 +02:00
Alug
26eedc3341
small change to director for battle
2024-07-27 14:39:08 +02:00
Alug
b19cefee3c
Merge branch 'Saturn-Next' into rrdirectorport
2024-07-27 14:39:04 +02:00
Alug
fb54b969d1
toggle for laptimes
2024-07-27 14:38:58 +02:00
Alug
034724b03e
Show last lap time on HUD
...
god this is kinda ass lol
doesent work when you join midgame so disabled for there
2024-07-27 14:38:53 +02:00
Alug
b80762eaf5
rename draw dist settings
2024-07-27 14:38:45 +02:00
Alug
d5258786e5
raise MAXVISSPRITES for 64-bit again
2024-07-27 14:38:42 +02:00
Alug
9bfe2d3138
add more sprite draw dist settings for 64bit clients
2024-07-27 14:38:38 +02:00
Alug
ae3b3f750d
when no autoload config is found skip everything in D_AddAutoloadFiles
...
stuff doesent need to run if theres nothing to autoload so things can be skipped
2024-07-26 15:03:17 +02:00
Alug
f83090e299
when no autoload config is found skip everything in D_AddAutoloadFiles
...
stuff doesent need to run if theres nothing to autoload so things can be skipped
2024-07-26 15:03:12 +02:00
Alug
3e4f497cbc
Merge branch 'Saturn-Next' into absolutehell
2024-07-26 14:29:26 +02:00
Alug
ce2398fdb7
add some extra safety to orbit and bananachain funcs
2024-07-26 14:29:14 +02:00
indev
f545cce6fe
Add check for if lua state exist in UnArchiveExtVars, since server can have local luas that may add player/mobj fields into savegame
2024-07-26 14:29:10 +02:00
Alug
f614725fcb
some cleanup
2024-07-26 14:29:03 +02:00
Alug
59e4f9ce4a
let autoload run later to mitigate server join issues
...
itll now run at a similar place to postautoload
this may hopefully prevent some issuess with freeslotting lua
however sadly this makes menu replacements not work at startup anymore
2024-07-26 14:29:00 +02:00
Alug
dff6b15263
fix fail condition
2024-07-26 14:28:57 +02:00
Alug
977ee8ccfc
make backup of kartconfig before writing to it
2024-07-26 14:28:54 +02:00
Alug
161815e6fb
Merge branch 'Saturn-Next' into absolutehell
2024-07-24 15:02:42 +02:00
Alug
8dda864909
toggle palrendering and fbo off if screen textures are disabled
2024-07-23 20:32:18 +02:00
Alug
f6f9542d6e
add cam check here
2024-07-23 20:32:16 +02:00
Alug
6655c0d881
reset tilt when respawning
2024-07-23 20:32:13 +02:00
Alug
98c8176d59
simplify this
2024-07-23 20:32:10 +02:00
Alug
2e7f64458d
forgor this
2024-07-23 20:32:07 +02:00
Alug
d6a9cdc452
fix up bird screen tilting
...
removes old lerp variables that did nothing
properly interpolated viewroll
made it proper adjust to mobjscale
doesent roll view when spectating
general cleanup
2024-07-23 20:32:05 +02:00
Alug
17dbe77cd3
allowjoin now sets saturnjoin to its value use CV_StealthSet to prevent
...
its only for scripts pretty much so no need to toggle it seperately
2024-07-23 17:45:27 +02:00
Alug
4b71d9a48d
add "allowsaturnjoin" cvar to let toggle allowjoin for saturn clients seperately
2024-07-23 17:45:25 +02:00
Alug
1f41cb9a3f
e
2024-07-23 00:59:20 +02:00
Alug
c6351c6c53
add to menu
2024-07-23 00:55:55 +02:00
Alug
283218f2d6
changuer how this works
...
counter decrements - 1 double the cooldown time
2024-07-23 00:47:39 +02:00
Alug
4de22e9d66
add gamestateresendattempts
...
so you can specify how often the game tries to resend gamestate to player in given time
so they dont get stuck in a synch loop
this is gamestateresendattempts value in the time of resynchcooldown *2
2024-07-23 00:47:34 +02:00
Alug
b4a737d910
Test: Restore save_p after P_LoadLevel
...
P_LoadLevel calls some functions that save gamedata and
unset save_p.
this is kinda hacky but i perhaps will port the redone save buffer sometime
2024-07-23 00:47:13 +02:00
Alug
0f2c17324a
Merge branch 'Saturn-Next' into absolutehell
2024-07-23 00:47:03 +02:00
Alug
6a1b10eaf9
Make polyobjects agree with sector lighting/colormap like a FOF.
2024-07-23 00:46:58 +02:00
Alug
824211c2f6
prevent potential level load crash
2024-07-23 00:46:54 +02:00
Alug
02d115f119
don't check flippedness in HWR_RotateSpritePolyToAim if the mobj is actually a precipmobj!
2024-07-23 00:46:52 +02:00
Alug
b44617413b
gitignore deez
2024-07-22 12:59:07 +02:00
Alug
c447f25e0a
add missing copyright stuff to k_director
2024-07-22 12:57:11 +02:00
Alug
34ce92d9fa
Merge branch 'Saturn-Next' into absolutehell
2024-07-21 23:29:11 +02:00
Alug
7ad5dc61ac
Revert "Free mipmaps before freeing tags"
...
This reverts commit 2437c5a19a .
2024-07-21 23:25:10 +02:00
Alug
7072332ab7
clean director up a little
...
toggling director now resets cooldown so it switches players immediately
also consolidated condition to be active
and ensure DirectorFollowAttack doesent always run when it doesent need to be
2024-07-21 22:50:04 +02:00
indev
60e933eb00
Add director hud indicator
2024-07-21 22:49:59 +02:00
Alug
43e3d07acb
fix cmake
2024-07-21 22:49:54 +02:00
indev
228252ee6f
Add bind for director toggle
2024-07-21 22:49:51 +02:00
Alug
56a919eb60
oops
2024-07-21 22:49:47 +02:00
Alug
bfcb906b12
add stuff for directordebugger i forgor
2024-07-21 22:49:41 +02:00
Alug
b94776063f
only update director if consoleplayers specs or in demo playback
...
dont need to update this ever if we dont even use it lol
2024-07-21 22:49:38 +02:00
Alug
3f412373bc
fix crash if everyone spectates
2024-07-21 22:49:35 +02:00
Alug
e7d1858052
port director from RR
2024-07-21 22:49:31 +02:00
Alug
bd106308fc
revert this
...
doesent do anything but complicate stuff lol
2024-07-21 22:46:07 +02:00
Alug
6ec96b37bd
remove hw_light
2024-07-21 22:38:57 +02:00
Alug
3653786e14
cleanup hw_main
2024-07-21 22:24:55 +02:00
Alug
5824d9e803
cleanup r_things a little
2024-07-21 22:24:51 +02:00
Alug
3ad3cdfa38
stop yelling clang
2024-07-21 22:24:49 +02:00
Alug
efcd1df365
fix this oops
2024-07-21 22:24:46 +02:00
Alug
aef62c45de
smol cleanup
...
also check for splitscreen and if not dont run a for loop lul
2024-07-21 22:24:44 +02:00
Alug
94bd1cb37b
more reference fixes
2024-07-21 22:24:41 +02:00
Alug
f7bf3fe510
cleanup hw_main
2024-07-21 22:24:28 +02:00
Alug
a771ebf0e8
cleanup r_things a little
2024-07-21 22:24:21 +02:00
Alug
6b4d02ae99
stop yelling clang
2024-07-21 22:24:15 +02:00
Alug
3e6cab1ec9
fix this oops
2024-07-21 22:24:11 +02:00
Alug
147c59c26b
smol cleanup
...
also check for splitscreen and if not dont run a for loop lul
2024-07-21 22:24:09 +02:00
Alug
db6f76d12d
more reference fixes
2024-07-21 22:24:01 +02:00
Alug
86950c26d0
add check here too
2024-07-21 11:49:48 +02:00
Alug
e1d4f10223
add "gamestatecooldown" cvar
...
to be able to change the cooldown between gamestate resends
2024-07-21 11:49:21 +02:00
Alug
01c1ae42a1
fix saturn packet going the wrong way
2024-07-20 18:30:10 +02:00
Alug
550871f576
smol cleanup
2024-07-20 18:21:19 +02:00
Alug
56fcca1f6b
mark if node can receive savegame so it doesent run resynch code on em
...
should prevent some issues for when a client received gamestate but thinks it needs to be resynched getting stuck
2024-07-20 18:15:42 +02:00
Alug
930bde785c
just reset everything resynchwise here
2024-07-20 16:24:36 +02:00
Alug
13aadc41ff
should reset those here perhaps
2024-07-20 16:22:51 +02:00
Alug
ea4998f666
add gamestate resend ontop of resynch code lmao
...
absolute hell
will fallback to just normal resynching when the client doesent send gamestate request packet
2024-07-20 16:17:19 +02:00
Alug
6f0e92e0d1
Merge branch 'Saturn-Next' into absolutehell
2024-07-20 15:02:41 +02:00
Alug
a4085cb155
fix hoop midjoin crash in the dumbest way possible
...
cant figure out why it crashes so thisll do lol
2024-07-19 22:57:18 +02:00
Alug
b7e77e10b6
improve virtual resource management
2024-07-19 22:57:16 +02:00
Alug
8f195530b5
fix declaration
2024-07-19 21:29:10 +02:00
Alug
048ccf52b0
Clean up mobj and thinker removal
2024-07-19 21:26:42 +02:00
Alug
df9ad5a31f
dont access delayremoved thinkers
...
uhhh
2024-07-19 21:26:02 +02:00
Alug
0b3284e23c
fix ScreenCoords on 2 plyr splitscreen and shearing
...
+ remove non 16:10 hack since that issue was fixed elsewhere
2024-07-19 19:25:20 +02:00
Alug
36d598440a
disable hudoffsets in splitscreen
2024-07-19 19:25:18 +02:00
indev
9cc42e6430
Add option to play power items sfx for growmusic and supermusic
2024-07-19 19:03:47 +03:00
Alug
3f5c19bffd
add boolean to tell if node is saturn
2024-07-19 15:01:30 +02:00
Alug
800dbf5e78
add packet into packettypename
2024-07-19 15:00:45 +02:00
Alug
2b5db9ff3f
make saturn packet reliable
2024-07-19 14:46:24 +02:00
Alug
b07c8848ca
make smol function for now
2024-07-19 14:43:19 +02:00
Alug
9bff8dd91f
whoopss remove test stuff
2024-07-19 14:40:25 +02:00
Alug
19eee66c39
make a packet to tell if a joined client is on saturn
...
initial stuff
works and seems to be vanilla compatible
needs its own function and other things to be useful
2024-07-19 14:40:23 +02:00
Alug
fbf7be8808
add audio buffer size into sound menu
2024-07-18 14:43:14 +02:00
Alug
fcda4c1188
revert this in teleport
2024-07-17 22:19:11 +02:00
Alug
deae234afa
Revert "clean up mapload code a little more"
...
This reverts commit 79a5d174a5 .
2024-07-17 12:21:05 +02:00
indev
82e33fd4e4
Attempt to fix possible use-after-free for awayviewmobj
2024-07-17 12:30:34 +03:00
Alug
15914c2f25
Skip over empty entries when populating vres, saving memory
2024-07-17 11:13:07 +02:00
Alug
da64d3ccbf
vres_GetMap: Count resources in folders up until next 0-length lump
...
justs in case the order of stuff may be weird
fixes keepmapmusic crash on some maps
2024-07-17 11:12:58 +02:00
Alug
79a5d174a5
clean up mapload code a little more
2024-07-17 09:21:15 +02:00
indev
295d9768ce
Fix linedef 415 executing random text if script lump doesn't have null terminator
2024-07-16 16:42:32 +03:00
Alug
9490b1235d
did not mean to add this lol
2024-07-16 10:43:55 +02:00
Alug
55eb984ccd
remove this check
2024-07-15 21:58:00 +02:00
Alug
4b1a82e14e
fix more warnings
2024-07-15 21:43:25 +02:00
Alug
3c224923e9
fix some warnings in clang
2024-07-15 21:19:25 +02:00
Alug
2c4f5a68b9
fix A_ action protottypes
2024-07-15 21:10:11 +02:00
Alug
d324c917ad
Revert "fix some clang warnings"
...
This reverts commit fea89de037 .
2024-07-15 20:57:09 +02:00
Alug
bd8ff77fe0
more mobj reference fixes + cleanup
2024-07-15 13:56:28 +02:00
Alug
35d40e1d37
ndef
2024-07-14 17:30:52 +02:00
Alug
e9e281fd2a
clean up some net stuff
2024-07-14 17:22:25 +02:00
Alug
2437c5a19a
Free mipmaps before freeing tags
...
ŝhould hopefully fix some random Z_free crashes
2024-07-14 17:17:01 +02:00
Alug
b9b4de929d
this does nothing lol
2024-07-14 17:15:43 +02:00
indev
28fc55b653
Refactor music name scrolling in music test
2024-07-14 15:33:31 +03:00
Alug
8f4df0ceca
version string otherwise i forger
2024-07-14 10:18:27 +02:00
Alug
ecde8a5e8b
shut up 32bit gcc
2024-07-14 10:17:47 +02:00
Alug
715b106c9e
shut up windoze
2024-07-14 09:51:13 +02:00
Alug
2114afa536
inline M_Memcpy
2024-07-13 16:04:43 +02:00
Alug
c78816a8d1
also use IFCHANGED macro for levelinterpolators
...
just looks a bit neater
2024-07-13 16:04:41 +02:00
Alug
28516c4833
fix NOHW compile
2024-07-13 14:55:10 +02:00
Alug
837ed3535d
Revert "smol optimization to HWR_Addline"
...
This reverts commit e6359663b1 .
2024-07-13 13:06:45 +02:00
Alug
bcb332e88f
Revert "shut up gcc"
...
This reverts commit 17a5c6ed06 .
2024-07-13 13:06:42 +02:00
Alug
f4be7a8034
Revert "dont do this with portals"
...
This reverts commit f949fa54af .
2024-07-13 13:06:39 +02:00
Alug
e69413f1e8
smol cleanup
2024-07-10 19:31:35 +02:00
Alug
ee6dcfc678
fix conflict
2024-07-10 19:31:22 +02:00
Alug
d4370a1811
clean up P_SetupLevel a little more
2024-07-10 19:31:17 +02:00
Alug
babf4ca06a
Map data lump interface
...
cleans up code alot and stuff
https://git.do.srb2.org/STJr/SRB2/-/merge_requests/535
2024-07-10 19:30:38 +02:00
Alug
ccf0905469
change when dynamic slopes run depending on if you joined midgame
2024-07-10 19:29:48 +02:00
Alug
970130e02b
mitigate dynamic slope desynchs
...
Perform dynamic slope thinking before other thinkers.
2024-07-10 19:28:44 +02:00
Alug
6088fa5134
Clean up graphic menus
...
- Renamed Experimental Options to Advanced Options
- Fixed the tooltips not displaying
- Made it look good again
2024-07-10 19:25:49 +02:00
indev
33bc484d69
Call ServerJoin hook when consoleplayer becomes available, since it is needed for configs (which what this hook is created for)
2024-07-10 19:09:14 +02:00
indev
6bf113d0ff
Add info about ServerJoin into LUASTUFF.md (so i don't forget to do it later)
2024-07-10 19:09:11 +02:00
indev
630d910a9e
Add ServerJoin lua hook, which gets called when client joins a server (listen server hosts joining their server also count)
2024-07-10 19:09:08 +02:00
Alug
3c70963f56
only interpolate pitch and roll when using 3d models
...
sprites dont need this for now
2024-07-10 18:58:55 +02:00
Alug
4c4f6f6d80
dont think precip mobj angle ever changes
2024-07-10 18:58:52 +02:00
Alug
f949fa54af
dont do this with portals
2024-07-10 18:58:05 +02:00
Alug
17a5c6ed06
shut up gcc
2024-07-10 18:58:02 +02:00
Alug
e6359663b1
smol optimization to HWR_Addline
2024-07-10 18:57:59 +02:00
Alug
405cef6a01
fix IFCHANGED macro
2024-07-10 18:32:22 +02:00
Alug
d4886f8923
forgor this
2024-07-10 10:18:50 +02:00
Alug
c5ec61baa5
Fix mobj reference management of player->mo
...
https://git.do.srb2.org/KartKrew/RingRacers/-/commit/d0719ef5ba86a1da32fed171d74eb76c7254f4f6
2024-07-10 10:18:46 +02:00
Alug
7a9ffa7ee8
test remove all the networking crap from rendering code
2024-07-10 10:13:53 +02:00
Alug
5ff665a073
remove those 2 from experimental video menu
...
no reason to ever toggle them off
2024-07-10 10:08:19 +02:00
Alug
3d4e078a90
another m_menu moment
2024-07-10 10:07:51 +02:00
Alug
8ef613ef9b
remove cv_mobjssector
...
idk why it even checks for pointinsubsector
2024-07-10 10:06:31 +02:00
Alug
988a672dea
remove cv_grfofcut
...
same story
2024-07-10 09:59:50 +02:00
Alug
cca9c51315
remove cv_slopepegfix
...
same as the other ones
2024-07-10 09:57:23 +02:00
Alug
18aa3689d9
m_menu moment
2024-07-10 09:54:43 +02:00
Alug
59ab6572b1
remove cv_fofzfightfix
...
more bloat
2024-07-10 09:54:03 +02:00
Alug
b6cf933159
remove R_Pointtoangle toggle
...
its bloat, the difference is negigble at best
2024-07-10 09:50:25 +02:00
Alug
48f36ca8f3
35/2 != 17 = 17.5 ?
2024-07-10 04:55:01 +02:00
Alug
fea89de037
fix some clang warnings
2024-07-10 04:53:28 +02:00
Alug
e2f1dd1ce8
a
2024-07-10 04:51:59 +02:00
Alug
48ac3353cb
Maybe hopefully fix ogl masterserver crash thing
...
port from durr
2024-07-10 04:51:52 +02:00
Alug
63015c3a93
Merge branch 'Saturn-Next' of https://github.com/Indev450/SRB2Kart-Saturn into Saturn-Next
2024-07-10 04:50:06 +02:00
Alug
c7bd402e54
Merge remote-tracking branch 'origin/packetstat' into Saturn-Next
2024-07-10 04:49:58 +02:00
Alug
0c6f9b6cc1
basic frame skipping system
2024-07-10 04:49:32 +02:00
Alug
b5d7b84c1e
more changes to dither
...
use interger for distance scales
start z factor earlier
rename halfResolution to endResolution
2024-07-09 09:06:19 +02:00
Alug
cbbde8dea5
more tweaks
2024-07-08 21:43:06 +02:00
Alug
58dd0b7591
oops that actually didnt fade out at all lol
2024-07-08 21:43:03 +02:00
Alug
d9f2535402
scale and fade out dither pattern
...
makes the image a bit cleaner and easier to look at in palrender
2024-07-08 21:43:00 +02:00
Alug
66eb201466
simplify this a little
2024-07-08 21:42:53 +02:00
Alug
edbf20d975
oops this should be min
2024-07-08 21:42:49 +02:00
Alug
711d7dcfcc
Always use system-specific path seperator
...
https://git.srb2.org/KartKrew/RingRacers/-/commit/0f16c61d04f42b463db5c8987571fc986ae6ce9f
2024-07-08 21:42:38 +02:00
Alug
219979e20b
dont think kart even supports trivial maps
...
so no need to constantly check for this
2024-07-08 21:42:36 +02:00
Alug
27917a0e85
shut up gcc
2024-07-03 17:37:29 +02:00
Alug
4b4b2d5cbc
some crap from asan
2024-07-03 17:37:16 +02:00
Alug
8d968d7f89
fix some clang warnings
2024-07-03 17:36:37 +02:00
Alug
9090a5cd73
Merge pull request #131 from Indev450/optimizeluaactions
...
Only call the Lua API for overridden actions
2024-07-03 11:10:15 +00:00
Alug
59a50994b8
Merge branch 'Saturn-Next' into optimizeluaactions
2024-07-03 13:10:03 +02:00
Alug
ac99a6ac3c
Merge pull request #132 from Indev450/lua-hooks-table
...
Store hooks in a table with integer keys instead of registry with string keys
2024-07-03 11:08:58 +00:00
Alug
fa2257ad3b
Merge pull request #133 from Indev450/luafieldlookup
...
Optimize field lookups in Lua metatables
2024-07-03 11:08:44 +00:00
NepDisk
66ce0871bc
Fix automap multiplayer crash
...
https://git.do.srb2.org/STJr/SRB2/-/merge_requests/2488
2024-07-03 13:07:29 +02:00
Alug
c59564723c
Clamp lindex during vissprite light calculation
...
Mitigates against negative or very large xscale values causing lindex
to evaluate < 0, preventing a potential colormap indexing-related crash.
2024-07-03 13:07:17 +02:00
Alug
606717d253
prevent potential crash when trying to kill bananachain
2024-07-03 13:07:13 +02:00
Alug
f73e84e0ad
stuff
2024-07-03 13:07:04 +02:00
Alug
fc01453544
scale dithering a little diff for a little smoother "fade" in pal render
2024-07-03 13:07:00 +02:00
Alug
d37a1c799f
change dither matrix to 4x4
...
a little grittier also smol cleanup
2024-07-03 13:06:57 +02:00
indev
3456ef96a7
Use a fake 2d array in dither shader so it compiles with older glsl versions (1.20 at least)
2024-07-03 13:06:53 +02:00
indev
40143375fc
If shader compilation failed, print info log
2024-07-03 13:06:50 +02:00
Alug
7f34a1d83e
add gr_lightdithering to shader
...
mhhm dithering
2024-07-03 13:06:47 +02:00
Alug
2316c117b1
improve teleport interpolation stuff
2024-07-03 13:06:44 +02:00
Alug
31b7482c3a
small optimization to batching
2024-07-03 13:06:40 +02:00
Alug
0974625769
no need for this
2024-07-03 13:06:36 +02:00
Alug
266f5149b5
smoller opitmizations
2024-07-03 13:06:25 +02:00
Alug
008a9b9b3f
optimize ogl polyobjs slightly
2024-07-03 13:06:22 +02:00
Alug
ec2fd5b38f
prevent crash in hw bsp
2024-07-03 13:06:19 +02:00
Alug
d449a1b714
remove this again
2024-07-03 13:06:16 +02:00
NepDisk
0bd5ca5e3f
Allow Users to Connect to Servers While In-Game
...
https://git.do.srb2.org/STJr/SRB2/-/merge_requests/2401/
2024-07-03 13:06:12 +02:00
NepDisk
06248e5388
Linux customshader compilation fix
...
https://git.do.srb2.org/STJr/SRB2/-/merge_requests/2418/
2024-07-03 13:06:09 +02:00
Alug
9c5a0ed7ee
move HWR_LoadLevel to hw_main
2024-07-03 13:06:04 +02:00
Alug
b199354167
this should be called on mapload
2024-07-03 13:06:02 +02:00
Alug
74ce725e3d
oops 2
2024-07-03 13:05:59 +02:00
Alug
3d5e033158
oops
2024-07-03 13:05:56 +02:00
Alug
ca58c1dee2
these appear to be unused so comment them out
...
dont need 6 arrays being allocated with MAXSKINS for nothing lul
2024-07-03 13:05:53 +02:00
Alug
d51a69b052
Merge remote-tracking branch 'origin/lua-enumlib-sfxslotsfix' into Saturn-Next
2024-07-03 13:05:48 +02:00
Alug
1a96d96837
forgor this
2024-07-03 13:05:45 +02:00
Alug
2e7cd51ff8
limit localskins to 32
...
hope this doesent just die lol
2024-07-03 13:05:42 +02:00
Alug
112716dae5
Do not access memory on misaligned addresses
...
https://git.do.srb2.org/STJr/SRB2/-/merge_requests/2438
2024-07-03 13:05:39 +02:00
indev
c13e780f29
Try fix glib preallocating too much space for sound freeslots
2024-06-20 16:55:58 +03:00
Alug
c35887f5ee
Revert "fix some interpolation issues"
...
This reverts commit e19f6f6656 .
2024-06-17 12:52:09 +02:00
Alug
2f55c10ce3
Revert "more interp fixes"
...
This reverts commit 3a1a58bcfc .
2024-06-17 12:52:00 +02:00
Alug
0068312ce3
Revert "revert this part"
...
This reverts commit efe7dd23b6 .
2024-06-17 12:51:57 +02:00
Alug
ea49d92932
add missing HAVE_THREADS
2024-06-13 14:47:28 +02:00
Alug
efe7dd23b6
revert this part
...
idk if that was netsafe so
2024-06-12 22:36:03 +02:00
Alug
3a1a58bcfc
more interp fixes
2024-06-12 22:35:21 +02:00
Alug
953862f133
change this to int64 cause it fixes the intermission thing on high res
...
idk why that fixes it tbh but it does
2024-06-12 22:34:02 +02:00
Alug
41eb2ee969
fix oopsie on titled software wöter
2024-06-12 22:33:51 +02:00
Alug
225ecce676
lower min audio buffersize to 256
2024-06-12 22:33:44 +02:00
Alug
335b10a694
forgor
2024-06-12 22:33:36 +02:00
Alug
967220178c
remove windows timing crap again
...
it actually made stuff a little wonky so revert that
2024-06-12 22:32:54 +02:00
Alug
be7461ad51
use sdl ogl render instead of software for software mode on nix
...
oops
2024-06-12 22:31:53 +02:00
indev
5af7cf850a
Fix string format warning for packetstat
2024-06-12 21:26:41 +03:00
indev
86395d4d8b
Add a way to count number of handled packets (for debugging)
2024-06-12 21:05:21 +03:00
Alug
3412bb5380
fix encore flipcam with ogl shearing
2024-06-09 22:02:52 +02:00
Alug
d66e7e660d
reset those here ig
...
need a better place tbh
but those occasionally could get stuck for some reason
so just reset them when the menu gets opened
2024-06-09 18:56:18 +02:00
Alug
07d631e320
e
2024-06-09 18:55:52 +02:00
Alug
6ffb50530d
add mobj check here
2024-06-09 18:55:49 +02:00
Alug
bd7103d109
add check earlier in p_killmobj
2024-06-09 18:55:46 +02:00
Alug
4abc2ab5bd
fix redifinition warning
2024-06-06 18:58:03 +02:00
Alug
f8a8b8ac6e
disable upx on nix by default
2024-06-06 18:58:00 +02:00
Alug
cfe6e08168
fix masterserver ifdef
2024-06-06 18:57:57 +02:00
Alug
5139259037
fix HAVE_CURL
2024-06-06 18:57:55 +02:00
Alug
1503daf02b
more minor loop stuff
2024-06-06 18:57:52 +02:00
Alug
4246e42948
minor sprite opitmizations
2024-06-06 18:57:31 +02:00
Alug
9b3eaa6fe8
smol optimization to skin loading
2024-06-06 18:57:25 +02:00
Alug
716685d809
zzz...
2024-06-03 17:15:43 +02:00
Alug
dd72871ba6
Revert "use shader to prevent sprite floor clipping"
...
This reverts commit ee2ec01eb9 .
2024-06-03 17:15:39 +02:00
Alug
ea510f95b8
Revert "fix le dispoffset"
...
This reverts commit f977af6a80 .
2024-06-03 17:15:36 +02:00
Alug
9de3db7c97
add shader for shadows to also fix sprite shadows in pal render
2024-06-03 16:52:25 +02:00
Alug
1ab7a2acf4
add toggle for beta intermission screen + smol cleanup
2024-06-03 15:13:46 +02:00
Alug
f977af6a80
fix le dispoffset
2024-06-03 15:13:39 +02:00
indev
cae40928ad
Use Z_Calloc to allocate wadfile_t to avoid having uninitialized fields
2024-06-03 00:18:11 +03:00
Alug
ee2ec01eb9
use shader to prevent sprite floor clipping
...
from durr lul
2024-06-02 22:16:09 +02:00
Alug
bf75644144
make r_fps if else hell a bit more bearable to look at
...
lol lmao
2024-06-02 22:12:39 +02:00
indev
0e927ce4bd
Make sfxinfo_t and state_t use field tables too
2024-06-02 00:43:42 +03:00
indev
1747ebf481
Lua_optoption shouldn't change stack state at the end of call now
2024-06-02 00:43:09 +03:00
indev
da9d57a624
Fix compilation for some gcc versions
2024-06-02 00:39:22 +03:00
Alug
38633a8516
stuffs
2024-06-01 17:03:39 +02:00
Alug
957159d485
forgor to remove that
2024-06-01 16:31:55 +02:00
Alug
8052eb1c3a
fix papersprites in software (hopefully)
...
lul
2024-06-01 16:30:03 +02:00
Alug
37a394ebaa
flexible array stuff for columnofs
...
hopefully this fixes some crashes or smth
2024-06-01 16:29:55 +02:00
Alug
b01a2836ea
cleanup some super old stuff that did nothing
...
lul
2024-06-01 16:29:40 +02:00
Alug
dc03359f3a
theres no value 3 oops
...
i shouldnt do stuff after waking up at 4 in the morning lol
2024-05-30 19:59:14 +02:00
indev
6269c7c827
Use tmp variable for searchWad since envstr doesn't get changed
2024-05-30 19:32:18 +03:00
indev
040ddb1f40
Revert "Revert "Don't traverse the entire HOME directory to find wads""
...
This reverts commit 443905ffb3 .
2024-05-30 19:23:14 +03:00
Alug
faa5dbd0e7
split sprite draw loops
...
so crap doesent constantly check for papersprites on all sprites
2024-05-28 23:53:28 +02:00
Alug
37d3e2ae1a
scale sprite draw distance with mapobjscale
2024-05-28 23:52:13 +02:00
Alug
455bbe47c2
smth smth encore magic numbers idk
2024-05-28 22:55:43 +02:00
Alug
4847e4e3cb
that should be there lul
2024-05-28 22:55:40 +02:00
Alug
086d0113c5
Optimize field lookups in Lua metatables
...
https://git.do.srb2.org/STJr/SRB2/-/merge_requests/2024#cd5b5ee262bf5129c4d400ad60d006e1fa917c1f
2024-05-28 18:16:43 +02:00
Alug
67aa71170f
when not using screentextures draw kart bg on intermission screen
2024-05-28 00:52:52 +02:00
Alug
ddddc7a898
draw a black screen instead of "nothing" during wipes on disabled screentextures
...
should resolve the intense flashing that can occur
2024-05-28 00:52:48 +02:00
indev
7c17f3a93c
Merge pull request #130 from GenericHeroGuy/lua-hudinterpolate-redux
...
Lua HUD interpolation
2024-05-25 19:09:02 +03:00
GenericHeroGuy
05a5651260
Finishing touches
...
Some cleanup, also interpolate drawfill size
(dunno why it wasn't before)
2024-05-25 17:05:08 +02:00
Alug
8cf6050d10
Only call the Lua API for overridden actions
2024-05-25 16:01:34 +02:00
indev
b310168c12
Store hooks in a table with integer keys instead of registry with string keys
2024-05-25 16:39:16 +03:00
Alug
8774b14fdf
move some cvars to be registerrerd latur in ogl
2024-05-25 14:52:58 +02:00
Alug
518ac3ca28
Turn of FBO downsampling when you turn off screen textures
...
fbo downsampling needs those and if theyre disabled youre essentially seeing nothing at all lol
2024-05-25 14:44:03 +02:00
Alug
157c95a785
super smol optimization to R_DrawRepeatMaskedColumn
...
only maths once not twice lul
2024-05-25 14:44:00 +02:00
GenericHeroGuy
142c01f516
Update docs for interpLatch
2024-05-25 14:09:20 +02:00
GenericHeroGuy
a17a5387ff
Rename interpString to interpLatch
2024-05-25 14:08:52 +02:00
Alug
d794de3e83
Cull BSP behind a raised floor or lowered ceiling that covers the entire screen
...
https://git.do.srb2.org/KartKrew/RingRacers/-/commit/7b8a564f69688515319ccd425f2b88ffe8b7b120
2024-05-25 02:21:04 +02:00
Alug
837746c0a9
declare outside of lööp also add const in r_
2024-05-25 02:14:20 +02:00
Alug
9f692c1f6a
change names to be less basic
2024-05-23 23:28:54 +02:00
Alug
8de340edbe
allow gamepad dpad to hold scroll shit in menu aaa
...
absolute arsepain cant wait to see this breaking kek
2024-05-23 23:28:47 +02:00
GenericHeroGuy
9cd1233c32
Dust this crap off a bit
2024-05-23 16:47:29 +02:00
GenericHeroGuy
3f6575e41f
Merge branch 'Saturn-Next' into lua-hudinterpolate-redux
2024-05-23 15:44:46 +02:00
Alug
f939b02fd3
Merge branch 'Saturn' into Saturn-Next
2024-05-21 21:01:11 +02:00
Alug
73d0154b6c
encore flipcam support
2024-05-21 21:00:33 +02:00
Alug
cda7475058
unhack the animated votescreen a little
...
also make it pause when the game is paused like it was intended originally
2024-05-20 18:42:03 +02:00
Alug
33a31d0ad8
this should be here aswell i suppose
2024-05-20 13:31:13 +02:00
Alug
8dafc2d3d9
Merge pull request #129 from Indev450/Saturn-Next
...
Saturn v6.2
2024-05-20 13:21:16 +02:00
Alug
5f36557a18
change version string stuff per define lul
2024-05-19 21:31:05 +02:00
Alug
9b4e64011b
make this a scroll menu
...
tbh not gonna bother with moving stuff depending on renderer
2024-05-19 18:43:12 +02:00
Alug
3ca313c14d
Merge pull request #125 from Indev450/fborender
...
Use FBO to allow downsampling in Opengl
2024-05-19 18:20:01 +02:00
Alug
6fcea2f98e
RefreshOGLSDLSurface
...
to make it a little more clearer this is ogl only
2024-05-18 23:52:05 +02:00
Alug
c605906408
some stuffs
2024-05-18 23:49:36 +02:00
Alug
de6511abe0
dont compile with that with NOHW
2024-05-18 23:40:28 +02:00
Alug
c966b5defb
forgor
2024-05-18 23:38:04 +02:00
Alug
3c8c273e51
add ogl version check + grey out in menu + turn it off when not avilible
2024-05-18 23:34:27 +02:00
Alug
eaeb2575f7
add stuff to experimental menu
2024-05-18 23:22:30 +02:00
Alug
978cc57889
Add NOSCREENFBO compiler flag to be able to build without fbo support
2024-05-18 22:57:25 +02:00
Alug
6db73bfd63
Merge branch 'Saturn-Next' into fborender
2024-05-18 22:33:41 +02:00
Alug
af5c3e4201
revert this thing
2024-05-15 17:56:58 +02:00
Alug
39e6668e20
change version
2024-05-15 17:51:11 +02:00
Alug
1ab63613a9
forgor this crap
2024-05-15 16:54:27 +02:00
Alug
57e72db1f8
support gcc14 ig
2024-05-15 16:46:59 +02:00
Alug
d1d00d7ec6
shut up compiler
2024-05-05 22:00:22 +02:00
Alug
169e7cd462
Render precip through blockmap instead of during BSP
...
from RR
2024-05-05 21:54:00 +02:00
Alug
e19f6f6656
fix some interpolation issues
...
minus P_spec change since that aint netsafe
2024-05-05 20:52:06 +02:00
Alug
13249f7ad4
fix potential crash in ogl vissprite sorting
2024-05-05 20:50:36 +02:00
Alug
22166ceccb
fix precip overflow
2024-05-05 20:50:32 +02:00
Alug
75ed11a8b6
simplify SOFTLIGHT alot
...
also should make sure it gets applied everywhere lul
2024-04-29 10:12:58 +02:00
Alug
641cd6b8db
use bigfloat for driftgauge offset too
2024-04-27 20:32:52 +02:00
Alug
62fa60e399
fix rare precip crash
2024-04-27 20:03:38 +02:00
Alug
17a6c4191d
Merge pull request #128 from Indev450/it-cv-bigfloat
...
Add IT_CV_BIGFLOAT to use bigger increment for some CV_FLOAT cvars (a…
2024-04-27 20:01:57 +02:00
Alug
3acdcb09f1
inline those
2024-04-24 11:02:25 +02:00
GenericHeroGuy
1abf6a4ce1
Add interpolation docs to LUASTUFF
2024-04-23 21:24:47 +02:00
Alug
836890968c
Revert "Merge pull request #121 from Indev450/texload"
...
This reverts commit b6a5c5b720 , reversing
changes made to bcf2b3bab2 .
2024-04-23 09:06:51 +02:00
Alug
7110de4b5b
Merge branch 'Saturn' into Saturn-Next
2024-04-22 05:25:52 +02:00
Alug
b4dfebac58
fix some visual issues with fofs
2024-04-22 05:25:46 +02:00
Alug
38d5ee5ae7
a
2024-04-20 22:54:03 +02:00
Alug
d0c50006bc
some stuff from ceepeepeecheck
2024-04-20 22:54:00 +02:00
Alug
443905ffb3
Revert "Don't traverse the entire HOME directory to find wads"
...
This reverts commit 1f019ed277 .
2024-04-20 11:42:21 +02:00
indev
2147951a16
Add IT_CV_BIGFLOAT to use bigger increment for some CV_FLOAT cvars (added only to fov atm)
2024-04-20 11:41:17 +03:00
indev
ea0cc41d04
For MIN/MAX value of cvar, convert it to float before saving for CV_FLOAT variables
2024-04-20 10:30:34 +03:00
Alug
b6a5c5b720
Merge pull request #121 from Indev450/texload
...
Do not reload every texture when adding a wad
2024-04-20 01:33:50 +02:00
Alug
bcf2b3bab2
disable palette rendering if screentextures aint enabled
2024-04-19 06:23:12 +02:00
Alug
a238b19c75
z
2024-04-19 06:22:48 +02:00
Alug
9317ccd0be
more things
...
-Fix a division by zero in BCZ2 Metal Sonic's routine
-Fix a bug where adding the same mod multiple times counted towards the mod limit
and other thigns
2024-04-19 06:22:44 +02:00
Alug
463dccab8b
some smol fixes
2024-04-19 06:22:22 +02:00
Alug
2ccf91fbfc
Make FixedRem less laggy by just using the modulo operator.
2024-04-19 06:22:20 +02:00
indev
36e06e5d6b
Fix possible buffer overflow in 'va' function
2024-04-13 21:55:22 +03:00
Alug
6f293945fd
add qs22j to cmakelist
2024-04-13 18:40:14 +02:00
Alug
45d73a2ad6
add qs22j to cmakelist
2024-04-13 18:40:00 +02:00
GenericHeroGuy
995777c676
Exclude string mode flags from olditem search
2024-04-12 22:36:23 +02:00
Alug
dacfe376e1
smth smth paranthesis
2024-04-12 21:55:53 +02:00
GenericHeroGuy
60e42472e3
Do string coordinate calcs on all functions (and fix)
2024-04-12 21:00:54 +02:00
Alug
c92ef4d757
fix software crash
...
Zzz...
2024-04-12 20:41:25 +02:00
indev
7cd6a031cd
Fix compilation warning regarding calloc and sizeof
2024-04-11 19:12:14 +03:00
indev
af265d017d
Fix potential negative array index in V_ThinStringWidth
2024-04-11 18:55:55 +03:00
Alug
9e104a8632
ok dont use this at all then
2024-04-10 18:18:47 +02:00
Alug
4a1523da57
Zzz...
2024-04-10 18:15:29 +02:00
Alug
6a3987c8f7
fix ifdefs
2024-04-10 17:57:55 +02:00
Alug
1df6c4d4da
move this to first init too
2024-04-10 17:47:37 +02:00
Alug
3cab29085a
Merge branch 'Saturn-Next' into fborender
2024-04-10 17:46:40 +02:00
Alug
1391e556d6
that wasnt the onchange im sleepy
2024-04-10 17:40:43 +02:00
Alug
94340e6634
forgor to remove those Zzz...
2024-04-10 17:32:13 +02:00
Alug
64f10c36fa
should throw that into onchange oops
2024-04-10 17:29:16 +02:00
Alug
955f73d9e8
throw stuff into own function, also check on game start
2024-04-10 17:24:46 +02:00
Alug
40c356395a
simplify this crap
2024-04-10 07:02:18 +02:00
indev
bce914df6e
Don't call menu drawer in wipes on dedicated servers
2024-04-06 01:47:27 +03:00
indev
aac74cf93a
Don't call menu drawer in wipes on dedicated servers
2024-04-06 01:31:43 +03:00
indev
e0d0120337
Merge branch 'Saturn-Next' into Saturn
2024-04-05 20:56:49 +03:00
Alug
87cf75ef84
this can be completely removed actually
2024-04-05 16:31:17 +02:00
Alug
5f237d9e13
(maybe?) fix a checkheap crash
2024-04-05 16:24:27 +02:00
Alug
23050394ac
retain old behaviour for raising gamma
...
or if you dont use any colour correction stuff
basically checks if anything has changed and if the gamma is below 0
otherwise it will apply colour cubus
2024-04-05 01:10:49 +02:00
Alug
dbc47e8656
Revert "disable colourcube cause of visual discrepentcies (temporary)"
...
This reverts commit ed418d5dcf .
2024-04-05 00:27:14 +02:00
GenericHeroGuy
18e0485f39
Make this less insufferable
...
* Zero is now a valid tag for v.interpolate
* Reset lerp coordinates when v.interpString is called again
* Leaving string mode enabled on exit no longer breaks other scripts
* Fix fadeScreen having an uninitialized ID
2024-04-04 23:39:23 +02:00
Alug
d675795014
version change again or else i forger
2024-04-04 20:52:13 +02:00
Alug
ed418d5dcf
disable colourcube cause of visual discrepentcies (temporary)
2024-04-04 18:59:45 +02:00
Alug
d6fb76b833
fix tint equation
...
idk what happen there but it looked pretty diff on a few maps
2024-04-04 17:38:15 +02:00
Alug
ced45061f8
clean this up a bit
2024-04-04 03:53:11 +02:00
Alug
52c6a52a2f
fix some smol leaks
2024-04-04 03:53:00 +02:00
GenericHeroGuy
aeb5ae994e
Subpixel interpolation for strings and drawfill
2024-04-04 00:27:47 +02:00
Alug
b2c34906ff
try and fix some compile issues
2024-04-03 19:24:51 +02:00
Alug
c8f6878c26
try and fix some compile issues
2024-04-03 19:24:44 +02:00
Alug
6d8c375cf5
Fix 3D model crash
2024-04-03 00:28:56 +02:00
Alug
c093aa3c73
k then
2024-04-02 22:17:40 +02:00
Alug
fc27ed0443
Add option for wipes only in screentex toggle
...
since the toggle was changed to actually disable ALL screentex functions
2024-04-02 22:14:10 +02:00
GenericHeroGuy
b2f9a29eb0
Lua HUD interpolation
2024-04-02 21:00:23 +02:00
Alug
bd2fe5b9be
use SDL_PeepEvents again
...
grrrrrrr
2024-04-02 19:19:56 +02:00
Alug
07e50c40a3
forgor those lul
2024-04-02 19:10:51 +02:00
Alug
94248eaea2
use functions for keyshift crap
...
lmao why tf wasnt this done anyways but copy and pasted 500 times
2024-04-02 16:38:07 +02:00
Alug
ebc467f212
more fixup for native layout
2024-04-02 16:14:22 +02:00
Alug
29acff6722
make this less fragile
2024-04-02 15:19:25 +02:00
Alug
be71dd66ac
Merge branch 'Saturn' into Saturn-Next
2024-04-02 03:48:17 +02:00
Alug
8a1ad4a2de
limit to ASCII
...
also forgor to add stuff to h
2024-04-02 03:48:03 +02:00
Alug
3370d1631e
FIXUP native keyboard layout
...
cleanup GetTypedChar
fix issues with capslock and shift
2024-04-02 03:36:22 +02:00
GenericHeroGuy
5f69bfcf22
Split game drawlist per displayplayer
2024-04-02 03:22:24 +02:00
Alug
21cb42309e
Downgrade SDL2 to v2.28.5
...
v2.3.0 broke some things in 32bit builds Zzz...
2024-04-02 00:22:33 +02:00
GenericHeroGuy
9442a463d4
Shrink drawlists, take 2
...
Approximately 2/3rds smaller
2024-04-01 23:24:09 +02:00
Alug
8b72cc6b01
Merge branch 'Saturn-Next' into Saturn
2024-04-01 18:28:32 +02:00
Alug
8ed8182a1b
Zzz...
2024-04-01 17:18:38 +02:00
Alug
e2f4e1f08e
update menu text for keyboard layout
2024-04-01 16:38:38 +02:00
Alug
6e59fdacb5
add AZERTY layout as toggable option
...
so no need to update that thing seperately anymore
2024-04-01 16:34:01 +02:00
Alug
33501b6798
Merge pull request #123 from Indev450/linkedtex
...
Manage Gpu Textures with a list
2024-04-01 14:31:15 +02:00
Alug
ffb72f5fe3
Fix vertical aim being off when using lack of perspective
2024-03-31 23:27:30 +02:00
indev
d3f6b983f4
Use 'find' directly in help
2024-03-30 22:18:51 +03:00
indev
9435fa8d6b
If command is not found via 'help', tell user about 'find' command
2024-03-30 22:03:10 +03:00
Alug
0ceb9e5ea5
fix this for splitscreen and move to own function
2024-03-30 03:34:58 +01:00
Alug
95c0951727
Merge pull request #122 from Indev450/luadebuglib
...
Expose debug library to Lua
2024-03-28 15:08:31 +01:00
Alug
de6a54bc8c
why tf is that here
2024-03-28 14:25:07 +01:00
Alug
1e524a8240
when the GLENCORE
2024-03-28 13:22:06 +01:00
Alug
ca1302475e
use this instead
2024-03-28 08:13:23 +01:00
Alug
8486bddaf2
fix highresscale issue on startup in the worst way ever cause CV_NOINIT doesent work for whatever reason
2024-03-28 00:15:55 +01:00
Alug
d7a1cc6702
Read only header bytes when creating textures list
2024-03-27 21:31:56 +01:00
Alug
847a8cfd81
Zzz...
2024-03-27 20:38:29 +01:00
Alug
2fc6a26e77
GL_GENERATE_MIPMAP is enough
...
also made MajorGL and MinorGL extern, so can be used in other parts if needed to check for it
2024-03-27 20:36:07 +01:00
Alug
a779191feb
beter
2024-03-27 18:45:59 +01:00
Alug
23cc0dfc3a
add some comments cause i WILL forger what this crap even does
2024-03-27 18:44:32 +01:00
Alug
c7a258f32f
clean up
2024-03-27 18:34:58 +01:00
Alug
a28f025d40
Stuff from displaycrap branch to detect downsampling automatically
2024-03-27 18:33:29 +01:00
Alug
91a3b288ef
conflict moment
2024-03-27 18:08:09 +01:00
Alug
200d971d35
Toggle to render to screenFBO
...
fixes downsampling from higher resolutions
TODO: make this activate automatically if game detects it runs at higher res than desktop res
2024-03-27 18:05:48 +01:00
Alug
4847d2d844
Handle OpenGL textures with a linked list
2024-03-27 17:51:58 +01:00
Alug
56f3249679
Expose debug library to Lua
...
https://git.do.srb2.org/STJr/SRB2/-/merge_requests/2404
2024-03-26 21:03:18 +01:00
indev
54ee3f2961
R_LoadTexturesPwad: don't do anything wad has no textures
2024-03-26 20:40:11 +03:00
Alug
c3a71b60b0
Do not reload every texture when adding a wad
...
https://git.do.srb2.org/STJr/SRB2/-/merge_requests/1725?commit_id=37add34b9c729b21e624e22d64159073c9258e25
2024-03-26 14:12:05 +01:00
Alug
205bfc0262
Split R_LoadTextures
2024-03-26 14:11:49 +01:00
Alug
9b7eff1a33
cute icon
2024-03-17 19:42:01 +01:00
indev
c45aec4634
Merge pull request #87 from riomccloud/patch-1
...
Delete org.srb2.SRB2Kart-Saturn.metainfo.xml
2024-01-13 20:04:37 +03:00
riomccloud
7e11bbb5ca
Delete org.srb2.SRB2Kart-Saturn.metainfo.xml
2024-01-13 12:18:45 -03:00
indev
d5ccf6cad0
Update org.srb2.SRB2Kart-Saturn.metainfo.xml
2024-01-03 10:43:09 +00:00