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
Sal
b7443cfa05
Merge branch 'lawofattraction' into 'next'
...
Fix ring attraction and homing attack math errors (resolves #1045 , #1001 )
Closes #1001 and #1045
See merge request STJr/SRB2!2033
2023-08-02 14:54:33 +00:00
Sal
cdf5890c5d
Merge branch 'mi-lua-fixes' into 'next'
...
Lua fixes
See merge request STJr/SRB2!2085
2023-08-02 00:20:32 +00:00
Sal
1f799257a1
Merge branch 'extras-levelselect-fix' into 'next'
...
Extras level select fix
See merge request STJr/SRB2!2084
2023-08-02 00:20:21 +00:00
Sal
0dcf5368e5
Merge branch 'supersign' into 'next'
...
Make Both Sign State and Sprite2 Disable Models (Solves #1077 )
See merge request STJr/SRB2!2089
2023-08-02 00:20:08 +00:00
SMS Alfredo
24cad83287
Make both sign state and sprite2 disable models
2023-08-01 17:43:39 -05:00
Sal
d33358eed0
Merge branch 'recordscore-fix' into 'next'
...
Don't set recordscore to 0 in G_PlayerFinishLevel
See merge request STJr/SRB2!2087
2023-08-01 19:35:47 +00:00
SteelT
fd4c50589d
Don't set recordscore to 0 in G_PlayerFinishLevel
...
Fixes the recordscore being reset on intermission start
2023-08-01 15:23:14 -04:00
Monster Iestyn
c9efaf3a1a
fix warping from SP pause level select breaking if game was started with no save slot (such as from extras menu)
2023-08-01 17:52:06 +01:00