/dports/games/ufoai/ufoai-2.5-source/src/server/ |
H A D | sv_mapcycle.cpp | 47 gameType = mapcycle->next->type; in SV_NextMapcycle() 53 gameType = mapcycleList->type; in SV_NextMapcycle() 69 gameType = mapcycle->next->type; in SV_NextMapcycle() 75 gameType = mapcycleList->type; in SV_NextMapcycle() 85 gameType = nullptr; in SV_NextMapcycle() 98 gameType = mapcycleList->type; in SV_NextMapcycle() 112 gameType = nullptr; in SV_NextMapcycle() 123 if (gameType && gameType[0] != '\0') { in SV_NextMapcycle() 203 char map[MAX_VAR], gameType[MAX_VAR]; in SV_ParseMapcycle() local 223 Q_strncpyz(gameType, token, sizeof(gameType)); in SV_ParseMapcycle() [all …]
|
/dports/games/wargus/wargus-3.2.0/scripts/ |
H A D | singleplayer.lua | 24 local gameType = tonumber(string.match(ARGS,"type=([^,]+)")) 42 if gameType == 1 then 43 gameType = SettingsGameTypeMachineVsMachine 44 elseif gameType == 2 then 45 gameType = SettingsGameTypeMachineVsMachineTraining 47 gameType = SettingsGameTypeMapDefault 52 GameSettings.GameType = gameType 54 if gameType ~= SettingsGameTypeMapDefault then 130 GameSettings.GameType = gameType
|
/dports/games/jin/jin-2.14.1/src/free/jin/board/fics/ |
H A D | FreechessBoardManager.java | 146 int gameType = game.getGameType(); in pluginUIActivated() local 149 if (gameType == Game.OBSERVED_GAME){ in pluginUIActivated() 155 else if (gameType == Game.MY_GAME){ in pluginUIActivated() 174 int gameType = game.getGameType(); in gameStarted() local 177 if ((gameType == Game.OBSERVED_GAME) && (primaryObservedGameID == null)) in gameStarted() 179 else if ((gameType == Game.MY_GAME) && (primaryPlayedGameID == null)) in gameStarted() 194 int gameType = game.getGameType(); in gameEnded() local 197 if ((gameType == Game.OBSERVED_GAME) && gameID.equals(primaryObservedGameID)) in gameEnded() 199 else if ((gameType == Game.MY_GAME) && gameID.equals(primaryPlayedGameID)) in gameEnded()
|
/dports/games/jin/jin-2.14.1/src/free/jin/ |
H A D | Game.java | 153 public Game(int gameType, Position initialPosition, int pliesSinceStart, String whiteName, in Game() argument 159 setGameType(gameType); in Game() 215 public Game(int gameType, Position initialPosition, int pliesSinceStart, String whiteName, in Game() argument 220 this(gameType, initialPosition, pliesSinceStart, whiteName, blackName, time, inc, time, inc, in Game() 255 public void setGameType(int gameType){ in setGameType() argument 256 switch(gameType){ in setGameType() 262 throw new IllegalArgumentException("Unknown game type: "+gameType); in setGameType() 265 props.setIntegerProperty("gameType", gameType); in setGameType() 719 int gameType = getGameType(); in isUserAllowedToMovePieces() local 720 if (gameType==OBSERVED_GAME) in isUserAllowedToMovePieces() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/ultima/nuvie/ |
H A D | nuvie.cpp | 76 uint8 gameType; in initialize() local 86 gameType = NUVIE_GAME_U6; in initialize() 89 gameType = NUVIE_GAME_MD; in initialize() 92 gameType = NUVIE_GAME_SE; in initialize() 138 assignGameConfigValues(gameType); in initialize() 141 if (checkGameDir(gameType) == false) in initialize() 152 _script = new Script(_config, gui, _soundManager, gameType); in initialize() 190 void NuvieEngine::assignGameConfigValues(uint8 gameType) { in assignGameConfigValues() argument 193 _config->set("config/GameType", gameType); in assignGameConfigValues() 195 switch (gameType) { in assignGameConfigValues() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/gob/detection/ |
H A D | detection.cpp | 85 if (game->gameType == Gob::kGameTypeOnceUponATime) { in fallbackDetect() 110 Gob::OnceUponATime gameType = Gob::kOnceUponATimeInvalid; in detectOnceUponATime() local 124 gameType = Gob::kOnceUponATimeAbracadabra; in detectOnceUponATime() 137 gameType = Gob::kOnceUponATimeBabaYaga; in detectOnceUponATime() 163 if ((gameType == Gob::kOnceUponATimeInvalid) || (platform == Gob::kOnceUponATimePlatformInvalid)) { in detectOnceUponATime() 165 (int)gameType, (int)platform); in detectOnceUponATime() 169 return &Gob::fallbackOnceUpon[gameType][platform]; in detectOnceUponATime()
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/gob/detection/ |
H A D | detection.cpp | 74 if (game->gameType == Gob::kGameTypeOnceUponATime) { in fallbackDetect() 99 Gob::OnceUponATime gameType = Gob::kOnceUponATimeInvalid; in detectOnceUponATime() local 113 gameType = Gob::kOnceUponATimeAbracadabra; in detectOnceUponATime() 126 gameType = Gob::kOnceUponATimeBabaYaga; in detectOnceUponATime() 152 if ((gameType == Gob::kOnceUponATimeInvalid) || (platform == Gob::kOnceUponATimePlatformInvalid)) { in detectOnceUponATime() 154 (int)gameType, (int)platform); in detectOnceUponATime() 158 return &Gob::fallbackOnceUpon[gameType][platform]; in detectOnceUponATime() 214 _gameType = gd->gameType; in initGame()
|
/dports/games/jin/jin-2.14.1/src/free/freechess/ |
H A D | Style12Struct.java | 114 int gameNumber, String whiteName, String blackName, int gameType, in Style12Struct() argument 159 switch(gameType){ in Style12Struct() 165 throw new IllegalArgumentException("Unknown game type: "+gameType); in Style12Struct() 182 setIntegerProperty("GameType", gameType); in Style12Struct() 235 int gameType; in parseStyle12Line() local 239 gameType = ISOLATED_BOARD; in parseStyle12Line() 243 gameType = OBSERVED_GAME; in parseStyle12Line() 248 gameType = MY_GAME; in parseStyle12Line() 252 gameType = OBSERVED_GAME; in parseStyle12Line() 256 gameType = MY_GAME; in parseStyle12Line() [all …]
|
/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/game/ |
H A D | game_io.cpp | 57 , gameType( 0 ) in HeaderSAV() 64 , gameType( gameType_ ) in HeaderSAV() 77 int gameType; member 83 return msg << hdr.status << hdr.info << hdr.gameType; in operator <<() 88 return msg >> hdr.status >> hdr.info >> hdr.gameType; in operator >>() 172 fileGameType = header.gameType; in Load() 301 fileGameType = header.gameType; in LoadSAV2FileInfo() 322 std::string Game::GetSaveFileExtension( const int gameType ) in GetSaveFileExtension() argument 324 if ( gameType & Game::TYPE_STANDARD ) in GetSaveFileExtension() 326 else if ( gameType & Game::TYPE_CAMPAIGN ) in GetSaveFileExtension() [all …]
|
/dports/games/dunelegacy/dunelegacy-0.96.4/src/ |
H A D | GameInitSettings.cpp | 31 …: gameType(GameType::Invalid), houseID(HOUSE_INVALID), mission(0), alreadyPlayedRegions(0), multip… in GameInitSettings() 36 …: gameType(GameType::Campaign), houseID(newHouseID), mission(1), alreadyPlayedRegions(0), alreadyS… in GameInitSettings() 51 …: gameType(GameType::Skirmish), houseID(newHouseID), mission(newMission), alreadyPlayedRegions(0),… in GameInitSettings() 57 …: gameType(GameType::CustomGame), houseID(HOUSE_INVALID), mission(0), alreadyPlayedRegions(0), alr… in GameInitSettings() 62 …: gameType(GameType::CustomMultiplayer), houseID(HOUSE_INVALID), mission(0), alreadyPlayedRegions(… in GameInitSettings() 67 …: gameType(GameType::LoadSavegame), houseID(HOUSE_INVALID), mission(0), alreadyPlayedRegions(0), a… in GameInitSettings() 73 …: gameType(GameType::LoadMultiplayer), houseID(HOUSE_INVALID), mission(0), alreadyPlayedRegions(0)… in GameInitSettings() 79 gameType = static_cast<GameType>(stream.readSint8()); in GameInitSettings() 114 stream.writeSint8(static_cast<Sint8>(gameType)); in save()
|
/dports/games/xblast/xblast-2.10.4/ |
H A D | menu.c | 42 static XBAtom gameType; variable 90 gameType = atomLocal; in ButtonStartLocal() 91 return CreateLocalGameMenu (&gameType); in ButtonStartLocal() 100 gameType = atomCentral; in ButtonStartCentral() 101 return CreateCentralGameMenu (&gameType); in ButtonStartCentral() 110 gameType = atomServer; in ButtonCreateNet() 111 return CreateStartNetGameMenu (&gameType); in ButtonCreateNet() 120 gameType = atomClient; in ButtonJoinNet() 121 return CreateJoinNetGameMenu (&gameType); in ButtonJoinNet() 142 gameType = ATOM_INVALID; in CreateMainMenu()
|
/dports/games/kreversi/kreversi-21.12.3/src/ |
H A D | kexthighscore.h | 30 uint gameType(); 35 void setGameType(uint gameType); 291 virtual QString gameTypeLabel(uint gameType, LabelType type) const; 301 virtual void convertLegacy(uint gameType) { Q_UNUSED(gameType); } in convertLegacy() argument
|
H A D | highscores.cpp | 40 QString ExtManager::gameTypeLabel(uint gameType, LabelType type) const in gameTypeLabel() argument 44 return QString::number(gameType); in gameTypeLabel() 46 return m_typeLabels.at(gameType); in gameTypeLabel()
|
/dports/games/dunelegacy/dunelegacy-0.96.4/include/INIMap/ |
H A D | INIMap.h | 43 …INIMap(GameType gameType, const std::string& mapname, const std::string& mapdata = "") : mapname(m… in mapname() 45 if(gameType == GameType::Campaign || gameType == GameType::Skirmish) { in mapname() 59 } else if(gameType == GameType::CustomGame || gameType == GameType::CustomMultiplayer) { in mapname()
|
/dports/games/rlvm/rlvm-release-0.14-77-gfabf134a/test/Air_SE/ |
H A D | Air_lib.lua | 16 function Air:installMainMenuHandler (gameType) 48 if gameType == "DREAM" then 50 elseif gameType == "SUMMER" then 52 elseif gameType == "AIR" then
|
/dports/games/avp/avp-20170505/src/avp/win95/frontend/ |
H A D | avp_mp_config.h | 36 int GetCustomMultiplayerLevelIndex(char* name,int gameType); 38 char* GetCustomMultiplayerLevelName(int index,int gameType); 40 int GetLocalMultiplayerLevelIndex(int index,char* customLevelName,int gameType);
|
/dports/games/dhewm3/dhewm3-1.5.1/neo/game/ |
H A D | MultiplayerGame.cpp | 208 if ( gameLocal.gameType == GAME_TDM ) { in SpawnPlayer() 328 if ( gameLocal.gameType == GAME_TDM ) { in UpdatePlayerRanks() 395 if ( gameLocal.gameType == GAME_TDM ) { in UpdateScoreboard() 604 if ( gameLocal.gameType == GAME_TDM ) { in EnoughClientsToPlay() 626 if ( gameLocal.gameType == GAME_TDM ) { in AllPlayersReady() 794 if ( gameLocal.gameType != GAME_TDM ) { in FragLeader() 1331 lastGameType = gameLocal.gameType; in Run() 1482 if ( gameLocal.gameType == GAME_TDM ) { in UpdateMainGui() 2334 gameLocal.gameType == GAME_TDM ) { in CheckRespawns() 2873 switch ( gameLocal.gameType ) { in CheckAbortGame() [all …]
|
/dports/games/hedgewars-server/hedgewars-src-1.0.0/QTfrontend/ |
H A D | game.cpp | 69 gameType = gtNone; in HWGame() 81 switch (gameType) in onClientDisconnect() 110 switch (gameType) in commonConfig() 402 switch (gameType) in ParseMessage() 667 lastGameType = gameType; in PlayDemo() 691 gameType = gtLocal; in PlayOfficialServerDemo() 702 gameType = gtNet; in StartNet() 713 gameType = gtLocal; in StartLocal() 724 gameType = gtQLocal; in StartQuick() 738 gameType = gtTraining; in StartTraining() [all …]
|
/dports/games/hedgewars/hedgewars-src-1.0.0/QTfrontend/ |
H A D | game.cpp | 69 gameType = gtNone; in HWGame() 81 switch (gameType) in onClientDisconnect() 110 switch (gameType) in commonConfig() 402 switch (gameType) in ParseMessage() 667 lastGameType = gameType; in PlayDemo() 691 gameType = gtLocal; in PlayOfficialServerDemo() 702 gameType = gtNet; in StartNet() 713 gameType = gtLocal; in StartLocal() 724 gameType = gtQLocal; in StartQuick() 738 gameType = gtTraining; in StartTraining() [all …]
|
/dports/games/bzflag-server/bzflag-2.4.22/src/bzflag/ |
H A D | WorldBuilder.cxx | 181 if (world->gameType == ClassicCTF) in unpack() 217 uint16_t gameType, gameOptions, maxPlayers, maxShots, maxFlags; in unpackGameSettings() local 222 buf = nboUnpackUShort(buf, gameType); in unpackGameSettings() 223 setGameType(short(gameType)); in unpackGameSettings() 295 void WorldBuilder::setGameType(short gameType) in setGameType() argument 297 world->gameType = gameType; in setGameType()
|
/dports/games/bzflag/bzflag-2.4.22/src/bzflag/ |
H A D | WorldBuilder.cxx | 181 if (world->gameType == ClassicCTF) in unpack() 217 uint16_t gameType, gameOptions, maxPlayers, maxShots, maxFlags; in unpackGameSettings() local 222 buf = nboUnpackUShort(buf, gameType); in unpackGameSettings() 223 setGameType(short(gameType)); in unpackGameSettings() 295 void WorldBuilder::setGameType(short gameType) in setGameType() argument 297 world->gameType = gameType; in setGameType()
|
/dports/games/ksnakeduel/ksnakeduel-21.12.3/src/ |
H A D | tron.cpp | 64 if (Settings::gameType() == Settings::EnumGameType::PlayerVSPlayer) in loadSettings() 124 if (Settings::gameType() == Settings::EnumGameType::Snake) in reset() 139 if (Settings::gameType() != Settings::EnumGameType::Snake) in reset() 183 if (Settings::gameType() == Settings::EnumGameType::Snake) in startGame() 229 if (Settings::gameType() != Settings::EnumGameType::Snake) in newObstacle() 330 if (Settings::gameType() != Settings::EnumGameType::Snake) { in paintEvent() 366 if (Settings::gameType() == Settings::EnumGameType::PlayerVSPlayer) { in paintEvent() 510 if (Settings::gameType() == Settings::EnumGameType::Snake) in doMove() 678 if (Settings::gameType() != Settings::EnumGameType::Snake) in getWinner()
|
/dports/games/maxr/maxr-0.2.9/src/ui/graphical/menu/windows/windowgamesettings/ |
H A D | gamesettings.cpp | 256 gameType (eGameSettingsGameType::Simultaneous), in cGameSettings() 275 gameType (other.gameType), in cGameSettings() 295 gameType = other.gameType; in operator =() 377 return gameType; in getGameType() 383 std::swap (gameType, value); in setGameType() 384 if (gameType != value) gameTypeChanged(); in setGameType() 517 message.pushInt32 (toUnderlyingType (gameType)); in pushInto()
|
/dports/games/jin/jin-2.14.1/src/free/jin/board/icc/ |
H A D | ChessclubBoardManager.java | 82 int gameType = game.getGameType(); in pluginUIActivated() local 87 if ((myGamesCount > 1) && (gameType == Game.MY_GAME)) in pluginUIActivated() 89 else if (gameType != Game.ISOLATED_BOARD) in pluginUIActivated()
|
/dports/games/legend-of-edgar/edgar-1.34/src/system/ |
H A D | record.c | 52 game.gameType = REPLAYING; in setReplayData() 97 game.gameType = RECORDING; in setRecordData() 213 void flushBuffer(int gameType) in flushBuffer() argument 215 if (gameType == RECORDING) in flushBuffer()
|