Commit graph

33 commits

Author SHA1 Message Date
Sally Coolatta
c145d12db3 Use hashes for terrain loading 2022-09-06 19:39:27 +01:00
James R
fc103834af Cache terrain on levelflats 2022-01-11 22:49:01 -08:00
Sally Coolatta
c5279e5795 Fix missing line for trick panels 2022-01-05 17:58:48 -05:00
Sally Coolatta
8326f32456 Fix default terrain friction 2022-01-05 17:44:11 -05:00
Sally Coolatta
211fc17974 NULL terrain for spectators 2022-01-04 12:45:20 -05:00
Sally Coolatta
df3a0ad507 Only do spread if above 0 2022-01-03 01:40:38 -05:00
Sally Coolatta
2033e84bce Minimum impact amount for splashes 2022-01-03 00:17:59 -05:00
Sally Coolatta
9e56e54e31 Implement particle spawn frequency, offset spawning by player num 2022-01-03 00:07:46 -05:00
Sally Coolatta
c6f69e8f59 Add required speed percent 2022-01-02 21:42:20 -05:00
Sally Coolatta
9bc48762a8 Merge branch 'terrain-lump' of https://git.do.srb2.org/KartKrew/Kart into terrain-lump 2021-12-24 09:50:12 -05:00
Sally Coolatta
ff3cb90cda Super random push
Looks better to me, and makes cone have a more pronounced effect
2021-12-24 09:50:00 -05:00
James R
cdf75cfbe0 Fix incompatible prototype 2021-12-23 21:08:19 -08:00
Sally Coolatta
8cdfe87dca Let's just convert this in a more sane fashion... 2021-12-23 23:15:36 -05:00
Sally Coolatta
2d5d78b76e Oops ... can't use raw angles for P_RandomRange anyway. 2021-12-23 22:58:25 -05:00
Sally Coolatta
a0c36c6126 Wrong var name oops
I autopiloted
2021-12-23 22:50:57 -05:00
Sally Coolatta
d1827b1c16 Fix it not using footstep->cone 2021-12-23 22:48:23 -05:00
Sally Coolatta
72b2997440 Remove off by one """"fix"""" 2021-12-23 03:23:42 -05:00
Sally Coolatta
9bae31fd03 Properly put in the parameters 2021-12-19 01:09:37 -05:00
Sally Coolatta
da459a9c73 Add terrain splashes 2021-12-19 00:57:45 -05:00
Sally Coolatta
528ee29f2f Use mobjzmovement for footsteps 2021-12-18 23:30:57 -05:00
Sally Coolatta
8667aeb620 Add footstep particles 2021-12-18 21:23:41 -05:00
Sally Coolatta
edef941a08 Add scale & color parameters to terrain particles 2021-12-18 18:30:19 -05:00
Sally Coolatta
35a3f65e83 Allow "texture" as an alias to "floor"
Since we I'm using it for Tripwire too
2021-12-09 16:32:31 -05:00
Sally Coolatta
047b725a30 Implement bumpy floor 2021-12-09 16:12:09 -05:00
Sally Coolatta
b3d3135c58 Instead of embedding specific textures to be tripwire in hardcode ... make it a TERRAIN flag! 2021-12-09 15:54:22 -05:00
Sally Coolatta
35a72e56dc Implement splash & footstep blocks, commentate more of the code
They do nothing atm, but they can be set properly now :)
2021-12-09 14:45:59 -05:00
Sally Coolatta
b1ffaa99f8 Sync mobj->terrain
This should be enough I think to sync terrain up. The data structures can't change after the files have been loaded, so it should be good. Needs proper online testing though
2021-12-09 13:20:35 -05:00
Sally Coolatta
e212f947ad Implement the sector special-like effects
Offroad, sneaker panels, trick panels, and damaging floors can now be set via terrain.
2021-12-09 03:20:45 -05:00
Sally Coolatta
f7834054a5 You can now link terrain to textures 2021-12-09 01:55:29 -05:00
Sally Coolatta
53d777788a Friction value is used, implemented DefaultTerrain 2021-12-09 01:21:34 -05:00
Sally Coolatta
150faf9de6 Add terrain pointer to mobj_t 2021-12-09 00:56:05 -05:00
Sally Coolatta
a8615cac5b TERRAIN lump reading
Does not impact gameplay but hey pretty cool
2021-12-08 19:16:12 -05:00
Sally Coolatta
7c0088b752 TERRAIN lump mockup 2021-12-07 17:23:42 -05:00