ScummVM API documentation
osystem_atari.h
1 /* ScummVM - Graphic Adventure Engine
2  *
3  * ScummVM is the legal property of its developers, whose names
4  * are too numerous to list here. Please refer to the COPYRIGHT
5  * file distributed with this source distribution.
6  *
7  * This program is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program. If not, see <http://www.gnu.org/licenses/>.
19  *
20  */
21 
22 #ifndef PLATFORM_ATARI_H
23 #define PLATFORM_ATARI_H
24 
25 #include "backends/modular-backend.h"
26 
28 public:
29  OSystem_Atari();
30  virtual ~OSystem_Atari();
31 
32  void initBackend() override;
33 
35  uint32 getMillis(bool skipRecord = false) override;
36  void delayMillis(uint msecs) override;
37  void getTimeAndDate(TimeDate &td, bool skipRecord = false) const override;
38 
41 
42  void quit() override;
43 
44  void logMessage(LogMessageType::Type type, const char *message) override;
45 
46  void addSysArchivesToSearchSet(Common::SearchSet &s, int priority) override;
48 
49  void update();
50 
51 private:
52  long _startTime;
53 
54  bool _videoInitialized = false;
55  bool _timerInitialized = false;
56 
57  int16 _vdi_handle;
58  int _vdi_width;
59  int _vdi_height;
60 
61  void (*_old_procterm)(void) = nullptr;
62 };
63 
64 #endif
Definition: modular-backend.h:147
Definition: modular-backend.h:48
Definition: system.h:105
Definition: osystem_atari.h:27
Common::MutexInternal * createMutex() override
Definition: array.h:52
void delayMillis(uint msecs) override
Common::KeymapArray getGlobalKeymaps() override
Definition: path.h:52
void logMessage(LogMessageType::Type type, const char *message) override
Type
Definition: system.h:121
void getTimeAndDate(TimeDate &td, bool skipRecord=false) const override
Definition: archive.h:312
void addSysArchivesToSearchSet(Common::SearchSet &s, int priority) override
Common::Path getDefaultConfigFileName() override
Definition: hardware-input.h:199
uint32 getMillis(bool skipRecord=false) override
void quit() override
void initBackend() override
Definition: mutex.h:40
Common::HardwareInputSet * getHardwareInputSet() override