Hub levels
This PR adds a Hub gametype, as well as a "Return to Hub" selection in the pause menu if a hub map exists.
New:
- Added the
Hubgametype - Added
HUBtype of level - Added to SOC:
-
DEFAULTHUBMAPforMAINCFG -
HUBMAPfor level headers
-
- Added to Lua:
-
GT_HUBgametype -
TOL_HUBtype of level -
hubmapfield tomapheaderinfo - Function
G_IsHubAvailable()- Returns a booelan.
- Global
defaulthubmap(number)- Cannot be set.
- Global
currenthubmap(number)- Set to a map number to change the current hub map.
- Setting to
0disables the hub. - Note that warping to an unlocked hub overwrites this.
- Setting to
- Set to a map number to change the current hub map.
-
hubmapenabled(boolean)
-
Edited by Lactozilla
