Filippos Karapetis
4ec6c4127f
Added a feature flag for the SCI1.1 behavior of kSetCursor() in Eco 1 and KQ5 CD. Some cleanup
...
svn-id: r40554
2009-05-14 11:11:56 +00:00
Filippos Karapetis
891a8fae05
- Removed SCI_VERSION_FTU_NEW_GETTIME
...
- Added defines for SCI0 flags, to simplify game entries
- Removed the leftover version_lock_flag from EngineState
svn-id: r40553
2009-05-14 10:24:39 +00:00
Filippos Karapetis
999d46b241
Started using game-specific flags and removed/replaced some SCI version checks with flags.
...
- The SCI0 new script header and the angles check have been replaced by the GF_SCI0_OLD flag
- The SCI0 new drawpic parameter and the new priority check have been replaced by the GF_SCI0_OLDGFXFUNCS flag
- Removed the code which retries to use the newer script header in SCI0 games if the detected one is wrong, as that case should be covered by the GF_SCI0_OLD flag
- Removed the leftover min_version and max_version variables from gamestate
- Cleaned up kGetTime() a bit
svn-id: r40552
2009-05-14 09:12:27 +00:00
Filippos Karapetis
2ca7605050
- Enabled the code which puts the text inside the screen if it doesn't fit for all SCI versions
...
- Removed the check for the mechanism to resume suspended songs (it's no longer used)
svn-id: r40551
2009-05-14 07:28:06 +00:00
Filippos Karapetis
3117a8d87f
Removed the hack used to check for the existence of the CantBeHere() selector
...
svn-id: r40549
2009-05-14 07:14:08 +00:00
Filippos Karapetis
e940bcff23
- Simplified SCI version detection a bit and clarified the different version feature flags (not used yet)
...
- Removed the version verification functions (they were only used for two specific cases, but the SCI executable reader is able to detect the exact SCI game version anyway, so there is no point in having these)
- Removed the empty GameFlags structure and replaced it with a 32-bit integer instead
svn-id: r40524
2009-05-13 16:52:41 +00:00
Filippos Karapetis
e280f301e7
Rearranged all the different version checks based on SCI version in versions.h, and added some WIP and unused game flags, which will hopefully replace the SCI version numbers
...
svn-id: r40509
2009-05-12 20:12:49 +00:00
Filippos Karapetis
ca52388f11
Console is a class, not a struct
...
svn-id: r40455
2009-05-11 17:07:38 +00:00
Max Horn
7c75e8e2ef
SCI: Reduced header deps
...
svn-id: r40451
2009-05-11 13:31:17 +00:00
Filippos Karapetis
cdb4cdf070
The ScummVM debug console is now working (though only the "version" command is assigned, for now)
...
svn-id: r39195
2009-03-07 17:32:11 +00:00
Max Horn
8022122bb9
SCI: Added kDebugLevelDclInflate; changed decompressors to *not* use fprintf or printf
...
svn-id: r39055
2009-03-01 21:48:39 +00:00
Max Horn
dd98126423
Engines: Fused several init&go methods into a single run method
...
svn-id: r39003
2009-03-01 04:42:46 +00:00
Max Horn
3fcbda829a
Merged Engine::go() and ::init() into a new run() method (currently implemented by calling the existing init&go methods; to be cleaned up by engine authors
...
svn-id: r39002
2009-03-01 04:30:55 +00:00
Max Horn
170916201c
SCI: Moved almost all files from include/ to other dirs; only include/engine.h remains
...
svn-id: r38920
2009-02-27 02:23:00 +00:00
Max Horn
bf0860fc5e
SCI: Commited file handling revamp, work in progress
...
svn-id: r38919
2009-02-27 01:17:24 +00:00
Travis Howell
edc73529af
Add resource version option to game detection table, for games version(s) with undetected/unexpected resource types.
...
svn-id: r38776
2009-02-22 03:40:51 +00:00
Filippos Karapetis
fcf5e87de6
- Made ResourceManager accessible from _vm
...
- Replaced c_version by its corresponding ScummVM equivalent command
svn-id: r38775
2009-02-22 01:33:16 +00:00
Paweł Kołodziejski
03769a6d56
formating
...
svn-id: r38700
2009-02-21 15:30:47 +00:00
Jordi Vilalta Prat
14150200d4
Implemented SciEngine::getDebugger()
...
svn-id: r38674
2009-02-21 09:45:34 +00:00
Willem Jan Palenstijn
abbca80d61
Converted SCI saving to use saveFileMan. Instead of a savegame being
...
a directory with an id and a state file, a savegame now consists of
two consecutive CFSML-serialized structs: SavegameMetadata and state_t.
The former contains the savegame title, and is loaded when scanning saves.
svn-id: r38649
2009-02-20 23:41:15 +00:00
Filippos Karapetis
701279fb40
Changed some SCIkdebug() calls to debugC()
...
svn-id: r38634
2009-02-20 22:21:33 +00:00
Sven Hesse
a69ec56869
Fixing compilation for me
...
svn-id: r38627
2009-02-20 21:47:51 +00:00
Filippos Karapetis
9582e48574
Some initial code for a debug console (still non-working)
...
svn-id: r38623
2009-02-20 21:26:31 +00:00
Filippos Karapetis
ac716ad843
Started conversion of debug messages and debug levels to the ScummVM equivalents. Removed the "stubs" and "warnings" debug levels and replaced such kinds of messages with normal warnings
...
svn-id: r38617
2009-02-20 20:11:12 +00:00
Jordi Vilalta Prat
20d0395b69
- Moved SciEngine code to sci.cpp
...
- Fill the platform on fallback detection
- Report unparseable version strings
- Map known non-numeric version strings to their numeric counterparts
- Fix a crash caused by uninitialized LZEXE data
svn-id: r38589
2009-02-20 14:45:28 +00:00
Matthew Hoops
ee16e35bb6
- Fix finding versions from exe's
...
- Fix fallback detection
- Make getVersion() return an int instead of a uint16 which makes the version lose precision and the "major" version can get lost.
svn-id: r38529
2009-02-19 02:04:31 +00:00
Filippos Karapetis
a501d4dca0
Added methods to get information for the detected game version
...
svn-id: r38502
2009-02-18 20:08:49 +00:00
Filippos Karapetis
056a13f710
Moved game version checking to ScummVM's detector and removed the FreeSCI version checking routines
...
svn-id: r38458
2009-02-18 09:09:37 +00:00
Eugene Sandulenko
3e0519e4ee
Update headers. rest
...
svn-id: r38413
2009-02-17 15:20:21 +00:00
Max Horn
6af056c89d
Reimplemented reg_t_hashmap using Common::HashMap
...
svn-id: r38340
2009-02-16 01:58:30 +00:00
Max Horn
f3ab80b4e8
SCI: Run astyle to make the code be more compliant with our Code Formatting Guidelines: rest
...
svn-id: r38325
2009-02-15 22:43:13 +00:00
Eugene Sandulenko
e9f7428063
- Move sci/scummvm/ contents to sci/
...
- Rename scumm_engine.cpp to sci.cpp
- Remove unneeded gfx drivers
- Rename scummvm_driver.c to gfx_driver.cpp
svn-id: r38225
2009-02-15 11:03:21 +00:00