Commit graph

20148 commits

Author SHA1 Message Date
Sally Coolatta
93cdac681b Keep track of script activators
Can supply the activating object, line, line side, polyobject, and (added for SRB2) sector.
2022-10-08 05:39:56 -04:00
Sally Coolatta
a315482aa4 Add ThingCount
Hexen implements this as ThingCount(int, int), and ZDoom adds ThingCountName(str, int). I decided on simplifying down to ThingCount(str, int).
2022-10-07 20:19:51 -04:00
Sally Coolatta
1d373d2c81 Add ChangeFloor/Ceiling, fix Random 2022-10-07 18:32:05 -04:00
Sally Coolatta
6a743db1eb More code cleanup
- Inline function to simplify adding call funcs
- Implemented print when thread is killed
2022-10-06 05:31:25 -04:00
Sally Coolatta
df47a5fe39 Commentate code, add a few more CallFuncs 2022-10-06 02:48:43 -04:00
Sally Coolatta
6b94b9728e Reset hub & map scopes on map load 2022-10-05 01:58:22 -04:00
Sally Coolatta
cb8dddbedc ACS basic implementation
- BEHAVIOR lumps successfully load & run from maps. Currently they do not get unloaded between maps, though.
- Print and Timer are the only implemented CallFuncs. All of the base language functions (Delay, etc) are already implemented by the VM though.
- ACS compiler files are included, for use with GDCC. (Picked instead of ACC because it's less ZDoom-centric)
- Additionally, also added the configs for Zone Builder to be able to compile it in editor. Syntax highlighting is very incomplete atm.
2022-10-04 03:23:17 -04:00
Sally Coolatta
26477941ed Attempt using ACSVM to implement
It's having trouble linking the dll on Windows currently
2022-10-03 01:23:58 -04:00
Sal
1300ec5d56 Merge branch 'commit-version' into 'master'
Compare git commit before joining netgames

See merge request KartKrew/Kart!721
2022-10-01 02:54:58 +00:00
Sal
e9d2785cc3 Merge branch 'you-have-uncommitted-changes' into 'master'
The programmer took a nap. Hold out, programmer!

See merge request KartKrew/Kart!722
2022-10-01 02:14:15 +00:00
James R
1bfccebbe6 Merge remote-tracking branch 'origin/devmode-online' 2022-09-30 15:57:52 -07:00
James R
40b28d7d1a Merge branch 'rework-rteleport-command' into 'master'
relativeteleport cheat online

See merge request KartKrew/Kart!719
2022-09-30 22:52:23 +00:00
James R
f6b4b9213b Merge branch 'rework-savecheckpoint-command' into 'master'
savecheckpoint cheat online

See merge request KartKrew/Kart!718
2022-09-30 22:52:05 +00:00
James R
ee2302d6ee Merge branch 'noclip-online' into 'master'
Cheat/Debug Commands ...ONLINE

See merge request KartKrew/Kart!717
2022-09-30 22:51:42 +00:00
James R
bc0fc9b05a Readd version and subversion to serverinfo
Add commit field after those two so packet is identical up
to that point and DEVELOP builds mismatch version online.

blame d176aefd8
2022-09-30 05:51:43 -07:00
James R
62b2718261 Print on the title screen and in console if there are uncommitted changes 2022-09-29 15:31:53 -07:00
James R
495c58e53f Add V_STRINGDANCE -- dancing letters
They do a wiggle~
2022-09-29 14:38:59 -07:00
James R
d176aefd88 Compare git commit when joining netgames in DEVELOP builds 2022-09-29 12:55:07 -07:00
James R
aeda564145 Fix typo
FUCK

blame cf02646229
2022-09-29 12:35:02 -07:00
Sal
a094fe7d61 Merge branch 'unshitty-destroy-items-sectors' into 'master'
Let's define which items can die in a death sector in ONE PLACE

See merge request KartKrew/Kart!713
2022-09-29 18:06:18 +00:00
James R
f3668fbd7c Merge branch 'top-final' 2022-09-29 10:52:45 -07:00
James R
ff05234783 Merge branch 'water-skip-conditions' into 'master'
Fun times at the pool

See merge request KartKrew/Kart!710
2022-09-29 17:18:15 +00:00
James R
8529e8b95e Make Garden Top backwards throw leap consistent across player scales 2022-09-29 10:02:28 -07:00
Sal
3e378ecd9b Merge branch 'switching-racers' into 'master'
Skin change condition tweak

See merge request KartKrew/Kart!491
2022-09-29 16:42:57 +00:00
James R
cc7ceff30e Clamp Top float modulation 2022-09-29 09:35:12 -07:00
Sal
0acaf80d2c Merge branch 'refactor-weaponpref' into 'master'
Refactor weapon pref

See merge request KartKrew/Kart!715
2022-09-29 16:31:33 +00:00
Sal
9f7a04f4d5 Merge branch 'kill-twod' into 'master'
Kill last of MF2_TWOD

See merge request KartKrew/Kart!716
2022-09-29 16:30:32 +00:00
Sally Coolatta
c65628e2d0 Don't pad flags in the warning 2022-09-29 12:22:15 -04:00
Sally Coolatta
80d9637dda devmode cheat online 2022-09-29 12:19:45 -04:00
James R
13a17fa0f8 Disable checkpoint saved by savecheckpoint when disabling cheats
What a mouthful.
2022-09-29 07:44:52 -07:00
James R
23408e7d3b Let savecheckpoint work online, work at all
Actually respawns you at this location! 😃

Uses object Z position instead of floor height.
2022-09-29 06:43:44 -07:00
James R
0024332f34 Let relativeteleport work online
Requires all x, y, z arguments. Floats supported.

Old: rteleport -x 1 -y 2 -z 3
New: rteleport 1.1 2.2 3.3
2022-09-29 06:10:53 -07:00
James R
63af088231 Let skynum work online
I see no reason why it shouldn't.
2022-09-29 05:54:58 -07:00
James R
db92d9068e Netsync setrings and setlives
- setrings no longer subtracts totalrings
- removed INFLIVES
2022-09-29 05:54:58 -07:00
James R
57a3c4109c Reset player cheat effects when disabling cheats cvar 2022-09-29 05:54:58 -07:00
James R
6426358377 Let some cheat commands work online
noclip
god
scale
gravflip
hurtme
2022-09-29 05:54:57 -07:00
James R
e30232e103 Kill last of MF2_TWOD -- toggletwod, line action 432 2022-09-29 03:16:11 -07:00
James R
0444e70413 Rearrange player cheat flags
PC_GODMODE -> PF_GODMODE
PC_NOCLIP -> MF_NOCLIP
2022-09-29 02:23:07 -07:00
James R
048e7e807c Remove macro to disable noclip camera 2022-09-29 01:37:51 -07:00
James R
36a40d0971 Refactor weapon pref into one place 2022-09-28 21:23:49 -07:00
James R
b7852c94d4 Merge remote-tracking branch 'origin/master' into switching-racers 2022-09-28 19:13:17 -07:00
James R
7ab84ebd2f Merge remote-tracking branch 'origin/chat-flood-fix' 2022-09-28 19:06:38 -07:00
James R
c5b132e8db Fix -Wsign-compare 2022-09-28 18:28:19 -07:00
James R
56a5432f41 Adjust most player physics for Garden Top
- Auto accel
- 800% acceleration
- 110% top speed
- Infinite tether like Lightning Shield

- Resists going upward on slopes
- Less friction

- Can always turn your sprite
- Turning speed does not get weaker at high speeds
- Turning speed is normal underwater
- Keeps moving in momentum direction, regardless of how
you turn
- Releasing a drift redirects all your momentum in that
direction

- Floats over bananas, damage sectors and offroad
- No stair janking while floating

- Hold drift for extra gravity. Not only does this fast
fall (this stacks with true fast falling), it builds
momentum down slopes too!

- Parries Big Players (Grow), Invincibility, Flame Shield
and, of course, other Tops -- all except if you're
grinding
- Wipes out anyone you touch
- Infinite weight like Bubble Shield

- Does not water skip
- Does not water run while holding drift
2022-09-28 02:01:37 -07:00
James R
5063a4acf1 The Garden Top
This is all the visual effects and item logic of the Top
minus (almost all [1]) physics adjustments when a player is
riding one.

While on a Top:

- Otherwordly humming while floating

- Cannot drift [1]. Instead, holding drift begins grinding
the Top into the ground -- sparks fly out
- Sprite tilts left and right as you turn
- No wheel screech when turning too far
- Speed lines while holding drift
- Tripwire Boost effect scales to cover you AND the Top

- One hit and you lose it

- Throwing forward, getting hit or just losing it because
you were in first place for too long: the Top flies out
from under you and begins snaking like crazy
- Throwing backward also makes the Top fly out from under
you but it also thrusts you forward. The Top dies
instantly so it's not dangerous ;-)

- If you're in first for too long, it begins vibrating
- If you tumble, it dances across your entire screen

A loose top will tumble anyone it hits.
2022-09-28 02:01:37 -07:00
James R
b5cdf25298 Add P_LerpFlip 2022-09-28 02:01:37 -07:00
James R
a6f206cd62 Add topdriftheld and topinfirst to player_t 2022-09-28 02:01:37 -07:00
James R
aba30a1c16 Rebalance item odds around Garden Top 2022-09-28 02:01:35 -07:00
James R
77bc259986 Separate water skipping condition into K_WaterSkip 2022-09-28 00:07:26 -07:00
James R
7b301452cc Add Garden Top related states
MT_GARDENTOP
S_GARDENTOP
KITEM_GARDENTOP
KSHIELD_TOP
2022-09-28 00:07:25 -07:00