Commit graph

7044 commits

Author SHA1 Message Date
James R
652b7bbb9e Retain drift on speed pads 2020-05-02 19:10:04 -07:00
Sal
fae498f097 Merge branch 'fof-things-suck' into 'master'
Generic raise things line special, Waypoint Riser and Waypoint Anchor

See merge request KartKrew/Kart!233
2020-04-28 20:19:03 -04:00
Sal
c50670752a Merge branch 'prevent-div-by-zero' into 'master'
Prevent divide by zero in slopes code

See merge request KartKrew/Kart!243
2020-04-25 01:37:54 -04:00
James R
48b7c75e47 Why is this still here 2020-04-24 20:39:54 -07:00
James R
4b2c13da0c Merge remote-tracking branch 'origin/master' into fof-things-suck 2020-04-24 20:36:30 -07:00
Sal
720ec3ba8a Merge branch 'scroll-back-and-front' into 'master'
Line special 507 - Scroll front and back textures of tagged lines by front and back texture offsets

See merge request KartKrew/Kart!239
2020-04-24 20:54:23 -04:00
Sally Cochenour
e26bb897d6 Prevent divide by zero in slopes code
Not exactly sure why this happens, or if this is the correct way to fix it
2020-04-23 14:18:43 -04:00
Sal
c53b09c48c Merge branch 'update-cmakelists' into 'master'
Add new files to src/CMakeLists.txt

See merge request KartKrew/Kart!242
2020-04-23 12:48:43 -04:00
Sal
dca2193121 Merge branch 'misc-camera' into 'master'
Camera tweaks

See merge request KartKrew/Kart!241
2020-04-22 16:42:19 -04:00
Sal
4a198c0bfa Merge branch 'version-change' into 'master'
No more modulo bullshit in VERSION

See merge request KartKrew/Kart!238
2020-04-22 16:41:17 -04:00
Sal
17e2cea517 Merge branch 'bananas-are-items' into 'master'
Move all of the item destroy sector code to one place

See merge request KartKrew/Kart!240
2020-04-22 16:40:56 -04:00
Sal
e23027d678 Merge branch 'let-there-be-var' into 'master'
Change netvars in replays

See merge request KartKrew/Kart!234
2020-04-22 16:40:29 -04:00
Sal
9671090d06 Merge branch 'distance-to-finland' into 'master'
More consistent finish line distance & positions

See merge request KartKrew/Kart!237
2020-04-22 16:40:19 -04:00
lachwright
4040698e24 Add new files to src/CMakeLists.txt 2020-04-22 23:24:25 +08:00
lachwright
dd126494b3 [Everyone disliked that.] (revert camera zoom) 2020-04-22 22:59:57 +08:00
James R
fd51bf10b0 Thing type 2003, MT_WAYPOINT_ANCHOR - Adjust waypoint's radius
The distance from the waypoint to the anchor will be the new radius.
2020-04-21 00:36:45 -07:00
James R
02f30814eb Do some cleanup 2020-04-21 00:35:06 -07:00
lachwright
c92634c71e Make lookback instantaneous 2020-04-21 05:24:48 +08:00
lachwright
6905cfb064 Revert camtilt splitscreen hacks 2020-04-21 03:32:06 +08:00
lachwright
263c31f5df Improve camera tilt 2020-04-21 02:38:08 +08:00
Sally Cochenour
e941749f4c Move all of the item destroy sector code to one place 2020-04-15 22:45:03 -04:00
James R
62143d32b3 Rise waypoint to highest FOF below riser, or lowest above 2020-04-15 19:31:23 -07:00
James R
0b3b13b3b5 Remove FOF height sorting 2020-04-15 19:16:49 -07:00
James R
190fc27121 Check that a back side exists 2020-04-15 18:48:23 -07:00
James R
ab40ede955 Line special 507, scroll tagged lines' front and back textures by front and back texture offsets 2020-04-15 18:45:23 -07:00
Sal
fc32689b36 Merge branch 'folders-plus' into 'master'
Directory revision

See merge request KartKrew/Kart!231
2020-04-15 16:13:39 -04:00
Sal
80ce1c7c6d Merge branch 'dropstuff' into 'master'
Item drop code cleanup

