Difference between revisions of "HOWTO-Engines"

Jump to navigation Jump to search
19 bytes added ,  16:56, 22 January 2014
→‎Example: engines/quux/quux.cpp: Properly initialize _console member.
(→‎Example: Add (untested) configure.engine exaple file)
(→‎Example: engines/quux/quux.cpp: Properly initialize _console member.)
Line 180: Line 180:
   
   
QuuxEngine::QuuxEngine(OSystem *syst)  
QuuxEngine::QuuxEngine(OSystem *syst)  
  : Engine(syst) {
  : Engine(syst), _console(nullptr) {
// Put your engine in a sane state, but do nothing big yet;
// Put your engine in a sane state, but do nothing big yet;
// in particular, do not load data from files; rather, if you
// in particular, do not load data from files; rather, if you
561

edits

Navigation menu