Commit graph

14498 commits

Author SHA1 Message Date
Monster Iestyn
6dd39fa83b Fix FOF slopes briefly glitching on level load in software mode, by ensuring the FOFs' target sectors have hasslope set on creation 2019-06-17 18:46:51 +01:00
MascaraSnake
6faaa1559d Adjusted the height difference for track switching 2019-06-17 08:41:51 +02: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
MascaraSnake
265350d527 Minecart stopper itself also needs MF_NOCLIPHEIGHT and MF_NOGRAVITY 2019-06-16 22:26:52 +02:00
MascaraSnake
4c3228ebeb Repaired the height difference check during track switching 2019-06-16 22:00:50 +02:00
MascaraSnake
c9a8505abc Fixed a bug with the Canarivore gas 2019-06-16 21:36:22 +02:00
MascaraSnake
85e7f4b2af Fixed a sound bug 2019-06-16 19:08:20 +02: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
MascaraSnake
50cade33ab Fixed the cacti heights 2019-06-16 18:14:15 +02:00
MascaraSnake
457f1df181 Finetuned the saloon door swinging 2019-06-16 17:57:03 +02:00
MascaraSnake
bdccfb9c35 (Hopefully) fixed the player sometimes landing on the solid part of the minecart stopper after being launched out of the minecart 2019-06-16 17:07:13 +02:00
MascaraSnake
64b63edfdd Added minecart support to A_MixUp 2019-06-16 16:49:18 +02:00
MascaraSnake
f272a29a8d Fixed a bug involving players being thrown out of minecarts 2019-06-16 16:39:06 +02:00
MascaraSnake
3dc4e1d950 Snapper head/legs and minecart segments flash when they're destroyed 2019-06-16 15:35:32 +02:00
Nev3r
fce498418c Merge branch 'portals2' into 'master'
Portal-based skybox rendering replacement for the software renderer

See merge request STJr/SRB2Internal!226
2019-06-16 04:08:00 -04:00
MascaraSnake
f1eebf270d Do death animation even when MF2_DONTDRAW is set 2019-06-15 22:29:30 +02:00
MascaraSnake
70882dc9d8 Don't jump repeatedly when holding jump 2019-06-15 21:58:58 +02:00
MascaraSnake
bfe3deb5d6 Streamlined the minecart death handling 2019-06-15 21:43:36 +02:00
MascaraSnake
efc1b7ef2b Kill minecarts that fall into death pits 2019-06-15 20:59:56 +02:00
MascaraSnake
852ae2d07b Many more bugfixes 2019-06-15 20:21:18 +02:00
Sryder
530214aa87 Remove now unused waypoint player variables. 2019-06-15 17:04:16 +01:00
MascaraSnake
4d27dac35a Simplified the setup for the Snapper/minecart death animations 2019-06-15 17:33:07 +02:00
Sryder
5ad7db9d64 Revert to needing to touch every checkpoint to complete a lap. 2019-06-15 15:50:04 +01:00
Sryder
d8f81ab4b9 Add function header comments to my new functions. 2019-06-15 15:47:23 +01:00
MascaraSnake
ac692e2cdd Fixed minecart not exploding on death 2019-06-15 14:21:27 +02:00
Sryder
7f48bfc19a Slight refactor of getting distance to finish line for players. 2019-06-15 13:11:45 +01:00
MascaraSnake
18c0d32320 Removed an unnecessary tracer check 2019-06-15 13:52:27 +02:00
MascaraSnake
75afe898f3 You can now jump onto tracks that are running antiparallel to yours 2019-06-15 13:49:30 +02:00
MascaraSnake
e74447b0d3 Some more bugfixes 2019-06-15 00:59:13 +02:00
Sryder
4dfd81568d Get distance to finish line using waypoints/pathfinding.
Update player position using distance from finish line.
Minor Bug: At the start of a race for a split second the leading players will be last.
Proposed Fix: Start on lap 0 and Force a lap count update when crossing the finish line
2019-06-14 23:55:10 +01:00
MascaraSnake
73554c09dd Another bugfix 2019-06-15 00:12:58 +02:00
MascaraSnake
e0dea69237 A bunch of bugfixes 2019-06-15 00:04:50 +02:00
MascaraSnake
18bd29c904 "Finished" minecart hardcoding (still untested and buggy) 2019-06-14 21:19:52 +02:00
Monster Iestyn
6bc4d5a086 Merge branch 'apng-opengl' into 'master'
opengl apng fix

See merge request STJr/SRB2!497
2019-06-14 13:29:13 -04:00
Jaime Passos
cf7b9ccff4 Update m_misc.c 2019-06-14 14:13:41 -03:00
Latapostrophe
968bd310dd Merge branch 'jimita-shaders' of git.magicalgirl.moe:Jimita/Kart-Public into jimita-shaders 2019-06-14 12:19:17 +02:00
Latapostrophe
9b25b08026 Don't remap boosters and springpads in encore + no horizon line in GL 2019-06-14 12:18:44 +02:00
Jaime Passos
dccb4192c3 Update r_opengl.c 2019-06-13 21:27:19 -03:00
Jaime Passos
a37d742561 software is better 2019-06-13 21:10:01 -03:00
MascaraSnake
fd39f4ce1e Merge branch 'acz-hardcode' into new-acz-minecarts 2019-06-13 21:52:08 +02:00
MascaraSnake
cadcc642c0 Set tracers via P_SetTarget and not directly 2019-06-13 21:51:31 +02:00
MascaraSnake
720d84f87f More incomplete minecart hardcoding 2019-06-13 21:45:30 +02:00
Latapostrophe
599cf4fc9d encore colormaps, fixups + flat align 2019-06-13 10:14:07 +02:00
Jaime Passos
fdff52b5fe Update hw_main.c 2019-06-12 23:31:55 -03:00
Jaime Passos
c85d181df9 Open Graphics Library (OpenGL) is a cross-language, cross-platform application programming interface (API) for rendering 2D and 3D vector graphics. The API is
typically used to interact with a graphics processing unit (GPU), to achieve hardware-accelerated rendering.
2019-06-12 23:01:18 -03:00
Sryder
e937e35a78 Split pathfinding itself into its own module. 2019-06-12 23:43:55 +01:00