See merge request KartKrew/Kart!236
2020-04-15 16:12:55 -04:00
Sally Cochenour
da953c9dae No more modulo bullshit in VERSION
VERSION is the first number, SUBVERSION is the second number, and the third number burns in hell; we really don't need that precision
2020-04-12 23:51:00 -04:00
Sally Cochenour
371cc18bf6 Update ALL finish line distances & positions, separately, before player thinkers happen, ensuring it's never inaccurate 2020-04-12 21:04:07 -04:00
Sal
71b6c44af0 Merge branch 'spb-shit' into 'master'
Fix item distances underflowing in rare instances due to order of operations

See merge request KartKrew/Kart!235
2020-04-10 13:51:27 -04:00
Sally Cochenour
8b5bd645ca See if cleaning the pointer here fixes shrink/eggbox syncbombs 2020-04-09 22:57:05 -04:00
Sally Cochenour
9b4e10d5d7 Item dropping code cleanup 2020-04-09 22:56:31 -04:00
Sally Cochenour
c8da95cbda Revert "Fix being able to hold items to get them as early as possible"
This reverts commit 43732b386d.
2020-04-09 21:05:46 -04:00
Sally Cochenour
43732b386d Fix being able to hold items to get them as early as possible
(Doesn't matter in v2 because it'd waste your rings to do it, but y'know how it is. Maybe port for v1.2 if it works?)
2020-04-09 20:57:21 -04:00
Sally Cochenour
1618d61bfc Fix potential overflow 2020-04-09 20:56:15 -04:00
James R
ccc746fbf4 Change netvars in replays 2020-04-09 17:21:30 -07:00
James R
77e01f61e6 Waypoint Riser: Require Object Special for discrimination by tag
So the default is to affect all waypoints in the sector.
2020-04-04 01:28:53 -07:00
James R
89a2f8ec8d Thing type 2002, MT_WAYPOINT_RISER - Raise tagged waypoints in sector to FOF sorted by height
Thing height refers to the index of FOF. FOF are sorted by top height, lowest
to highest. Set Object Flip to sort highest to lowest.

If the waypoint thing set Object Flip, it will be placed on the bottom of the
FOF. The sorting remains the same though.

Set Ambush to raise the waypoint to the same z position.
2020-04-04 01:20:38 -07:00
James R
593003b0f7 Line special 80, raise tagged things by type to this FOF
Thing type is the front texture x offset.

Tag here refers to the thing's angle.

For example, you have two sectors tagged to one FOF. Put a ring in each sector,
give it angle 0. Then give a line in the FOF control sector special 80 front
texture x offset 300. Those rings will spawn on the FOF instead of on the
sector floor.

Also works for object flip and slopes.
2020-04-03 20:53:00 -07:00
James R
4a3a4c0801 This won't be needed 2020-03-31 15:50:39 -07:00
James R
e4094bc2a9 Remove some redundant code 2020-03-31 15:26:22 -07:00
James R
735dd26dc6 Put downloads in addons/downloads instead of DOWNLOAD 2020-03-31 15:23:24 -07:00
Sryder
f190e3bd9e Merge branch 'fix-waypoint-joins' into 'master'
Fix joining netgames not loading up waypoints correctly

See merge request KartKrew/Kart!230
2020-03-31 11:34:15 -04:00
Sryder
902bbb447f Missed a function header comment in k_waypoint.c 2020-03-31 16:31:01 +01:00
James R
3fa22c508b Put screenshots, movies and replays under a "media" directory 2020-03-30 17:41:48 -07:00
Sryder
956222ad86 Fix joining netgames not loading up waypoints correctly.
Mobjs get deleted and loaded from net save. The mobjs in the waypoints need to load into the correct waypoints again.
This doesn't save/load the entire waypoints, so they still cannot be edited/added/removed mid-game.
2020-03-30 20:43:01 +01:00
Sal
860885e2b9 Merge branch 'new-item-sprites' into 'master'
Add new item box sprites

See merge request KartKrew/Kart!229
2020-03-30 12:34:52 -04:00
Sally Cochenour
69a67376b3 Oni's suggestions
- Only look for players who can pick up the item. Serves as a subtle tell for other players holding onto items, and lets you see the canon color more often
- Held eggman item uses black instead of player color
- Fix karma items not animating
2020-03-30 07:43:22 -04:00
Sally Cochenour
266ad99374 Add new item sprites 2020-03-30 06:57:42 -04:00
Sally Cochenour
896f752d94 Fix the compile errors I got
- void out link variable in non-unix to prevent unused variable error
- change n's type to size_t from int to prevent unsigned signed comparison
2020-03-29 08:39:15 -04:00