Commit graph

7140 commits

Author SHA1 Message Date
Sryder
ad034a083b Merge branch 'copy-slope-thing-spawning-backport' into 'master'
Copy slope thing spawning fix backport

See merge request KartKrew/Kart!160
2019-07-17 15:14:44 -04:00
Nev3r
35ebe947c4 Things spawning over copied slopes now properly align on the new plane
While I believe the opposite behavior was intentional at first, it has proven to be problematic and makes alignment a tedious task for copied planes.

Signed-off-by: Nev3r <apophycens@gmail.com>
2019-07-17 12:04:14 -07:00
James R
d82e86d4cd Declare z in scope under case 2019-07-16 20:06:26 -07:00
TehRealSalt
407157496a Fix colors looking washed-out on models 2019-07-16 16:03:31 -04:00
James R
7354ce200e Correct reverse gravity offsets
Woah reverse gravity sucks.
2019-07-12 13:28:25 -07:00
Sryder
d6382107d3 Hopefully better Jawz behaviour
Moved the movement code for it out of the thinker and into A_JawzChase to have it all in a consistent place.
2019-07-07 21:56:23 +01:00
Sryder
fbc5b9f880 Added () for slight clarity 2019-07-07 15:24:32 +01:00
James R
c5bd4d6ecd Apply P_MobjFlip to ring and ring sparkle animations 2019-07-05 20:11:38 -07:00
Sryder
d6ec65de59 Added some slope handling for regular jawz.
Jawz as a result can absolutely behave differently, but it's mostly the case when in the range where it would slow down.
Will need testing, seems like it can sometimes rocket past a player that's stationary, maybe that's not a bad thing?
2019-07-05 23:29:31 +01:00
Sryder
893d8cd211 Support Jawz dud on slopes
Don't let orbinaut accelerate infinitely when in the air.
2019-07-05 21:11:13 +01:00
Sryder
de62209d96 Orbinaut supports slopes, slows down naturally when above top speed.
Still has it's speed reset lower when hitting a wall. Doesn't maintain slope speed increase.
2019-07-05 20:34:36 +01:00
Sryder
9beaac2e53 Merge branch 'fix-port-connect' into 'master'
Don't use client port as default peer port

See merge request KartKrew/Kart-Public!152
2019-07-05 11:54:28 -04:00
Sryder
8ac774a9d6 Merge branch 'add-floats-command' into 'master'
Fix the Add command when floats

See merge request KartKrew/Kart-Public!153
2019-07-05 11:49:46 -04:00
James R
460105cb8a Support adding to CV_FLOAT cvars with the Add command 2019-07-04 17:48:17 -07:00
James R
d4e950f17b Don't use client port as default peer port 2019-07-04 16:38:00 -07:00
Sryder
ae344fa2bc Fix silly issue 2019-07-04 17:55:41 +01:00
Sryder
e14da85868 Merge branch 'opengl_match_software_wallclip' into 'master'
OpenGL: Try and Match Software Wallclipping Better

See merge request KartKrew/Kart-Public!150
2019-07-02 14:08:10 -04:00
Latapostrophe
0c3fbdd7f4 Merge branch 'master' of git.magicalgirl.moe:KartKrew/Kart-Public 2019-07-02 18:24:14 +02:00
Sryder
19a2962413 Just remembered there's supposed to be a flag to determine if a waypoint can be spawned at 2019-06-30 22:14:20 +01:00
Sryder
658e852a0c Merge branch 'revert-mserv' into 'master'
Revert mserv

See merge request KartKrew/Kart-Public!144
2019-06-30 15:56:17 -04:00
Sryder
d579a40221 Merge branch 'replay-code-sucks' into 'master'
Fix SIGSEGV when saving replays and invalid extrainfo offset

See merge request KartKrew/Kart-Public!149
2019-06-30 05:51:21 -04:00
Sryder
20f8037351 Respawn at waypoints once first crossing the finish line. 2019-06-29 11:05:35 +01:00
Sryder
6eca35aae1 SPB Now follows the track.
You better watch out, You better watch out, You better watch out!
2019-06-28 22:43:34 +01:00
Sryder
10adecb4a6 Improvements to player finish distances
Figure out the circuit length on map load
player->distancetofinish is now a total distance on circuit maps
some hacky alterations around circuit finish lines to correctly calculate distancetofinish
2019-06-28 21:11:26 +01:00
Sryder
04966f5613 Add missing function header comments to k_waypoint.c 2019-06-28 09:59:19 +01:00
Sryder
269050ecc7 Merge branch 'lemme-outa-room-menu' into 'master'
Don't get stuck in room menu in a modified game

