Home
last modified time | relevance | path

Searched refs:game_file (Results 1 – 25 of 27) sorted by relevance

12

/dports/games/atanks/atanks-6.5/src/
H A Dfiles.cpp46 FILE* game_file = fopen(path_buf, "w"); in Save_Game() local
47 if (!game_file) in Save_Game()
51 fprintf(game_file, "GLOBAL\n"); in Save_Game()
57 fprintf(game_file, "***\n"); in Save_Game()
60 fprintf(game_file, "ENVIRONMENT\n"); in Save_Game()
65 fprintf(game_file, "***\n"); in Save_Game()
68 fprintf(game_file, "PLAYERS\n"); in Save_Game()
79 fprintf(game_file, "***EOF***\n"); in Save_Game()
81 fclose(game_file); in Save_Game()
133 if (!game_file) in Load_Game()
[all …]
/dports/emulators/dolphin-emu/dolphin-3152428/Source/Core/UICommon/
H A DGameFileCache.cpp167 bool GameFileCache::UpdateAdditionalMetadata(std::shared_ptr<GameFile>* game_file) in UpdateAdditionalMetadata() argument
169 const bool xml_metadata_changed = (*game_file)->XMLMetadataChanged(); in UpdateAdditionalMetadata()
170 const bool wii_banner_changed = (*game_file)->WiiBannerChanged(); in UpdateAdditionalMetadata()
171 const bool custom_banner_changed = (*game_file)->CustomBannerChanged(); in UpdateAdditionalMetadata()
173 (*game_file)->DownloadDefaultCover(); in UpdateAdditionalMetadata()
175 const bool default_cover_changed = (*game_file)->DefaultCoverChanged(); in UpdateAdditionalMetadata()
176 const bool custom_cover_changed = (*game_file)->CustomCoverChanged(); in UpdateAdditionalMetadata()
187 std::shared_ptr<GameFile> copy = std::make_shared<GameFile>(**game_file); in UpdateAdditionalMetadata()
199 *game_file = std::move(copy); in UpdateAdditionalMetadata()
H A DGameFileCache.h55 bool UpdateAdditionalMetadata(std::shared_ptr<GameFile>* game_file);
/dports/games/scummvm/scummvm-2.5.1/engines/glk/jacl/
H A Djpp.cpp39 extern char game_file[];
78 inputFile = File::open(game_file); in jpp()
85 sprintf(error_buffer, CANT_OPEN_SOURCE, game_file); in jpp()
99 strcpy(processed_file, game_file); in jpp()
129 if (process_file(game_file, (const char *) NULL) == FALSE) { in jpp()
H A Dutils.cpp39 extern char game_file[];
115 strcpy(game_file, full_path); in create_paths()
144 sprintf(temp_buffer, "%c%s", DIR_SEPARATOR, game_file); in create_paths()
146 sprintf(temp_buffer, ".%c%s", DIR_SEPARATOR, game_file); in create_paths()
148 strcpy(game_file, temp_buffer); in create_paths()
/dports/games/xinfocom/xinfocom/
H A Dhead.c16 static filep game_file; variable
104 game_file = os_wild_read(filename); in hd_open()
105 return game_file != 0; in hd_open()
110 os_close(game_file); in hd_close()
118 if(os_seek_fore(game_file, offset) < 0) in hd_load()
124 else if(os_read(ptr, BLOCK_SIZE, num_blocks, game_file) < num_blocks - 1) in hd_load()
/dports/emulators/visualboyadvance-m/visualboyadvance-m-VBA-M_Beta_2/src/wx/
H A Dsys.cpp112 wxFFile game_file; variable
136 if (!game_file.Open(fn.c_str(), wxT("wb")) || in systemStartGameRecording()
148 game_file.Close(); in systemStartGameRecording()
168 !game_file.Close()) in systemStopGameRecording()
205 if (!game_file.Open(fn.c_str(), wxT("rb")) || in systemStartGamePlayback()
215 if (game_file.Read(&gf, sizeof(gf)) != sizeof(gf) || in systemStartGamePlayback()
219 game_file.Close(); in systemStartGamePlayback()
230 game_file.Close(); in systemStartGamePlayback()
248 game_file.Close(); in systemStopGamePlayback()
327 game_file.Close(); in systemReadJoypad()
[all …]
/dports/emulators/dolphin-emu/dolphin-3152428/Source/Android/jni/GameList/
H A DGameFile.cpp30 jobject GameFileToJava(JNIEnv* env, std::shared_ptr<const UICommon::GameFile> game_file) in GameFileToJava() argument
32 if (!game_file) in GameFileToJava()
37 reinterpret_cast<jlong>(new std::shared_ptr<const UICommon::GameFile>(std::move(game_file)))); in GameFileToJava()
239 auto game_file = std::make_shared<UICommon::GameFile>(GetJString(env, path)); in Java_org_dolphinemu_dolphinemu_model_GameFile_parse() local
240 if (!game_file->IsValid()) in Java_org_dolphinemu_dolphinemu_model_GameFile_parse()
241 game_file.reset(); in Java_org_dolphinemu_dolphinemu_model_GameFile_parse()
243 return GameFileToJava(env, game_file); in Java_org_dolphinemu_dolphinemu_model_GameFile_parse()
H A DGameFileCache.cpp68 GetPointer(env, obj)->ForEach([env, array, &i](const auto& game_file) { in Java_org_dolphinemu_dolphinemu_model_GameFileCache_getAllGames() argument
69 env->SetObjectArrayElement(array, i++, GameFileToJava(env, game_file)); in Java_org_dolphinemu_dolphinemu_model_GameFileCache_getAllGames()
H A DGameFile.h17 jobject GameFileToJava(JNIEnv* env, std::shared_ptr<const UICommon::GameFile> game_file);
/dports/games/pioneers/pioneers-15.6/server/
H A Dmain.c64 static gchar *game_file = NULL; variable
79 { "file", 0, 0, G_OPTION_ARG_STRING, &game_file,
229 if (game_title && game_file) { in main()
235 if (game_file == NULL) { in main()
244 params = cfg_set_game_file(game_file); in main()
/dports/games/scare/scare-1.3.10/source/
H A Dos_ansi.c46 static const sc_char *game_file; variable
196 if (length > 0 && strlen (game_file) < 768) in os_show_graphic()
202 " of=/tmp/scare.jpg 2>/dev/null", game_file, offset, length); in os_show_graphic()
446 game_file = argv[1]; in main()
/dports/games/aisleriot/aisleriot-3.22.19/src/lib/
H A Dar-string-utils.c109 ar_filename_to_game_module (const char *game_file) in ar_filename_to_game_module() argument
113 game_module = g_ascii_strdown (game_file, -1); in ar_filename_to_game_module()
H A Dar-string-utils.h28 char *ar_filename_to_game_module (const char *game_file);
/dports/games/gnome-chess/gnome-chess-41.1/src/
H A Dgnome-chess.vala58 private File game_file;
175 game_file = files[0];
192 if (game_file == null)
195 load_game (game_file);
381 if (game_file != null && game_file.get_path () == autosave_filename)
1294 if (game_file != null)
1394 if (game_file == null || game_file.get_path () == autosave_filename)
1404 pgn_game.write (game_file);
1464 game_file = null;
1538 game_file = null;
[all …]
/dports/emulators/fs-uae-launcher/fs-uae-launcher-3.0.5/fsgs/drivers/
H A Dmednafendriver.py41 game_file = self.get_game_file()
42 if game_file is not None:
43 self.emulator.args.append(game_file)
67 game_file = None
90 game_file = path
103 self.emulator.args.append(game_file)
/dports/emulators/dolphin-emu/dolphin-3152428/Source/Core/DolphinQt/
H A DMenuBar.h111 void SelectionChanged(std::shared_ptr<const UICommon::GameFile> game_file);
174 void OnSelectionChanged(std::shared_ptr<const UICommon::GameFile> game_file);
/dports/games/aisleriot/aisleriot-3.22.19/src/
H A Daisleriot.schemas77 <key>/schemas/apps/aisleriot/game_file</key>
78 <applyto>/apps/aisleriot/game_file</applyto>
/dports/emulators/dolphin-emu/dolphin-3152428/Source/Core/DolphinQt/GameList/
H A DGameList.h52 void SelectionChanged(std::shared_ptr<const UICommon::GameFile> game_file);
/dports/emulators/dolphin-emu/dolphin-3152428/Source/Core/DolphinQt/NetPlay/
H A DNetPlayDialog.cpp1049 std::optional<std::shared_ptr<const UICommon::GameFile>> game_file = in FindGameFile() local
1053 auto game_file = m_game_list_model->GetGameFile(i); in FindGameFile() local
1054 *found = std::min(*found, game_file->CompareSyncIdentifier(sync_identifier)); in FindGameFile()
1056 return game_file; in FindGameFile()
1060 if (game_file) in FindGameFile()
1061 return *game_file; in FindGameFile()
/dports/emulators/fs-uae-launcher/fs-uae-launcher-3.0.5/fsgs/platforms/
H A Dcommodore64.py199 game_file = os.path.join(media_dir.path, file_uri.split("/")[-1])
200 with open(game_file, "wb") as f:
/dports/games/xskat/xskat-4.0/
H A Dskat.h161 EXTERN char *list_file,*game_file,*prot_file,*opt_file,*cards_file; variable
H A Dskat.c91 fprintf(stderr,"Error in file %s",game_file);
108 game_file=0;
120 if (!game_file) return 0; in get_game()
122 if (!strcmp(game_file,"-")) { in get_game()
123 game_file="stdin"; in get_game()
127 f=fopen(game_file,"r"); in get_game()
130 fprintf(stderr,"Can't open file %s\n",game_file); in get_game()
219 game_file=0; in get_game()
H A Dxio.c1469 if (!game_file) {
1470 if (!getdeffn(prog_name,&game_file,"game","")) {
1471 game_file=0;
1561 game_file=0;
1629 if (game_file && !*game_file) game_file=0;
2262 game_file=argv[2];
/dports/games/scummvm/scummvm-2.5.1/engines/ags/
H A Dmodule.mk259 engine/main/game_file.o \

12