~ubuntu-branches/ubuntu/trusty/rlvm/trusty

« back to all changes in this revision

Viewing changes to src/MachineBase/RLVMInstance.hpp

  • Committer: Package Import Robot
  • Author(s): Ying-Chun Liu (PaulLiu)
  • Date: 2013-11-02 02:57:13 UTC
  • mfrom: (10.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20131102025713-yzg31grxr8i7xerh
Tags: 0.13-1
* New upstream release
  - rlvm will now warn on startup when it detects Japanese save data, but
    English patched game files, and offer to reset the save data.
  - Much better support for Little Busters. Most graphical glitches during
    the Little Busters Refrain have been fixed.
  - TCC tone curve effects have been reverse-engineered and implemented
    (thanks to lurkmoar)
  - Sepia scenes (and other graphical filters) should look much better.
  - Simple shake commands implemented (fancy per-layer shaking still
    unimplemented).
  - Make animations smooth: data should be uploaded to the graphics card
    before an animation loop starts, not while the animation loop is
    running.
  - Fixes finding system fonts on Linux
  - Thanks to Elliot Glaysher <glaysher@umich.edu>
* Remove upstreamed patches:
  - debian/patches/002_675426ad62bccf1de10b0ae31dd46331ec47aacb.patch
  - debian/patches/003_5dafabf5448635c4d4526d6e35ea7ec664a27261.patch
  - debian/patches/004_boost-drop-mt.patch
  - debian/patches/005_missing-include.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
#include <boost/filesystem/operations.hpp>
31
31
 
32
32
class Platform;
 
33
class RLMachine;
33
34
class System;
34
35
 
35
36
// The main, cross platform emulator class. Has template methods for
49
50
  void set_load_save(int in) { load_save_ = in; }
50
51
  void set_custom_font(const std::string& font) { custom_font_ = font; }
51
52
 
 
53
  void set_dump_seen(int in) { dump_seen_ = in; }
 
54
 
52
55
  // Optionally brings up a file selection dialog to get the game directory. In
53
56
  // case this isn't implemented or the user clicks cancel, returns an empty
54
57
  // path.
59
62
  virtual void ReportFatalError(const std::string& message_text,
60
63
                                const std::string& informative_text);
61
64
 
 
65
  // Ask the user if we should take an action.
 
66
  virtual bool AskUserPrompt(const std::string& message_text,
 
67
                             const std::string& informative_text,
 
68
                             const std::string& true_button,
 
69
                             const std::string& false_button) = 0;
 
70
 
62
71
 private:
63
72
  // Finds a game file, causing an error if not found.
64
73
  boost::filesystem::path FindGameFile(
65
74
      const boost::filesystem::path& gamerootPath,
66
75
      const std::string& filename);
67
76
 
 
77
  // Checks to see if the user ran the Japanese version and than installed a
 
78
  // fan patch. In this case, we need to warn and let the user reset global
 
79
  // data.
 
80
  void DoUserNameCheck(RLMachine& machine);
 
81
 
68
82
  // Checks for AVG32/Siglus engine games, which people may be confused about.
69
83
  void CheckBadEngine(const boost::filesystem::path& gamerootPath,
70
84
                      const char** filenames,
88
102
 
89
103
  // Loads the specified save file as soon as emulation starts if not -1.
90
104
  int load_save_;
 
105
 
 
106
  // Dumps psuedokepago of the current seen to stdout and exit if not -1.
 
107
  int dump_seen_;
91
108
};
92
109
 
93
110
#endif  // SRC_MACHINEBASE_RLVMINSTANCE_hpp_