Max Horn
23d384e6b8
SCI: Remove SciEngine::getFlags()
...
svn-id: r50272
2010-06-25 16:12:38 +00:00
Max Horn
359be0c066
SCI: Change SciEngine's 'char *getGameID()' to 'Common::String getGameId()'
...
svn-id: r49968
2010-06-17 23:14:34 +00:00
Max Horn
337711d321
SCI: Get rid of duplicate _system member in SciEngine
...
svn-id: r49965
2010-06-17 23:12:59 +00:00
Max Horn
8e07a1e167
SCI: Moved the event code a little bit around.
...
* Move sleep() from EventManager to SciEngine
* Rename EventManager methods: get -> getSciEvent, and
getFromScummVM -> getScummVMEvent
* Make scancode_rows static const
* Turn altify & numlockify from EventManager methods into static
functions (and comment out the currently unused numlockify)
svn-id: r49959
2010-06-17 23:10:37 +00:00
Martin Kiewitz
b25aba1d1e
SCI: SciGui/SciGui32 gone for good...
...
svn-id: r49860
2010-06-15 15:44:24 +00:00
Martin Kiewitz
ba2de6dfa4
SCI: putting SciGui::init into SciEngine, removing it from SciGui(32)
...
svn-id: r49854
2010-06-15 13:34:40 +00:00
Martin Kiewitz
891b568fde
SCI: move textSize and textFonts and textColors inside gfxText16
...
svn-id: r49851
2010-06-15 13:01:07 +00:00
Max Horn
651e2760a3
Fix spelling, cleanup
...
svn-id: r49843
2010-06-15 12:33:20 +00:00
Filippos Karapetis
93f33c7dab
Resolved a FIXME with getSciLanguage(), by creating a separate setter. Also, some camelCase changes
...
svn-id: r49568
2010-06-10 11:18:10 +00:00
Filippos Karapetis
0ab7c908bb
Removed the pointer to the game object from the EngineState class
...
svn-id: r49562
2010-06-10 08:11:38 +00:00
Filippos Karapetis
50c1f4e545
Moved the MoveCountType enum above the GameFeatures class, as it's the only class using it
...
svn-id: r49561
2010-06-10 07:48:32 +00:00
Filippos Karapetis
abc5f97608
Fixed compilation with the old music code
...
svn-id: r49560
2010-06-10 07:41:48 +00:00
Filippos Karapetis
9b8e4e8359
Moved all of the game init/run/exit logic inside the SciEngine class
...
svn-id: r49559
2010-06-10 07:32:05 +00:00
Filippos Karapetis
5cb311ee2c
Renamed the SciEvent class to EventManager, to separate it from the sciEvent structure, and removed it from the engine state
...
svn-id: r49534
2010-06-09 07:59:42 +00:00
Martin Kiewitz
830d17ed31
SCI: renaming MacIconBar to GfxMacIconBar
...
svn-id: r49202
2010-05-24 21:47:06 +00:00
Matthew Hoops
d49fb8f42d
Add support for showing the icon bar in SCI1.1 Mac.
...
svn-id: r49196
2010-05-24 17:21:11 +00:00
Max Horn
5568a8473b
Get rid of Engine::_gameDataDir.
...
This greatly reduces indirect dependencies on several header files
from common.
svn-id: r48933
2010-05-04 11:56:52 +00:00
Walter van Niftrik
c0c351c766
SCI: Don't add subtitles for monolingual strings.
...
svn-id: r48697
2010-04-18 00:56:04 +00:00
Filippos Karapetis
07e405588d
Moved the reference to AudioPlayer inside SciEngine (as it doesn't have a state, per se, and is static)
...
svn-id: r48059
2010-02-14 12:23:22 +00:00
Max Horn
b9a11ddb0b
SCI: Move language related code from EngineState to SciEngine
...
svn-id: r48052
2010-02-13 17:46:44 +00:00
Max Horn
e45f0f309a
SCI: Remove EngineState::_kernel, use SciEngine::_kernel instead
...
svn-id: r48050
2010-02-13 17:45:40 +00:00
Max Horn
9575cc08a2
SCI: Move GameFeatures from EngineState to SciEngine
...
svn-id: r48049
2010-02-13 17:44:58 +00:00
Max Horn
a82939c9be
SCI: Get rid of EngineState::resMan
...
svn-id: r48048
2010-02-13 17:44:19 +00:00
Max Horn
721a57a661
SCI: Move Gui/Gfx related permanent objects from EngineState to SciEngine
...
svn-id: r48047
2010-02-13 17:43:31 +00:00
Max Horn
ac4d325e0d
SCI: Add global g_sci pointer to the active SciEngine instance
...
svn-id: r48046
2010-02-13 17:42:49 +00:00
Max Horn
e17a2bd37d
SCI: Change getSciVersionDesc() to return 'const char *' instead of 'Common::String'
...
svn-id: r48044
2010-02-13 11:58:15 +00:00
Walter van Niftrik
6066c9baa2
SCI: Removed old pathfinding define from sci.h
...
svn-id: r47702
2010-01-30 04:33:46 +00:00
Walter van Niftrik
52ef12547f
SCI: Added OnStartup debug flag to start the debugger at the start of the game.
...
svn-id: r47663
2010-01-29 01:31:05 +00:00
Walter van Niftrik
9861b04b93
SCI: Add driver for Yamaha FB-01. Cleanup.
...
svn-id: r47571
2010-01-26 19:25:33 +00:00
Walter van Niftrik
1a570df5dc
SCI: Handle master volume inside music drivers
...
svn-id: r47261
2010-01-12 00:51:37 +00:00
Filippos Karapetis
f66d5a7f53
SCI: Removed the old graphics code
...
svn-id: r47005
2010-01-05 00:54:53 +00:00
Filippos Karapetis
86cad51d07
Set the new sound code as default
...
svn-id: r47003
2010-01-05 00:25:49 +00:00
Filippos Karapetis
c0aad0508c
Renamed SCI_VERSION_AUTODETECT to SCI_VERSION_NONE to signify its actual purpose
...
svn-id: r46959
2010-01-03 22:50:39 +00:00
Martin Kiewitz
ca83c13ec9
SCI: switch to previous gameid, when importing character data in qfg series
...
svn-id: r46813
2010-01-01 09:40:28 +00:00
Matthew Hoops
5382aa1ab0
SCI32:
...
- Set signature for Array/String
- Add the kernel table differences for the GK2 demo
- Implement kMessage changes in SCI32
- Use an empty string as the default path for all games now (and modify kValidPath to accept that only as valid)
- Add dereferencing for Arrays
svn-id: r46756
2009-12-30 16:00:56 +00:00
Filippos Karapetis
a314df52df
Switched to the new pathfinding code, after talking with waltervn
...
svn-id: r46752
2009-12-30 15:38:50 +00:00
Filippos Karapetis
871d5c534d
Moved the OLD_PATHFINDING define inside sci.h, together with the others
...
svn-id: r46679
2009-12-28 17:17:22 +00:00
Filippos Karapetis
ba51f8750e
Brought back the INCLUDE_OLDGFX define
...
svn-id: r46459
2009-12-21 12:19:57 +00:00
Filippos Karapetis
0c1b646c7f
- Started wrapping the current sound code around appropriate defines
...
- Introduced a new resource type, SoundResource, used in the new music code
svn-id: r46421
2009-12-19 16:19:53 +00:00
Martin Kiewitz
84b910f755
SCI: new USE_OLDGFX for switching to oldgui, fixes loading of savedgames under oldgui, oldgui doesn't like calling of setPortPic during loading
...
svn-id: r46294
2009-12-08 21:22:22 +00:00
Max Horn
df651bf20f
Added Doxygen comments for the various engine namespaces (currently mostly without details; help filling these out is welcome)
...
svn-id: r46128
2009-11-24 22:10:14 +00:00
Max Horn
65eae0b53e
SCI: Reduce header interdependency
...
svn-id: r46118
2009-11-23 23:55:19 +00:00
Filippos Karapetis
597524b255
Moved most of the code for playing sound effects and speech into a separate class
...
svn-id: r45653
2009-11-04 09:36:18 +00:00
Martin Kiewitz
4b9066ef69
SCI: accidentally set newgui to default, reverting
...
svn-id: r45563
2009-10-31 14:41:28 +00:00
Martin Kiewitz
f36e9cbe4d
SCI/newgui: UpscaledHires implemented including undithering support, cleanup
...
svn-id: r45562
2009-10-31 14:38:25 +00:00
Filippos Karapetis
04ab6bc9fc
Enclose all of the old graphics code within the INCLUDE_OLDGFX safeguard (defined in sci.h)
...
svn-id: r45459
2009-10-28 13:20:30 +00:00
Max Horn
8191c04056
SCI: Merge some sfx related global funcs into SfxState.
...
This allows us to get rid of "static SfxPlayer *s_player".
svn-id: r45038
2009-10-13 18:51:59 +00:00
Filippos Karapetis
1d3118cf42
Implemented some advanced savegame functionality - loading and deleting savegames from the GMM is now possible, and new saved games will also have thumbnails. Saving from the GMM creates corrupted saved games, so it has been disabled for now
...
svn-id: r44930
2009-10-11 15:51:43 +00:00
Filippos Karapetis
8ae4206373
Introduced a new debug level, kDebugLevelResMan, and reduced some of the messages printed to the console
...
svn-id: r44858
2009-10-10 00:07:19 +00:00
Filippos Karapetis
b91ae69ad2
Removed the now unused GF_SCI0_OLDGETTIME flag and simplified all of the game entries in the detector
...
svn-id: r44856
2009-10-09 23:19:53 +00:00