Matthew Hoops
4df9dd82fb
After discussing with waltervn, committing my fix for the King's Quest I Demo (original from Patch #2795916 ). I'm also fixing the full game as well :)
...
svn-id: r41841
2009-06-25 00:14:07 +00:00
Walter van Niftrik
1d0f4782fc
SCI: Fix regression in r41833.
...
svn-id: r41834
2009-06-24 19:26:06 +00:00
Walter van Niftrik
06144864e1
SCI: Partial support for dual-language games.
...
svn-id: r41833
2009-06-24 19:12:45 +00:00
Filippos Karapetis
245a2764fc
Cleanup
...
svn-id: r41727
2009-06-21 13:06:08 +00:00
Max Horn
42de7a1573
Patch
...
svn-id: r41647
2009-06-18 22:09:57 +00:00
Oystein Eftevaag
cca9202372
Buildfix for gcc 3.3 (moved a template class member into the header file)
...
svn-id: r41493
2009-06-13 13:27:21 +00:00
Walter van Niftrik
1fb78d577f
SCI: Moved audio code from AudioResource to the sfx core.
...
svn-id: r41486
2009-06-12 23:46:23 +00:00
Walter van Niftrik
5e68fbfe87
SCI: Moved SCI1 audio map handling into the resource manager.
...
svn-id: r41408
2009-06-09 19:18:48 +00:00
Filippos Karapetis
60f5ac3300
Replaced GFXWARN with warning and GFXDEBUG with debugC
...
svn-id: r41367
2009-06-08 11:42:13 +00:00
Filippos Karapetis
95d32180df
Moved some more debug commands to ScummVM's console
...
svn-id: r41364
2009-06-08 08:38:10 +00:00
Filippos Karapetis
ed46e223eb
Hopefully fixed memory corruption when loading games
...
svn-id: r41361
2009-06-07 23:29:11 +00:00
Max Horn
0dcb1fa84f
SCI: Got rid of g_EngineState
...
svn-id: r41359
2009-06-07 23:04:34 +00:00
Walter van Niftrik
a6ed05740f
SCI: Moved resource36 handling into resource manager.
...
svn-id: r41349
2009-06-07 19:15:55 +00:00
Max Horn
ee21d82948
SCI: Fixed the broken SciEngine::pauseEngineIntern code by ensuring that SciEngine::_gamestate is updated whenever the EngineState gets changed (due to loading a savestate)
...
svn-id: r41346
2009-06-07 17:18:11 +00:00
Max Horn
21d948ec05
SCI: Simplified SongLibrary code a bit
...
svn-id: r41345
2009-06-07 17:07:25 +00:00
Max Horn
d07e9dfb13
SCI: Objectified SongLibrary
...
svn-id: r41343
2009-06-07 17:06:51 +00:00
Max Horn
f2ca788004
SCI: Renamed various song/songlib related structs and members
...
svn-id: r41342
2009-06-07 17:06:32 +00:00
Filippos Karapetis
3b687a7a04
Replaced KP_ALT, SKPV_OR_ALT and UKPV_OR_ALT
...
svn-id: r41340
2009-06-07 16:50:34 +00:00
Filippos Karapetis
744323ca33
Replaced/removed KP_UINT, KP_SINT, SKPV and UKPV as well as the VIEW_PRIORITY and PRIORITY_BAND_FIRST wrappers
...
svn-id: r41338
2009-06-07 15:53:30 +00:00
Walter van Niftrik
e3d3195a43
SCI: Resmgr cleanup and preparations for moving resource36 handling into resmgr.
...
svn-id: r41318
2009-06-07 02:18:38 +00:00
Filippos Karapetis
7375039158
Moved some more debug commands to ScummVM's coneole
...
svn-id: r41302
2009-06-06 20:29:37 +00:00
Filippos Karapetis
e572811aed
Moved some more debug commands to ScummVM's coneole
...
svn-id: r41227
2009-06-06 16:43:13 +00:00
Willem Jan Palenstijn
60e02ad6a8
Store long-term pointers to object variables in a new ObjVarRef struct.
...
Storing them as reg_t* could cause the pointers to become invalid
when they pointed into CloneTable since CloneTable can be re-allocated.
svn-id: r41220
2009-06-06 11:38:20 +00:00
Filippos Karapetis
8033a39128
Objectified the graphics driver
...
svn-id: r41214
2009-06-06 10:21:48 +00:00
Filippos Karapetis
da36901b07
Cleanup
...
svn-id: r41202
2009-06-05 23:08:35 +00:00
Filippos Karapetis
7c84cca81d
Moved some more debug commands to ScummVM's coneole and removed some unused code
...
svn-id: r41198
2009-06-05 19:04:14 +00:00
Max Horn
4f4005f0b0
oops
...
svn-id: r41178
2009-06-04 21:53:45 +00:00
Max Horn
10c54394bd
SCI: Renamed EngineState::flags and version to _flags and _version (following our conventions); also slightly changed the EngineState constructor to init _version & _flags, and used this to make them constant
...
svn-id: r41177
2009-06-04 21:44:39 +00:00
Max Horn
870db34cd1
SCI: Renamed _kfuncTable -> _kernelFuncs; and simplified/streamlined the kernel func map in kernel.cpp a bit
...
svn-id: r41176
2009-06-04 21:42:24 +00:00
Max Horn
23a9b5544c
SCI: Added MemObject::isValidOffset method; use it to simplify determine_reg_type
...
svn-id: r41175
2009-06-04 20:51:40 +00:00
Max Horn
f08f5c3bbf
SCI: Slightly modified kAddAfter so that it does not modify its arguments needlessly
...
svn-id: r41174
2009-06-04 20:51:24 +00:00
Max Horn
ae3c6c3053
SCI: cleanup
...
svn-id: r41173
2009-06-04 20:51:09 +00:00
Max Horn
3091de6735
SCI: Added FIXME comment to not_register()
...
svn-id: r41172
2009-06-04 20:50:51 +00:00
Walter van Niftrik
9e196ce9f5
SCI: Message: Added support for escape sequences.
...
svn-id: r41169
2009-06-04 14:29:20 +00:00
Max Horn
6b1110b82d
SCI: Moved MemObject code into a separate source file
...
svn-id: r41166
2009-06-04 11:45:17 +00:00
Max Horn
4f08dc538c
SCI: cleanup
...
svn-id: r41165
2009-06-04 11:44:55 +00:00
Walter van Niftrik
28242d289b
SCI: Support for 16-bit DPCM.
...
svn-id: r41164
2009-06-04 11:35:17 +00:00
Max Horn
382ebea3fa
SCI: Renamed various debug related global variables to have a g_ prefix; and moved any 'extern' decls of them into a new header file
...
svn-id: r41163
2009-06-04 11:28:05 +00:00
Filippos Karapetis
634e023485
Turned debug_weak_validations on by default again, as apparently some games like SQ3 fail in some validations (e.g. when loading). Also, fixed a potential out of bounds access when copying the value of __FILE__ into a buffer (as its value can be quite long in some cases).
...
svn-id: r41154
2009-06-04 08:25:48 +00:00
Filippos Karapetis
9673beb082
Moved some more console commands to ScummVM's console
...
svn-id: r41141
2009-06-03 14:47:32 +00:00
Filippos Karapetis
317da8756e
- Moved the engine state and the console to be private members of SciEngine
...
- Implemented pauseEngineIntern()
- Music now stops and resumes when entering/leaving the debugger
svn-id: r41139
2009-06-03 14:09:25 +00:00
Filippos Karapetis
cb0aed3303
Moved some more console commands to ScummVM's console
...
svn-id: r41137
2009-06-03 11:38:12 +00:00
Filippos Karapetis
3c7b434b04
- Sorted the console commands a bit more
...
- Removed the commands which manipulated variables and turned them into debug variables instead
- Rewrote help so that it's more organized and easier to read
- Unified the debug variable names
svn-id: r41136
2009-06-03 09:45:16 +00:00
Filippos Karapetis
2ce6cca98b
Moved some more console commands to ScummVM's debug console
...
svn-id: r41129
2009-06-02 23:29:58 +00:00
Filippos Karapetis
ac544e73e9
Moved some more console commands to ScummVM's debug console
...
svn-id: r41127
2009-06-02 21:07:34 +00:00
Filippos Karapetis
780926991e
Moved some more console commands to ScummVM's debug console
...
svn-id: r41126
2009-06-02 19:03:43 +00:00
Filippos Karapetis
98f64cfa2f
Removed the gfxw_new_visual and gfxw_new_port wrappers, moved _kfuncTable inside the Kernel class and moved gfxw_find_port inside the GfxVisual struct
...
svn-id: r41125
2009-06-02 14:16:59 +00:00
Filippos Karapetis
d405b2880b
Removed some unused variables from the engine state
...
svn-id: r41123
2009-06-02 07:59:04 +00:00
Filippos Karapetis
c85134bd5e
Some fixes for saving/loading (still broken)
...
svn-id: r41102
2009-06-01 15:34:33 +00:00
Filippos Karapetis
99c6874630
Split the kernel functions away from the vocabulary functions (WIP, saving/loading is broken)
...
svn-id: r41101
2009-06-01 14:12:43 +00:00