22 #ifndef ULTIMA8_GAMES_GAME_H 23 #define ULTIMA8_GAMES_GAME_H 25 #include "ultima/ultima8/games/game_info.h" 26 #include "ultima/ultima8/usecode/intrinsics.h" 36 static Game *get_instance() {
52 virtual ProcId playIntroMovie(
bool fade) = 0;
53 virtual ProcId playEndgameMovie(
bool fade) = 0;
54 virtual void playCredits() = 0;
55 virtual void playQuotes() = 0;
56 virtual void playDemoScreen() = 0;
60 INTRINSIC(I_playEndgame);
61 INTRINSIC(I_playCredits);
62 INTRINSIC(I_playDemoScreen);
virtual bool startGame()=0
initialize new game
virtual void writeSaveInfo(Common::WriteStream *ws)=0
write game-specific savegame info (avatar stats, equipment, ...)
Definition: detection.h:27
virtual bool startInitialUsecode(int saveSlot=-1)=0
start initial usecode
virtual bool loadFiles()=0
load/init game's data files
GameInfo contains detailed information about the game.
Definition: game_info.h:33