Alam Ed Arias
c394ad056c
use size_t to count the sprites
2019-12-27 13:20:58 -05:00
Alam Ed Arias
0caa08defd
fread and fwrite use size_t, not int
2019-12-27 13:08:26 -05:00
Alam Ed Arias
ff004c4cf6
we only need link on unix systems
2019-12-27 13:05:15 -05:00
MascaraSnake
45c432462e
Merge branch 'why-inline' into 'master'
...
I got a compiler warning from P_PlayerHitsPlayer being too big
See merge request STJr/SRB2!581
2019-12-27 02:12:01 -05:00
Jaime Passos
5ea43aa023
Fix sprite rotation crashes.
2019-12-27 00:37:40 -03:00
Jaime Passos
96609e45ae
OpenGL funny
2019-12-27 00:02:30 -03:00
Jaime Passos
2d3f45de0d
Merge branch 'renderswitch' of https://git.magicalgirl.moe/STJr/SRB2 into renderswitch
2019-12-26 23:53:03 -03:00
Jaime Passos
eca5be52b2
And the sound test
2019-12-26 23:52:42 -03:00
Jaime Passos
956905c8f4
Same deal, but for the level platter and save select screen
2019-12-26 23:49:31 -03:00
James R
76a1a80d71
Save the renderer
2019-12-26 18:44:02 -08:00
James R
e19d0877e8
Merge branch 'time' into 'master'
...
haha log files
See merge request STJr/SRB2!567
2019-12-26 21:43:46 -05:00
Jaime Passos
644e41d90c
Handle character select screen correctly after a renderer switch
2019-12-26 23:39:40 -03:00
Jaime Passos
e617f35182
PU_PATCH funny
2019-12-26 23:26:43 -03:00
James R
4865a19057
One more optimization
2019-12-26 18:23:01 -08:00
James R
9673439628
e
2019-12-26 18:20:48 -08:00
James R
4959d52ae0
Make cv_renderer CV_NOLUA instead of hidden!!!
2019-12-26 18:15:52 -08:00
James R
cb29a9dd0a
CV_NOLUA for when a cvar should not be changed via Lua
2019-12-26 18:15:19 -08:00
James R
f26bdf00fe
A system to encode flags in the command buffer
2019-12-26 18:12:10 -08:00
James R
414a066ec8
Merge branch 'turnmultiplier' into 'master'
...
Option to increase the turning speed
See merge request STJr/SRB2!553
2019-12-26 18:18:23 -05:00
James R
dd1ca69f54
P_PlayerHitsPlayer is too big for inline, and these other functions are getting there
2019-12-26 14:59:31 -08:00
Jaime Passos
69b4efb579
Rename R_WorldSegTextured
2019-12-26 18:13:03 -03:00
Jaime Passos
ad6cda7c53
Masked stuff
2019-12-26 17:39:18 -03:00
Jaime Passos
0ec800b266
I forgot a `static
`
2019-12-26 17:20:17 -03:00
Jaime Passos
919864d0f3
Thick stuff. Hoping I didn't break anything.
2019-12-26 17:15:30 -03:00
Jaime Passos
5f1e3bab71
struct time
2019-12-26 16:25:04 -03:00
Jaime Passos
4e0a7030ca
Move all the thick/masked/splat stuff to the end of the file
2019-12-26 15:34:33 -03:00
Jaime Passos
e09838224e
ifdef this right so it works like before without the define
2019-12-26 15:27:16 -03:00
Jaime Passos
649455c2d0
R_CalculateSegDistance stuff...
2019-12-26 01:58:38 -03:00
Jaime Passos
69e9784085
Something in R_RenderSegLoop I thought looked off...
2019-12-26 00:55:34 -03:00
Jaime Passos
6f5a259983
Tame R_StoreWallRange
2019-12-26 00:07:04 -03:00
Jaime Passos
03a3b02301
Merge remote-tracking branch 'origin/master' into renderswitch
2019-12-25 05:43:46 -03:00
James R
75a5142aad
Merge branch 'wipes2' into 'master'
...
Wipe styles cleanup
See merge request STJr/SRB2!525
2019-12-24 14:47:14 -05:00
James R
f077413f31
Merge branch 'soc-srb2-fix' into 'master'
...
The "SRB2" directive, for warning if a SOC isn't compatible
See merge request STJr/SRB2!551
2019-12-24 14:44:55 -05:00
James R
e0a20a733c
Merge branch 'gl_gifs' into 'master'
...
OpenGL GIF movie recording
See merge request STJr/SRB2!549
2019-12-24 14:44:44 -05:00
James R
3f339384c8
Merge branch 'hwrtexfix' into 'master'
...
Fix model texture blending
See merge request STJr/SRB2!546
2019-12-24 14:44:19 -05:00
James R
1df31f2e98
Merge branch 'soundtest-fix' into 'master'
...
Init MUSICDEFs regardless of music state
See merge request STJr/SRB2!532
2019-12-24 14:44:08 -05:00
James R
be063c454a
Fix NOPNG compiling
2019-12-24 11:37:37 -08:00
James R
9d28351b5c
I'm an idiot
2019-12-24 11:14:21 -08:00
James R
d1f12347cc
Merge remote-tracking branch 'origin/master' into time
2019-12-24 11:02:31 -08:00
James R
b7b4945c36
Correct usage of logdir
2019-12-24 01:59:05 -08:00
James R
f2c2836301
Overwrite an already existing symlink
2019-12-24 01:55:47 -08:00
James R
9defd997c3
Merge branch 'fixsignalhandler' into 'master'
...
Handle signals correctly on linux
See merge request STJr/SRB2!530
2019-12-24 02:54:44 -05:00
James R
25525a6aae
symlink latest-log.txt on nix, copy to the real log file everywhere else
2019-12-23 18:20:04 -08:00
James R
98cb238d36
Create directories from -logfile too
2019-12-23 17:43:42 -08:00
James R
5fbe77cdda
Let an asbolute path work with -logfile
2019-12-23 17:40:43 -08:00
James R
457e986b75
-logdir lets the user change the log directory
2019-12-23 17:21:58 -08:00
James R
c285000c56
Change default log filename to not use a space
...
bleh
2019-12-23 15:34:27 -08:00
James R
d9d13764e6
-logfile to let the user change the log file name
2019-12-23 15:31:50 -08:00
James R
f574cd0ce2
Whoops I forgot player 2
2019-12-22 21:29:41 -08:00
James R
3e2b28e162
Merge remote-tracking branch 'origin/master' into turnmultiplier
2019-12-22 21:26:36 -08:00
MascaraSnake
1e13604007
Merge branch 'flats-in-walls' into 'master'
...
Flats in walls
See merge request STJr/SRB2!548
2019-12-22 17:44:50 -05:00
James R
2ed5617c5f
Merge branch 'better-deadzone' into 'master'
...
Better Deadzones
See merge request STJr/SRB2!541
2019-12-20 17:33:29 -05:00
James R
c50fe1874d
Merge branch 'random-port' into 'master'
...
Choose a random port as a client
See merge request STJr/SRB2!554
2019-12-20 17:33:12 -05:00
Jaime Passos
4e349cbd0f
Remove W_UnlockCachedPatch calls to avoid crashing
2019-12-19 17:14:56 -03:00
James R
77747c66df
Fix switching to software
...
Would show a black screen for me on Linux. My suspsicion is that
some things are not initialized with just VID_CheckRenderer.
2019-12-19 17:13:23 -03:00
Jaime Passos
5c8604aeb7
Merge remote-tracking branch 'origin/master' into renderswitch
2019-12-19 17:09:47 -03:00
Alam Ed Arias
1771c7c8ce
Revert "Travis yflip error"
...
This reverts commit 2a9a2c0f02
.
2019-12-19 10:25:54 -05:00
Alam Ed Arias
a66fd274a1
Merge remote-tracking branch 'origin/master' into srb2-release-220-deployer
2019-12-19 10:24:04 -05:00
James R
843d9b9f0a
-clientport (it's back!) and -serverport, which is an alias to -port
...
If you ever need to, you can change the client port number.
2019-12-18 15:47:47 -08:00
James R
4e32101289
Use a pointer for port_name
...
Using strcpy is stupid because we don't know how long the argument would be.
There's no need for a buffer anyway.
2019-12-18 15:43:29 -08:00
James R
f584b61c93
Use a random port when connecting
2019-12-18 15:34:55 -08:00
Jaime Passos
1b81232d32
sike
2019-12-18 11:47:26 -03:00
James R
23951cf938
bleh
2019-12-17 20:54:44 -08:00
James R
d1b944121a
Fix "SRB2" SOC directive, though its usefulness is debatable
2019-12-17 14:11:45 -08:00
Jaime Passos
79daafd893
Fix missing "-" prefix on "-software" cmdline parm
2019-12-17 18:04:05 -03:00
Jaime Passos
53885e5ac0
Free PU_HWRMODELTEXTURE tag
2019-12-17 16:28:32 -03:00
Jaime Passos
e359f802fd
Update comments
2019-12-17 16:14:26 -03:00
Jaime Passos
cc54163210
Merge remote-tracking branch 'origin/master' into renderswitch
2019-12-17 16:12:44 -03:00
Jaime Passos
a0971d0756
Put loadgame patch loading back in M_ReadSaveStrings
2019-12-17 15:56:56 -03:00
Jaime Passos
c3f0e6aa44
Avoid recreating the color LUT mid-recording-frame
2019-12-17 15:37:43 -03:00
Jaime Passos
0af71fafc5
Don't use the local palette, because OpenGL mixes it into the textures themselves
2019-12-17 15:20:22 -03:00
Jaime Passos
3d08664de4
Merge remote-tracking branch 'sonicteamjuniorheadquarters/master' into gl_gifs
2019-12-17 15:14:22 -03:00
Jaime Passos
141d0376a5
Merge remote-tracking branch 'origin/master' into flats-in-walls
2019-12-17 15:05:16 -03:00
Jaime Passos
7e55dd31f5
fix menu spacing
2019-12-17 12:53:26 -03:00
Jaime Passos
369563ad92
allow models to change colors more than once.
2019-12-17 12:50:41 -03:00
James R
53c7df4818
Merge branch 'map-command-no-mapheaderinfo' into 'master'
...
Let the map command warp to maps without a level header
See merge request STJr/SRB2!528
2019-12-15 16:59:03 -05:00
James R
adc87640d9
Merge branch 'cmake-fixes' into 'master'
...
Various cmake adjustments
See merge request STJr/SRB2!538
2019-12-15 16:58:45 -05:00
fickleheart
1f88c70d6a
Fix RVZ autocam AGAIN
2019-12-15 13:33:21 -06:00
Sryder
a093c76cfb
Merge branch 'master' of git@git.magicalgirl.moe:STJr/SRB2.git into better-deadzone
2019-12-15 15:47:45 +00:00
Monster Iestyn
eb179e4d6a
Remove anti-Tails restriction for the Allow super Pandora's Box cheat.
...
Despite popular belief, this was just some experimenting from 2.2 development that we forgot to remove!
2019-12-15 15:40:56 +00:00
Sryder
76d59330f7
Port the deadzone cvar stuff from kart.
...
Add menu items for deadzone.
2019-12-15 15:36:13 +00:00
Sryder
b17bf5d836
Use Scaled Radial Deadzones, instead of Axial deadzones.
...
Additionally fixes some weird padscale 0 stuff that was flipped.
This does have gameplay implications in both NiGHTS and regular gameplay. Notably you won't feel like you're locked into up/down left/right when you want to turn, but this can make running perfectly straight a little bit more tricky.
2019-12-15 14:37:30 +00:00
Eidolon
d63ad82dc5
[cmake] Remove srb2dd target
2019-12-15 00:47:58 -06:00
Eidolon
11f5911943
[cmake] Use same executable names as Makefile
2019-12-15 00:39:04 -06:00
fickleheart
a885380e8a
Add analog deadzone option separate from digital deadzones
2019-12-14 19:41:54 -06:00
fickleheart
3db7e48c73
[POTENTIALLY RISKY] Show target arrow above lock-on target
...
My judgement on "is this netgame-safe" is "Gunslinger's
targeting spawns this only for the local player, so maybe".
2019-12-14 19:21:11 -06:00
fickleheart
7fd2153c08
Realign camera options menu options
2019-12-14 19:20:19 -06:00
fickleheart
0702e366b6
Allow setting center view to a toggle
2019-12-14 19:17:41 -06:00
fickleheart
a812ddd88e
Fix turn-to-input jerk when braking sideways
2019-12-14 19:04:29 -06:00
Jaime Passos
4d87bcca13
Move position of R_PlaneRipple in the file so this looks more organised
2019-12-14 19:50:40 -03:00
Jaime Passos
871ebef332
Merge remote-tracking branch 'origin/master' into ripple2
2019-12-14 19:36:54 -03:00
James R
14674223e8
Merge branch 'opengl-is-a-bad-renderer' into 'master'
...
OpenGL fixes
See merge request STJr/SRB2!519
2019-12-14 16:48:50 -05:00
James R
64eb89fc56
Merge branch 'portalcullsector' into 'master'
...
Restore portal culling code that went gone by pure accident
See merge request STJr/SRB2!523
2019-12-14 16:47:51 -05:00
James R
e5714db75c
Merge branch 'software-drawers-refactor' into 'master'
...
Optimize Software drawers
See merge request STJr/SRB2!533
2019-12-14 16:47:27 -05:00
James R
c1d54007e4
Fix C90 error from NOHW
2019-12-14 13:30:10 -08:00
James R
2a22adaa60
Oops C90
2019-12-14 12:55:11 -08:00
fickleheart
0047dba279
Fix float cvars saving wrong when set to max
2019-12-13 23:05:36 -06:00
fickleheart
bc2ed52625
Double sensitivity and halve default of turn to input
2019-12-13 22:55:34 -06:00
fickleheart
252b77c651
Scale angle-related camera turns by player speed
...
They also operate at full when idle, too.
2019-12-13 22:30:04 -06:00
fickleheart
097fc48f52
Even MORE tta changes:
...
- All automatic turning is suspended upon manual rotation
- Dest angle uses drawangle again for rolling only
2019-12-13 20:30:56 -06:00