Skip to content

Draft: Gametype refactor

Lactozilla requested to merge gametype-refactor into next

Describe the changes here later (it's a lot)

Relevant commits done for Lua:
f38f568b (Make gametype data available to Lua)
d0d1234d (Add RANKINGS_ constants to INT_CONST)
f2bbc445 (Implement adding new teams)
fecf5616 (Add gametype parameter to G_SetCustomExitVars and G_ExitLevel)
313f2243 (Add teamscores to Lua)
87e18d41 (Add P_GetTeamFlag and P_GetTeamFlagMapthing)
fa6327c8 (Add G_GetBestPerformingTeam, G_GetWorstPerformingTeam, G_GetMostAdvantagedTeam, and G_GetMostDisadvantagedTeam)
0021fd16 (Add MFE_TEAMFLAG)
f6f5dcef (Added P_MobjTouchingTeamBase, P_TeamHasFlagAtBase, sector.teambase)
bdc364f1 (Add weapon_mobj_type and missile_mobj_type)
5eb7f093 (Add P_PlayerHasTeamFlag)
f493e4aa (Add G_FindPlayerStart, G_FindMatchStart, and G_FindTeamStart to Lua)
82f5c42e (Add playerstarts, matchstarts, teamstarts to Lua)
fac87627 (Implement MFE_TEAMITEM)
8728ed1e (Add PlayerRespawn hook; this was later renamed to PlayerSpawnPoint)

Relevant changes done for SOC:
d0d1234d (Add RANKINGS_ constants to INT_CONST)
b9cab85d (Allow replacing gametype data through SOC)
bdc364f1 (Add weapon_mobj_type and missile_mobj_type)
f2bbc445 (Implement adding new teams)

Edited by Lactozilla

Merge request reports