See merge request KartKrew/Kart-Public!145
2019-06-27 14:16:37 -04:00
Sryder
6a53837d2c Update Skywall handling
I've tried to make this so it almost never under-compensates, and over-compensates very little where possible.
I don't think it's 1:1 to software's current behaviour, and probably never will be due to software being very strange.
2019-06-26 23:17:45 +01:00
James R
78bd39acd5 Someone doesn't know how pointers or WRITE macros work...
Fixes SIGSEGV when saving a replay.
2019-06-25 00:44:12 -07:00
Sryder
913225dd2a checkforemptylines can be static 2019-06-24 20:50:37 +01:00
Sryder
06592383a0 Match CheckClip to software's clipping check in R_AddLine
Has the added benefit of fixing noclip camera for opengl
Unfortunately SkyWalls are kinda broken with this. I'll be looking into them shortly.
2019-06-24 20:21:30 +01:00
Sryder
d63c05a5aa Merge branch 'replay-typo' into 'master'
Spell it "forward"

See merge request KartKrew/Kart-Public!147
2019-06-23 12:34:07 -04:00
Latapostrophe
dce64f33e1 Merge branch 'master' of git.magicalgirl.moe:KartKrew/Kart into v2-master 2019-06-23 14:40:24 +02:00
James R
76c5e3d6fe Spell it "forward" 2019-06-22 21:40:20 -07:00
Sryder
1e000d27ed Merge branch 'fileneededconfig-fix' into 'master'
Fix fileneeded overflow

See merge request KartKrew/Kart-Public!146
2019-06-21 13:13:14 -04:00
James R
aa5857211c Cover edge case of WRITESTRINGN 2019-06-20 15:29:55 -07:00
James R
fa8999c0df Add a comment by Sryder's request 2019-06-20 15:24:50 -07:00
James R
b5aff9f6e7 Also count terminating byte in fileneeded filename 2019-06-20 15:16:23 -07:00
James R
a6b7c0a996 Don't get stuck in room menu in a modified game 2019-06-19 14:32:11 -07:00
Sryder
a80bfe4f41 Merge branch 'print-correct-view' into 'master'
Print the correct player for the view command

See merge request KartKrew/Kart-Public!141
2019-06-19 16:58:11 -04:00
Sryder
b595cd4c22 Merge branch 'nomoreendlessclouds' into 'master'
Stop OpenGL having infinite precipitation draw distance

See merge request KartKrew/Kart-Public!143
2019-06-19 16:56:26 -04:00
Sryder
3ee34f7518 Integer comparison warning 2019-06-19 21:54:11 +01:00
Sryder
636724aeb6 Stop OpenGL having infinite precipitation draw distance 2019-06-19 20:05:20 +01:00
Sryder
3c64cdc6ed Merge branch 'playerinfo_mscompat' into 'master'
Fix compatibility with the MS (Specifically Doomseeker)

See merge request KartKrew/Kart-Public!142
2019-06-19 14:57:41 -04:00
Sryder
3d6161c7ca Fix compatibility with the MS (Specifically Doomseeker)
Send back 32 players worth of playerinfo regardless of MAXPLAYERS. Fill the extra with unconnected nodes.
2019-06-17 21:04:48 +01:00
Sryder
b2d5521d34 Finish Line linedef needs condition flipped for correct crossing of it. 2019-06-16 23:30:39 +01:00
Sryder
d96c90acc8 Actually revert the checkpoints properly 2019-06-16 22:43:20 +01:00
Sryder
fbd72c149b Use correct formatting for size_t in Printf 2019-06-16 22:25:58 +01:00
Sryder
991cef9163 Get distance to first by using the distanceofinish variable for roulette 2019-06-16 22:15:36 +01:00
Sryder
6bcc283d3b Reimplement system for specials that activate when crossing a linedef from DOOM
Used for the finish line, crossing it the correct way increments the lap count, the wrong way decrements it
Remove usability of the sector special for the finish line
Undo another check of numstarposts to force all of them to need passing to complete the stage
player laps start from 0 now, it goes to lap 1 when you initially cross the start line.
2019-06-16 22:03:57 +01:00
Sryder
49a8b0ac38 Add player's nextwaypoint to the player struct
Network synchronised(?) nextwaypoint in player struct
Make the waypointheap actually a heap and not allocate memory for every individual waypoint.
No need to store id in the waypoint struct, since it can be gotten from the waypointheap now.
2019-06-16 17:58:28 +01:00