Commit Graph

33453 Commits

Author SHA1 Message Date
Filippos Karapetis
0812596d75 Updated the MSVC project files of the SCI engine (added engine/selector.cpp)
svn-id: r44175
2009-09-17 17:50:38 +00:00
Johannes Schickel
cfd6d4722c Changed olol_restoreMagicShroud to be a bit more talkative on errors.
svn-id: r44174
2009-09-17 17:14:38 +00:00
Max Horn
5f440854b7 SCI: Add EngineState::_kernel member for convenience
svn-id: r44173
2009-09-17 17:00:36 +00:00
Max Horn
c2455aad87 SCI: Move CallsStruct into vm.cpp, the only place it is being used
svn-id: r44172
2009-09-17 16:56:36 +00:00
Max Horn
f2d2276c4a SCI: Move some selector related function into a new file selector.cpp
svn-id: r44171
2009-09-17 16:53:58 +00:00
Max Horn
eb77efda78 SCI: Add a global getSciVersion() function and make use of it
svn-id: r44170
2009-09-17 16:50:53 +00:00
Max Horn
9651562e72 SCI: Rename WAS_FUNCT_NR to FAKE_FUNCT_NR; turn some #defines into enums
svn-id: r44169
2009-09-17 16:49:31 +00:00
Johannes Schickel
7d7e319b4f Add some missing new lines to error messages.
svn-id: r44168
2009-09-17 16:40:29 +00:00
Johannes Schickel
b4dfb066e4 Reenable commented out providers for k2IngameTalkObjIndex.
svn-id: r44167
2009-09-17 16:40:07 +00:00
Johannes Schickel
cbf0ca2f6d Typo.
svn-id: r44165
2009-09-17 16:08:27 +00:00
Johannes Schickel
d9ea1fd3d5 Enable delay for Ninteno DS in all occasions in o2_isAnySoundPlaying.
svn-id: r44164
2009-09-17 16:03:48 +00:00
Johannes Schickel
d98b1472ca Add workaround in "o2_isAnySoundPlaying", which will hopefully make Kyra2 work on the Nintendo DS.
svn-id: r44163
2009-09-17 16:01:21 +00:00
Johannes Schickel
297a130d5e Further cleanup of special id use.
svn-id: r44162
2009-09-17 15:59:45 +00:00
Max Horn
c38f150d56 SCI: Moved Kernel::findSelector from vocabulary.cpp to engine/kernel.cpp
svn-id: r44161
2009-09-17 14:54:11 +00:00
Max Horn
e3e1c0754f SCI: Properly hook up (I hope) CantBeHere instead of CanBeHere in SCI versions that need it
svn-id: r44160
2009-09-17 14:53:57 +00:00
Max Horn
15652675b2 SCI: Removed dead code
svn-id: r44159
2009-09-17 14:53:42 +00:00
Filippos Karapetis
5e12132550 Added alternate versions for iceman, lsl2, qfg1, sq3 and sq4 from bug report #2612718. Still many to go, that bug report is huge
svn-id: r44158
2009-09-17 14:41:27 +00:00
Johannes Schickel
f0ccad5bbd - Increase kyra.dat version
- Fix language settings of some game entries

