Lactozilla
fbee00d62a
Ensure hook status is initialized properly
2023-08-14 21:36:06 -03:00
Lactozilla
f45156fea8
Rename PlayerRespawn to PlayerSpawnPoint
2023-08-14 21:22:09 -03:00
Lactozilla
03c080c07b
Add scale support to PlayerRespawn
2023-08-14 21:20:55 -03:00
Lactozilla
3d9228aa9a
Support multiple return results in PlayerRespawn
2023-08-14 21:12:21 -03:00
Lactozilla
01cba64f60
Move TF2 Medic code into its own functions
2023-08-14 20:23:50 -03:00
Lactozilla
a880f0aa6f
Fix P_CollectRing
2023-08-14 19:40:57 -03:00
Lactozilla
8728ed1ec0
Add PlayerRespawn hook
2023-08-14 19:34:34 -03:00
Lactozilla
fac87627a4
Implement MFE_TEAMITEM
2023-08-14 14:44:47 -03:00
Lactozilla
73f759d76e
Add team starts (editor number 36)
2023-08-13 22:15:57 -03:00
Lactozilla
626aee965c
Ensure teamscores[TEAM_NONE] can't be written to or read
...
Push nil if a player start is NULL
Make lib_teamstartslen push numteams - 1 instead of MAXTEAMS
2023-08-13 22:01:34 -03:00
Lactozilla
82f5c42e94
Add playerstarts, matchstarts, teamstarts to Lua
...
Refactor player starts
2023-08-13 21:52:37 -03:00
Lactozilla
f493e4aae0
Add G_FindPlayerStart, G_FindMatchStart, and G_FindTeamStart to Lua
2023-08-12 20:28:16 -03:00
Lactozilla
e4b3c72432
Player start refactor
2023-08-12 19:45:09 -03:00
Lactozilla
e56d444c84
Delete MT_TEAMFLAG
2023-08-12 17:33:54 -03:00
Lactozilla
9bdc333539
Don't change player->skincolor and cv_playercolor to the team color
2023-08-07 13:30:32 -03:00
Lactozilla
f27ea0169f
Fix a typo
2023-08-07 00:00:01 -03:00
Lactozilla
06972d6855
Fix a typo
2023-08-06 23:54:44 -03:00
Lactozilla
5eb7f09346
Add P_PlayerHasTeamFlag
2023-08-06 23:51:52 -03:00
Lactozilla
bdc364f19e
Add weapon_mobj_type and missile_mobj_type
2023-08-06 23:34:06 -03:00
Lactozilla
69944f1521
Properly replace MT_REDFLAG and MT_BLUEFLAG with the flags of the current teams
2023-08-06 21:48:46 -03:00
Lactozilla
b31afd6e6e
Fix a typo
2023-08-06 21:31:35 -03:00
Lactozilla
f3f9a0f4cb
Store teamnames in both upper and lower case
2023-08-06 21:30:03 -03:00
Lactozilla
f6f5dcef1c
Added P_MobjTouchingTeamBase, P_TeamHasFlagAtBase, sector.teambase
2023-08-06 21:13:00 -03:00
Lactozilla
0021fd1680
Add MFE_TEAMFLAG
2023-08-06 19:03:13 -03:00
Lactozilla
b0ebb24eb6
Fix a possible crash
2023-08-06 18:09:14 -03:00
Lactozilla
0450d2d914
Restore tmthing after a call to P_CheckPosition in G_CheckSpot
2023-08-06 17:46:45 -03:00
Lactozilla
d03d597963
Minor autobalance fix
2023-08-06 01:56:26 -03:00
Lactozilla
fa6327c83b
Add G_GetBestPerformingTeam, G_GetWorstPerformingTeam, G_GetMostAdvantagedTeam, and G_GetMostDisadvantagedTeam
2023-08-06 01:31:37 -03:00
Lactozilla
87e18d410c
Add P_GetTeamFlag and P_GetTeamFlagMapthing
2023-08-06 00:56:40 -03:00
Lactozilla
313f224311
Add teamscores to Lua
2023-08-06 00:34:01 -03:00
Lactozilla
fecf5616cc
Add gametype parameter to G_SetCustomExitVars and G_ExitLevel
2023-08-05 22:15:38 -03:00
Lactozilla
b9cab85df0
Allow replacing gametype data through SOC
...
Make other fixes
2023-08-05 22:01:50 -03:00
Lactozilla
f2bbc445a0
Implement adding new teams
2023-08-05 20:14:44 -03:00
Lactozilla
4a2f3a2b18
Make teams more customizable
2023-08-05 17:26:00 -03:00
Lactozilla
be4dc010b8
Fix flag capturing
2023-08-05 05:44:25 -03:00
Lactozilla
eaed781766
Correctly announce team flag name when capturing it
2023-08-05 05:39:37 -03:00
Lactozilla
e62c085e19
Custom teams WIP
2023-08-05 05:27:53 -03:00
Lactozilla
d0d1234d56
Add RANKINGS_ constants to INT_CONST
2023-08-05 02:54:38 -03:00
Lactozilla
52da591622
Update gametype_cons_t on gametype name changes
2023-08-05 02:50:54 -03:00
Lactozilla
f38f568b2d
Make gametype data available to Lua
2023-08-05 02:40:49 -03:00
Lactozilla
08c087f6f6
Make gametype struct and organize gametype data
2023-08-05 01:58:18 -03:00
Sal
9e72b78a24
Merge branch 'scale-mishap' into 'next'
...
Make UDMF scale compatible with ZDoom's spec
See merge request STJr/SRB2!2086
2023-08-04 20:05:35 +00:00
Sal
f11538c478
Make UDMF scale compatible with ZDoom's spec
2023-08-04 20:05:35 +00:00
Sal
be056af77e
Merge branch 'total-starts-at-record-score' into 'next'
...
Total score starts at record score
See merge request STJr/SRB2!2091
2023-08-04 20:05:17 +00:00
Sal
e2c6a3365f
Merge branch 'fix-demo-file-list-crash' into 'next'
...
Improved version checks for demo file lists
See merge request STJr/SRB2!2095
2023-08-04 20:05:12 +00:00
SteelT
6780f89574
Add missing param to G_CheckDemoExtraFiles in G_CheckDemoForError
2023-08-04 15:59:47 -04:00
Sally Coolatta
39175c6c70
Improved version checks for demo file lists
...
No longer relies on the demoversion global variable (which was incorrect for a couple instances, like ghosts), now we pass the version to the file list functions. Also don't set any demo global variables when checking a demo for valid files before playback. Also also, exit said file check function asap if its a title demo instead of doing it after we've already opened the file.
2023-08-04 14:36:56 -04:00
Sally Coolatta
33c7a930a7
Total score starts at record score
...
Means there's actually feedback for how much score you got in the current level.
2023-08-02 11:31:05 -04:00
Sal
0ce41f3e1d
Merge branch 'itallreturnstonothing' into 'next'
...
Handle empty music lump name on music change
See merge request STJr/SRB2!2090
2023-08-02 15:24:42 +00:00
spherallic
8990b83071
Handle empty/"-" music lump name on music change
2023-08-02 17:05:38 +02:00