Commit graph

8166 commits

Author SHA1 Message Date
Steel Titanium
e3dbbfe34a Rework G_SetCustomExitVars to allow skipstats 2 2019-12-13 16:36:33 -05:00
Jaime Passos
b47cc01f50 Separate non-powers-of-two draw routines into its own file 2019-12-13 13:11:56 -03:00
Jaime Passos
9a5876f9d3 stuff 2019-12-13 12:26:47 -03:00
James R
1e1597cafd Merge branch 'dashmode-shader' into 'master'
Add TC_DASHMODE color shader

See merge request STJr/SRB2!526
2019-12-13 01:58:18 -05:00
James R
abe4568d4e Merge branch 'toomanyflats-fix' into 'master'
Fix Ploadflat closing the game with "Too many flats in level" error message

See merge request STJr/SRB2!529
2019-12-13 01:57:55 -05:00
fickleheart
60713fc87f Suspend turn-to-angle when rotating the camera 2019-12-13 00:52:48 -06:00
fickleheart
fdbb1bc20d Adjust how turn-to-angle tweens 2019-12-13 00:34:34 -06:00
James R
a9679eb440 Rename signal caught message to be more obvious 2019-12-12 22:01:16 -08:00
James R
e13853e9ba Fix signal handler setup error reporting 2019-12-12 21:57:54 -08:00
fickleheart
2dc21fa343 Allow switching lockon targets with turn buttons 2019-12-12 23:52:13 -06:00
James R
6f2324d8df Rename I_StartupKeyboard to I_RegisterSignals and call it in a sane place 2019-12-12 21:30:35 -08:00
James R
648f5221c7 Kill child when wait fails, so I_Error exits both 2019-12-12 21:21:25 -08:00
James R
11910e844c Fix idiot mistake 2019-12-12 21:20:51 -08:00
fickleheart
4e8bf7a226 Expand options for aim assist
This will need a lot of testing to ensure each type
works properly.
2019-12-12 23:03:51 -06:00
fickleheart
edb8066e58 Don't turn strafe keys into turn when locked onto something 2019-12-12 22:13:44 -06:00
Jaime Passos
efba75ae01 Update v_video.c 2019-12-12 23:30:09 -03:00
Jaime Passos
00521d865a FINALLY, COLORCUBIUM 2019-12-12 23:18:39 -03:00
Jaime Passos
748f08ef3c HWR_AllowModel 2019-12-12 22:53:19 -03:00
Jaime Passos
aa10c6c733 Initialise the variable, obviously 2019-12-12 22:32:19 -03:00
Jaime Passos
27873ff7bc Merge remote-tracking branch 'origin/dashmode-shader' into opengl-is-a-bad-renderer 2019-12-12 22:31:34 -03:00
Jaime Passos
7a753b701f Fix TC_ blending 2019-12-12 22:26:28 -03:00
Jaime Passos
3f0cc9a211 Update hw_main.c 2019-12-12 21:52:59 -03:00
Jaime Passos
749dc9b37b Add missing prototype, ugh 2019-12-12 21:43:19 -03:00
Jaime Passos
9e55402932 grafik designe is m passion 2019-12-12 21:41:13 -03:00
Jaime Passos
1bf3c14c16 PU_HWRCACHE_UNLOCKED bmomento bróder 2019-12-12 21:23:55 -03:00
Jaime Passos
9560d43063 Texture blending port
Co-authored-by: TehRealSalt <tehrealsalt@gmail.com>
2019-12-12 21:22:36 -03:00
James R
5d9cd1c72a Move everything to i_system.c
This also simplifies things; SDL isn't initialized in the parent process.
2019-12-12 15:08:27 -08:00
Jaime Passos
529e5fdc52 Stop crashing with models because someone keeps freeing those tags 2019-12-12 19:54:47 -03:00
James R
ae73e8f4e0 Fix NOHW warnings 2019-12-12 14:00:13 -08:00
Steel Titanium
411754451c Move S_InitMusicDefs call outside of the check.
As far as I know, this is competely safe.
2019-12-12 16:32:40 -05:00
Jaime Passos
33c73b5648 Fix gr_anisotropicmode 2019-12-12 18:28:05 -03:00
Jaime Passos
22dc9b5de8 Make gr_spritebillboarding on by default sorry not sorry Azeon 2019-12-12 17:48:43 -03:00
Jaime Passos
b376fd0d1f Model lighting 2019-12-12 17:48:29 -03:00
Jaime Passos
209361ef1b Merge remote-tracking branch 'origin/master' into opengl-is-a-bad-renderer 2019-12-12 17:39:18 -03:00
Jaime Passos
fcb738bc27 Save filtering mode and anisotropic mode cvars to config 2019-12-12 17:37:55 -03:00
Jaime Passos
a8f2318ea5 Remove HWR_AddEngineCommands 2019-12-12 17:35:41 -03:00
Jaime Passos
b093a38ecd Please, for the love of God, Jesus and Bastet, ADD EVERY OPENGL COMMAND REGARDLESS OF THE FREAKING RENDERER!!!!!!!!!!!!!!!!!!!!!!!!!!! 2019-12-12 17:30:19 -03:00
Steel Titanium
38cee58bf8 Init MUSICDEFs if started game with music off and toggled on 2019-12-12 15:17:50 -05:00
Jaime Passos
7f6099e186 Don't reset the FOV 2019-12-12 17:06:04 -03:00
Jaime Passos
ba64007e80 Remove unused cvars 2019-12-12 16:53:31 -03:00
Jaime Passos
9a93017a7b Add HWD_SET_MODEL_LIGHTING state 2019-12-12 16:48:37 -03:00
Nev3r
eff34fc970 Fix oversight on mapthing spawn Z calculation; ONFLOORZ and ONCEILINGZ don't equal to spawning the object at the base plane intersection. 2019-12-12 15:04:48 +01:00
Nev3r
a7f501615d Stop things from becoming Chocapic in THZ3, ACZ2, and special stages.
Temporarily revert function call order for mapthings.
2019-12-12 11:37:48 +01:00
Nev3r
2d526c9a3b Move map data load procedure to separate functions. 2019-12-12 11:16:55 +01:00
Nev3r
3da7a69d0b Move loading functions around a bit and refactor the stage data allocation code. 2019-12-12 10:35:38 +01:00
James R
ff41ba7979 nix: Fork before game code and wait to catch signals and coredumps
Ditched signal_handler to avoid worrying about async-signal-safe functions.
D_QuitNetGame is not called, so players whose programs are interrupted by a
signal will time out from the server. Because the game runs in a child process,
the window can close before the "Signal Caught" text box appears.

"(core dumped)" is also included in the message if core dumping could be
determined.
2019-12-11 23:46:57 -08:00
fickleheart
4cc0bb4746 Add boss target assist and finally organize camera options 2019-12-12 00:48:15 -06:00
James R
b701baca6d Move I_ShutdownConsole to I_ShutdownSystem 2019-12-11 22:10:22 -08:00
fickleheart
3144d9123f Fix input turning still happening with centered view 2019-12-11 22:47:09 -06:00
Jaime Passos
740f095219 Merge remote-tracking branch 'sonicteamjuniorheadquarters/master' into gl_gifs 2019-12-12 01:39:46 -03:00