svn-id: r44157
2009-09-17 13:46:01 +00:00
Johannes Schickel
858061946a Cleanup special id usage.
svn-id: r44156
2009-09-17 13:45:29 +00:00
Max Horn
e40cbe574e SCI: Rename engine/memobj.* to engine/segment.*
svn-id: r44155
2009-09-17 13:22:46 +00:00
Max Horn
23c64c1fd6 SCI: Simplify code in Kernel::checkStaticSelectorNames a bit (don't treat nodePtr & cantBeHere special)
svn-id: r44154
2009-09-17 13:22:15 +00:00
Max Horn
730c7c9641 SCI: Get rid of the not_register() hack
svn-id: r44153
2009-09-17 13:22:00 +00:00
Max Horn
364640cfd5 SCI: Rename selector_map_t -> SelectorCache and _selectorMap -> _selectorCache
svn-id: r44152
2009-09-17 13:21:42 +00:00
Max Horn
b2c386ed00 SCI: Move parts of struct ScriptState into a new struct DebugState
svn-id: r44151
2009-09-17 13:21:19 +00:00
Max Horn
d861f5c854 SCI: cleanup
svn-id: r44150
2009-09-17 13:20:58 +00:00
Johannes Schickel
cd394fce76 Handle platform specific extraction via platform settings instead of special id where possible.
svn-id: r44149
2009-09-17 12:43:10 +00:00
Johannes Schickel
f5f209797d - Got rid of special id "kAmigaVersion"
- Changed handling of platform settings via game platform settings and not via special id

svn-id: r44148
2009-09-17 12:42:50 +00:00
Johannes Schickel
4ca0e97970 Add platform information to game need table.
svn-id: r44147
2009-09-17 12:42:25 +00:00
Johannes Schickel
1361d3f1ae Consisteny change.
svn-id: r44146
2009-09-17 12:03:27 +00:00
Johannes Schickel
38d4acfb48 Cleanup includes.
svn-id: r44145
2009-09-17 12:03:06 +00:00
Johannes Schickel
f13602f7d2 Cleanup provider access.
svn-id: r44144
2009-09-17 12:02:41 +00:00
Johannes Schickel
3374fef61e - Cleanup multi language game processing
- Vast move of static data tables to new files
- Other cleanup

svn-id: r44143
2009-09-17 12:02:17 +00:00
Johannes Schickel
9c293c347a Cleanup.
svn-id: r44142
2009-09-17 11:01:08 +00:00
Filippos Karapetis
51dc72d49c Corrected the size of one of the Italian fan-translated versions of ITE (bug report #2845399)
svn-id: r44141
2009-09-17 09:40:39 +00:00
Filippos Karapetis
dce185ba8b Made script_lookup_export() a method of SegManager
svn-id: r44140
2009-09-17 09:36:52 +00:00
Filippos Karapetis
4c82477559 Added the CD version of Jones (bug report #2813795) and another version of RAMA (bug report #2850645)
svn-id: r44139
2009-09-17 09:08:54 +00:00
Filippos Karapetis
f890a69428 Changed the way object selectors are accessed, by removing the relevant defines and adding appropriate methods to the Object structure
svn-id: r44138
2009-09-17 08:51:38 +00:00
Johannes Schickel
0a037ccc45 Commit rebuilt version of kyra.dat.
svn-id: r44137
2009-09-17 02:27:34 +00:00
Johannes Schickel
0a8774a446 - Augment detection tables as much as possible
- Change some extraction processing logic to work with the newly agumented tables

svn-id: r44136
2009-09-17 02:27:12 +00:00
Johannes Schickel
f440a2bcd9 - Augment all executable entries with platform
- Augment all search data tables with platform and language, where required

svn-id: r44135
2009-09-17 02:26:46 +00:00
Johannes Schickel
4245f2e842 Change extraction function signature.
svn-id: r44134
2009-09-17 02:26:19 +00:00
Johannes Schickel
c5ec398bbf Move extraction functionality to new file "extract.cpp".
svn-id: r44133
2009-09-17 02:25:55 +00:00
Johannes Schickel
8aa04a8b9d Remove superfluous special id specification for english Amiga intro strings.
svn-id: r44132
2009-09-17 02:25:28 +00:00
Max Horn
280bee663e SCI: Change SegmentId from int to uint16; consistently use segment 0 to indicate an invalid segment
svn-id: r44131
2009-09-17 00:46:01 +00:00
Max Horn
10f898c90e SCI: Rename MemObject -> SegmentObj
svn-id: r44130
2009-09-17 00:45:12 +00:00
Max Horn
1f0e8ef470 SCI: More cleanup
svn-id: r44129
2009-09-17 00:44:22 +00:00
Max Horn
b26f744e23 SCI: cleanup
svn-id: r44128
2009-09-16 23:55:11 +00:00
Max Horn
68dfdce043 SCI: Turn some SegManager methods into Script methods
svn-id: r44127
2009-09-16 23:32:48 +00:00
Max Horn
a277123f54 SCI: Rename Script class members, change Script from struct to class
svn-id: r44126
2009-09-16 23:32:27 +00:00
Johannes Schickel
1b75a1825e Extract "kTypeTownsWDSfxTable" via a special extraction routine instead of a hacky patch level.
svn-id: r44125
2009-09-16 23:03:48 +00:00