Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/gamesetup/gamesetup.js
Show All 14 Lines | |||||
/** | /** | ||||
* Whether this is a single- or multiplayer match. | * Whether this is a single- or multiplayer match. | ||||
*/ | */ | ||||
const g_IsNetworked = Engine.HasNetClient(); | const g_IsNetworked = Engine.HasNetClient(); | ||||
/** | /** | ||||
* Is this user in control of game settings (i.e. is a network server, or offline player). | * Is this user in control of game settings (i.e. is a network server, or offline player). | ||||
*/ | */ | ||||
const g_IsController = !g_IsNetworked || Engine.HasNetServer(); | const g_IsController = !g_IsNetworked || Engine.IsNetController(); | ||||
/** | /** | ||||
* Central data storing all settings relevant to the map generation and simulation. | * Central data storing all settings relevant to the map generation and simulation. | ||||
*/ | */ | ||||
var g_GameAttributes = {}; | var g_GameAttributes = {}; | ||||
/** | /** | ||||
* Remembers which clients are assigned to which player slots and whether they are ready. | * Remembers which clients are assigned to which player slots and whether they are ready. | ||||
Show All 20 Lines |
Wildfire Games · Phabricator