/dports/games/gnugo/gnugo-3.8/interface/ |
H A D | play_ascii.c | 505 gameinfo->to_move = OTHER_COLOR(gameinfo->to_move); in computer_move() 544 gameinfo->to_move = OTHER_COLOR(gameinfo->to_move); in do_move() 549 gameinfo->to_move = OTHER_COLOR(gameinfo->to_move); in do_move() 568 gameinfo->to_move = OTHER_COLOR(gameinfo->to_move); in do_pass() 607 gameinfo->handicap = place_fixed_handicap(gameinfo->handicap); in play_ascii() 652 if (gameinfo->computer_player == gameinfo->to_move) in do_play_ascii() 724 gameinfo->handicap = place_fixed_handicap(gameinfo->handicap); in do_play_ascii() 749 gameinfo->to_move = (gameinfo->handicap ? WHITE : BLACK); in do_play_ascii() 850 if (gameinfo->computer_player == gameinfo->to_move) in do_play_ascii() 857 if (gameinfo->computer_player == gameinfo->to_move) in do_play_ascii() [all …]
|
H A D | play_solo.c | 40 play_solo(Gameinfo *gameinfo, int moves) in play_solo() argument 75 gnugo_play_move(POS(i, j), gameinfo->to_move); in play_solo() 76 sgftreeAddPlay(&sgftree, gameinfo->to_move, i, j); in play_solo() 78 gameinfo->to_move = OTHER_COLOR(gameinfo->to_move); in play_solo() 89 gnugo_play_move(move, gameinfo->to_move); in play_solo() 93 gameinfo->to_move = OTHER_COLOR(gameinfo->to_move); in play_solo() 144 load_and_analyze_sgf_file(Gameinfo *gameinfo) in load_and_analyze_sgf_file() argument 151 next = gameinfo->to_move; in load_and_analyze_sgf_file() 152 sgftree = gameinfo->game_record; in load_and_analyze_sgf_file() 226 gameinfo->to_move == WHITE ? "W" : "B"); in load_and_score_sgf_file() [all …]
|
H A D | play_gmp.c | 40 play_gmp(Gameinfo *gameinfo, int simplified) in play_gmp() argument 55 if (gameinfo->computer_player == WHITE) in play_gmp() 57 else if (gameinfo->computer_player == BLACK) in play_gmp() 73 if (gameinfo->handicap == 0) in play_gmp() 87 gmp_startGame(ge, board_size, gameinfo->handicap, in play_gmp() 105 gameinfo->handicap = gmp_handicap(ge); in play_gmp() 122 gameinfo->handicap, komi); in play_gmp() 124 if (gameinfo->handicap) in play_gmp() 138 gameinfo->computer_player = mycolor; in play_gmp() 140 gameinfo->handicap, get_level(), chinese_rules); in play_gmp() [all …]
|
H A D | interface.h | 35 void play_ascii(SGFTree *tree, Gameinfo *gameinfo, 39 void play_gmp(Gameinfo *gameinfo, int simplified); 40 void play_solo(Gameinfo *gameinfo, int benchmark); 43 void load_and_analyze_sgf_file(Gameinfo *gameinfo); 44 void load_and_score_sgf_file(SGFTree *tree, Gameinfo *gameinfo,
|
H A D | main.c | 325 Gameinfo gameinfo; in main() local 368 gameinfo_clear(&gameinfo); in main() 525 gameinfo.handicap = requested_handicap; in main() 1057 gameinfo.game_record = sgftree; in main() 1107 play_solo(&gameinfo, benchmark); in main() 1120 gameinfo.to_move = mandated_color; in main() 1134 load_and_analyze_sgf_file(&gameinfo); in main() 1144 gameinfo.to_move = mandated_color; in main() 1161 gameinfo.to_move = mandated_color; in main() 1343 color = gameinfo.to_move; in main() [all …]
|
/dports/games/zdoom/zdoom-2.8.1/src/ |
H A D | gi.cpp | 46 gameinfo_t gameinfo; variable 110 gameinfo.key[gameinfo.key.Reserve(1)] = sc.String; \ 119 gameinfo.key = sc.String; \ 126 gameinfo.key = sc.Number; \ 158 gameinfo.key = false; \ 162 gameinfo.key = true; \ 191 gameinfo.order = 0; \ 198 gameinfo.key = sc.String; \ 249 gameinfo.Border = *b; in ParseGameInfo() 254 …&gameinfo.Border.tr, &gameinfo.Border.t, &gameinfo.Border.tl, &gameinfo.Border.r, &gameinfo.Border… in ParseGameInfo() [all …]
|
H A D | d_main.cpp | 845 tex = TexMan(gameinfo.PauseSign); in D_Display() 1236 if (gameinfo.gametype == GAME_Strife) in D_DoAdvanceDemo() 1245 if (gameinfo.advisoryTime) in D_DoAdvanceDemo() 1278 pagename = gameinfo.TitlePage; in D_DoAdvanceDemo() 1280 S_ChangeMusic (gameinfo.titleMusic, gameinfo.titleOrder, false); in D_DoAdvanceDemo() 1289 if (gameinfo.creditPages.Size() > 0) in D_DoAdvanceDemo() 2084 if (gameinfo.gametype != GAME_Hexen) in CheckCmdLine() 2106 if (gameinfo.flags & GI_MAPxx) in CheckCmdLine() 2295 gameinfo.gametype = iwad_info->gametype; in D_DoomMain() 2296 gameinfo.flags = iwad_info->flags; in D_DoomMain() [all …]
|
H A D | wi_stuff.cpp | 349 switch(gameinfo.gametype) in WI_LoadBackground() 353 if (!(gameinfo.flags & GI_MAPxx)) in WI_LoadBackground() 373 if (!(gameinfo.flags & GI_MAPxx)) in WI_LoadBackground() 411 lumpname = gameinfo.BorderFlat; in WI_LoadBackground() 1830 if (gameinfo.intermissioncounter) in WI_updateStats() 1846 if (gameinfo.intermissioncounter) in WI_updateStats() 1862 if (gameinfo.intermissioncounter) in WI_updateStats() 1878 if (gameinfo.intermissioncounter) in WI_updateStats() 1938 if (gameinfo.gametype & GAME_DoomChex) in WI_drawStats() 2045 S_ChangeMusic (gameinfo.intermissionMusic.GetChars(), gameinfo.intermissionOrder); in WI_Ticker() [all …]
|
H A D | v_blend.cpp | 119 V_AddBlend (RPART(gameinfo.pickupcolor)/255.f, GPART(gameinfo.pickupcolor)/255.f, in V_AddPlayerBlend() 120 BPART(gameinfo.pickupcolor)/255.f, cnt > 128 ? 0.5f : cnt / 255.f, blend); in V_AddPlayerBlend()
|
/dports/games/ecwolf/ecwolf-1.3.3-src/src/ |
H A D | wl_menu.cpp | 99 FString endString = gameinfo.QuitMessages[M_Random()%gameinfo.QuitMessages.Size()]; in MENU_LISTENER() 334 …BORDCOLOR = ColorMatcher.Pick(RPART(gameinfo.MenuColors[0]), GPART(gameinfo.MenuColors[0]), BPART(… in CreateMenus() 335 …BORD2COLOR = ColorMatcher.Pick(RPART(gameinfo.MenuColors[1]), GPART(gameinfo.MenuColors[1]), BPART… in CreateMenus() 336 …BORD3COLOR = ColorMatcher.Pick(RPART(gameinfo.MenuColors[2]), GPART(gameinfo.MenuColors[2]), BPART… in CreateMenus() 337 …BKGDCOLOR = ColorMatcher.Pick(RPART(gameinfo.MenuColors[3]), GPART(gameinfo.MenuColors[3]), BPART(… in CreateMenus() 338 …STRIPE = ColorMatcher.Pick(RPART(gameinfo.MenuColors[4]), GPART(gameinfo.MenuColors[4]), BPART(gam… in CreateMenus() 339 …STRIPEBG = ColorMatcher.Pick(RPART(gameinfo.MenuColors[5]), GPART(gameinfo.MenuColors[5]), BPART(g… in CreateMenus() 822 …VWB_Clear(ColorMatcher.Pick(RPART(gameinfo.MenuFadeColor), GPART(gameinfo.MenuFadeColor), BPART(ga… in CleanupControlPanel() 1039 …TOPBRDR = ColorMatcher.Pick(RPART(gameinfo.MessageColors[1]), GPART(gameinfo.MessageColors[1]), BP… in Message() 1040 …BOTBRDR = ColorMatcher.Pick(RPART(gameinfo.MessageColors[2]), GPART(gameinfo.MessageColors[2]), BP… in Message() [all …]
|
H A D | g_mapinfo.cpp | 553 GameInfo gameinfo; variable 594 gameinfo.Border.tl = sc->str; in CheckKey() 597 gameinfo.Border.t = sc->str; in CheckKey() 600 gameinfo.Border.tr = sc->str; in CheckKey() 603 gameinfo.Border.l = sc->str; in CheckKey() 606 gameinfo.Border.r = sc->str; in CheckKey() 609 gameinfo.Border.bl = sc->str; in CheckKey() 612 gameinfo.Border.b = sc->str; in CheckKey() 615 gameinfo.Border.br = sc->str; in CheckKey() 726 gameinfo.PsychedOffset = 0; in CheckKey() [all …]
|
H A D | wl_game.cpp | 310 if(!gameinfo.Border.issolid) in DrawPlayBorderSides() 314 TexMan(gameinfo.Border.tl), TexMan(gameinfo.Border.t), TexMan(gameinfo.Border.tr), in DrawPlayBorderSides() 315 TexMan(gameinfo.Border.l), TexMan(gameinfo.Border.r), in DrawPlayBorderSides() 316 TexMan(gameinfo.Border.bl), TexMan(gameinfo.Border.b), TexMan(gameinfo.Border.br) in DrawPlayBorderSides() 318 const int offset = gameinfo.Border.offset; in DrawPlayBorderSides() 339 …ColorMatcher.Pick(RPART(gameinfo.Border.topcolor), GPART(gameinfo.Border.topcolor), BPART(gameinfo… in DrawPlayBorderSides() 340 …ColorMatcher.Pick(RPART(gameinfo.Border.bottomcolor), GPART(gameinfo.Border.bottomcolor), BPART(ga… in DrawPlayBorderSides() 341 …ColorMatcher.Pick(RPART(gameinfo.Border.highlightcolor), GPART(gameinfo.Border.highlightcolor), BP… in DrawPlayBorderSides() 695 if (gameinfo.GameOverPic.IsNotEmpty() && players[0].lives == -1) in Died() 702 if(gameinfo.DeathTransition == GameInfo::TRANSITION_Fizzle) in Died() [all …]
|
H A D | g_intermission.cpp | 104 VL_ReadPalette(gameinfo.GamePalette); in ShowImage() 137 background = TexMan.CheckForTexture(gameinfo.TitlePage, FTexture::TEX_Any); in ShowImage() 138 if(!gameinfo.TitlePalette.IsEmpty()) in ShowImage() 139 VL_ReadPalette(gameinfo.TitlePalette); in ShowImage() 177 screen->DrawText(BigFont, gameinfo.FontColors[GameInfo::DIALOG], in DrawCastName() 357 VL_ReadPalette(gameinfo.GamePalette); in ShowIntermission() 365 VL_ReadPalette(gameinfo.GamePalette); in ShowIntermission()
|
H A D | wl_inter.cpp | 581 StartCPMusic (gameinfo.IntermissionMusic); in LevelCompleted() 626 StartCPMusic (gameinfo.VictoryMusic); in Victory() 728 …ColorMatcher.Pick(RPART(gameinfo.PsychedColors[0]), GPART(gameinfo.PsychedColors[0]), BPART(gamein… in PreloadUpdate() 729 …ColorMatcher.Pick(RPART(gameinfo.PsychedColors[1]), GPART(gameinfo.PsychedColors[1]), BPART(gamein… in PreloadUpdate() 733 double y = 101 + gameinfo.PsychedOffset; in PreloadUpdate() 809 FFont *font = V_GetFont(gameinfo.HighScoresFont); in DrawHighScores() 838 US_Print (font, s->name, gameinfo.FontColors[GameInfo::HIGHSCORES]); in DrawHighScores() 861 US_Print (font, buffer, gameinfo.FontColors[GameInfo::HIGHSCORES]); in DrawHighScores() 869 US_Print (font, buffer, gameinfo.FontColors[GameInfo::HIGHSCORES]); in DrawHighScores() 916 StartCPMusic (gameinfo.ScoresMusic); in CheckHighScore() [all …]
|
H A D | wl_main.cpp | 143 playerClass = ClassDef::FindClass(gameinfo.PlayerClasses[0]); in NewGame() 363 if(gameinfo.SignonLump.IsEmpty()) in DrawStartupConsole() 366 CA_CacheScreen(TexMan(gameinfo.SignonLump)); in DrawStartupConsole() 407 VL_ReadPalette(gameinfo.GamePalette); in InitGame() 703 if(gameinfo.AdvisoryPic.IsEmpty()) in PG13() 706 …BYTE color = ColorMatcher.Pick(RPART(gameinfo.AdvisoryColor), GPART(gameinfo.AdvisoryColor), BPART… in PG13() 709 FTexture *tex = TexMan(gameinfo.AdvisoryPic); in PG13() 740 …US_Print (BigFont, language["REGNOTICE_TITLE"], gameinfo.FontColors[GameInfo::MENU_HIGHLIGHTSELECT… in NonShareware() 745 US_Print (BigFont, language["REGNOTICE_MESSAGE"], gameinfo.FontColors[GameInfo::MENU_SELECTION]); in NonShareware() 782 StartCPMusic(gameinfo.TitleMusic); in DemoLoop() [all …]
|
/dports/games/gnugo/gnugo-3.8/engine/ |
H A D | interface.c | 209 gameinfo_clear(Gameinfo *gameinfo) in gameinfo_clear() argument 212 gameinfo->handicap = 0; in gameinfo_clear() 213 gameinfo->to_move = BLACK; in gameinfo_clear() 214 sgftree_clear(&gameinfo->game_record); in gameinfo_clear() 226 gameinfo_print(Gameinfo *gameinfo) in gameinfo_print() argument 235 if (gameinfo->computer_player == WHITE) in gameinfo_print() 276 gameinfo->handicap = handicap; in gameinfo_play_sgftree_rot() 287 if (gameinfo->handicap == 0) in gameinfo_play_sgftree_rot() 365 gameinfo->to_move = next; in gameinfo_play_sgftree_rot() 379 gameinfo->to_move = next; in gameinfo_play_sgftree_rot() [all …]
|
/dports/games/widelands/widelands-build21/src/network/ |
H A D | network_lan_promotion.cc | 390 memset(&gameinfo, 0, sizeof(gameinfo)); in LanGamePromoter() 391 strncpy(gameinfo.magic, "GAME", sizeof(gameinfo.magic)); in LanGamePromoter() 396 strncpy(gameinfo.gameversion, build_id().c_str(), sizeof(gameinfo.gameversion)); in LanGamePromoter() 397 gameinfo.gameversion[sizeof(gameinfo.gameversion) - 1] = '\0'; in LanGamePromoter() 399 strncpy(gameinfo.hostname, boost::asio::ip::host_name().c_str(), sizeof(gameinfo.hostname)); in LanGamePromoter() 400 gameinfo.hostname[sizeof(gameinfo.hostname) - 1] = '\0'; in LanGamePromoter() 407 broadcast(&gameinfo, sizeof(gameinfo), kWidelandsLanDiscoveryPort); in ~LanGamePromoter() 414 if (!broadcast(&gameinfo, sizeof(gameinfo), kWidelandsLanDiscoveryPort)) { in run() 430 if (!send(&gameinfo, sizeof(gameinfo), addr)) { in run() 438 strncpy(gameinfo.map, map, sizeof(gameinfo.map)); in set_map() [all …]
|
/dports/games/odamex/odamex-src-0.7.0/client/src/ |
H A D | d_main.cpp | 443 if (gameinfo.flags & GI_MAPxx) in D_DoAdvanceDemo() 449 pagename = gameinfo.titlePage; in D_DoAdvanceDemo() 451 S_StartMusic(gameinfo.titleMusic); in D_DoAdvanceDemo() 461 pagename = gameinfo.creditPage1; in D_DoAdvanceDemo() 471 if ((gameinfo.flags & GI_MAPxx) || (gameinfo.flags & GI_MENUHACK_RETAIL)) in D_DoAdvanceDemo() 473 if (gameinfo.flags & GI_MAPxx) in D_DoAdvanceDemo() 484 pagename = gameinfo.creditPage1; in D_DoAdvanceDemo() 486 pagename = gameinfo.creditPage2; in D_DoAdvanceDemo() 497 pagename = gameinfo.creditPage2; in D_DoAdvanceDemo() 530 if (gameinfo.flags & GI_PAGESARERAW) in D_DoAdvanceDemo() [all …]
|
/dports/games/quadra/quadra-1.3.0/server/ |
H A D | qserv.pl | 159 my $gameinfo; 166 $gameinfo = do { 172 $gameinfo =~ m/(.*)/s; 173 $gameinfo = $1; 174 $gameinfo = eval('my '.$gameinfo); 176 $games{$gamefile} = $gameinfo;
|
/dports/games/pysolfc/PySolFC-2.14.1/pysollib/ |
H A D | layout.py | 294 decks = self.game.gameinfo.decks 295 suits = len(self.game.gameinfo.suits) + bool(self.game.gameinfo.trumps) 341 decks = self.game.gameinfo.decks 342 suits = len(self.game.gameinfo.suits) + bool(self.game.gameinfo.trumps) 415 decks = self.game.gameinfo.decks 416 suits = len(self.game.gameinfo.suits) + bool(self.game.gameinfo.trumps) 488 decks = self.game.gameinfo.decks 489 suits = len(self.game.gameinfo.suits) + bool(self.game.gameinfo.trumps) 567 suits = len(self.game.gameinfo.suits) + bool(self.game.gameinfo.trumps) 659 suits = len(self.game.gameinfo.suits) + bool(self.game.gameinfo.trumps) [all …]
|
/dports/games/quadra/quadra-1.3.0/source/ |
H A D | game.cpp | 116 gameinfo=NULL; in Game() 181 gameinfo=NULL; in Game() 240 if(gameinfo) in ~Game() 241 delete gameinfo; in ~Game() 765 if(gameinfo) in sendgameinfo() 766 delete gameinfo; in sendgameinfo() 774 delete gameinfo; in sendgameinfo() 775 gameinfo = NULL; in sendgameinfo() 781 gameinfo->send(); in sendgameinfo() 786 if(gameinfo) { in stepgameinfo() [all …]
|
/dports/games/libretro-beetle_ngp/beetle-ngp-libretro-74cc0d8/ |
H A D | libretro.c | 323 static void MDFNGI_reset(MDFNGI *gameinfo) in MDFNGI_reset() argument 326 gameinfo->fps = 0; in MDFNGI_reset() 327 gameinfo->multires = false; /* Multires possible? */ in MDFNGI_reset() 329 gameinfo->lcm_width = 160; in MDFNGI_reset() 330 gameinfo->lcm_height = 152; in MDFNGI_reset() 331 gameinfo->dummy_separator = NULL; in MDFNGI_reset() 333 gameinfo->nominal_width = 160; in MDFNGI_reset() 334 gameinfo->nominal_height = 152; in MDFNGI_reset() 336 gameinfo->fb_width = 160; in MDFNGI_reset() 337 gameinfo->fb_height = 152; in MDFNGI_reset() [all …]
|
/dports/games/pvpgn/pvpgn-1.8.5/src/bnetd/ |
H A D | game_conv.c | 846 extern int game_parse_info(t_game * game, char const * gameinfo) in game_parse_info() argument 875 if (!gameinfo) in game_parse_info() 972 (!strlen(gameinfo))) in game_parse_info() 985 if (!strlen(gameinfo)) in game_parse_info() 991 difficulty[0] = gameinfo[0]; in game_parse_info() 999 game_set_description(game,&gameinfo[1]); in game_parse_info() 1034 if (!strlen(gameinfo)) in game_parse_info() 1040 if (strlen(gameinfo) < 0xf + 2 + 1 + 2 + 4) { in game_parse_info() 1044 pstr = gameinfo + 9; in game_parse_info() 1059 if (!(save = xstrdup(gameinfo))) in game_parse_info() [all …]
|
/dports/games/zdoom/zdoom-2.8.1/src/menu/ |
H A D | readthis.cpp | 93 tex = TexMan[gameinfo.infoPages[mScreen-1].GetChars()]; in Drawer() 98 prevpic = TexMan[gameinfo.infoPages[mScreen-2].GetChars()]; in Drawer() 125 …if ((level.info != NULL && level.info->F1Pic.Len() != 0) || mScreen > int(gameinfo.infoPages.Size(… in MenuEvent()
|
/dports/games/odamex/odamex-src-0.7.0/common/ |
H A D | d_main.cpp | 597 gameinfo = RetailGameInfo; in D_ConfigureGameInfo() 603 gameinfo = CommercialGameInfo; in D_ConfigureGameInfo() 614 gameinfo = CommercialBFGGameInfo; in D_ConfigureGameInfo() 619 gameinfo = CommercialGameInfo; in D_ConfigureGameInfo() 649 gameinfo = RetailGameInfo; in D_ConfigureGameInfo() 656 gameinfo = RetailBFGGameInfo; in D_ConfigureGameInfo() 661 gameinfo = RetailGameInfo; in D_ConfigureGameInfo() 668 gameinfo = RegisteredGameInfo; in D_ConfigureGameInfo() 674 gameinfo = SharewareGameInfo; in D_ConfigureGameInfo() 681 gameinfo = SharewareGameInfo; in D_ConfigureGameInfo() [all …]
|