Jordi Vilalta Prat
047f116515
Renamed MetaEngine::getCopyright() to getOriginalCopyright() to better match the meaning of the returned string, as discussed some time ago in scummvm-devel
...
svn-id: r39132
2009-03-05 12:04:58 +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
Johannes Schickel
da3516248c
Fixed compilation (along with it const correctness).
...
svn-id: r38287
2009-02-15 20:19:06 +00:00
Chris Apers
3ceb1482db
Quick dirty hack to make the engine run again on PalmOS
...
svn-id: r38278
2009-02-15 18:53:27 +00:00
Max Horn
341bc64aaf
do not include common/debug.h from common/util.h
...
svn-id: r36143
2009-01-30 05:25:17 +00:00
Max Horn
7cb437b56f
Renamed SpecialDebugLevel to DebugChannel
...
svn-id: r36142
2009-01-30 05:10:24 +00:00
Max Horn
28cf213605
Moved AdvancedDetector from common/ to engines/
...
svn-id: r36132
2009-01-29 22:13:01 +00:00
Max Horn
ac59693be2
A ton of code formatting fixes; also fixed warnings about single line loops like 'while(cond);' by inserting newlines
...
svn-id: r36127
2009-01-29 05:26:12 +00:00
Eugene Sandulenko
696897b058
Whoa! Removing trailing spaces.
...
svn-id: r35648
2009-01-01 15:06:43 +00:00
Max Horn
df20d264fd
Pushing down some header deps (on common/system.h, mostly)
...
svn-id: r35542
2008-12-25 20:40:00 +00:00
Johannes Schickel
f4d8ecaf6a
Fixed gcc warning.
...
svn-id: r35137
2008-11-20 22:58:22 +00:00
Kari Salminen
325b4cb492
Fix resizing of the internal color array in Palette-class.
...
svn-id: r35136
2008-11-20 22:22:47 +00:00
Kari Salminen
16bf8d720b
Add Palette-class for handling 9-bit and 24-bit palettes. WIP!
...
svn-id: r35135
2008-11-20 22:16:18 +00:00
Kari Salminen
089c8b4e48
Make the 256 color transformPaletteRange-function and Future Wars's refreshPalette-function compliant with disassembly.
...
svn-id: r35118
2008-11-18 19:54:44 +00:00
Johannes Schickel
5a0556f09c
Committed my patch #2123680 "SDL: Backend transaction / rollback support".
...
svn-id: r35062
2008-11-14 22:08:10 +00:00
Travis Howell
cca19671d5
Fix compile of CINE engine.
...
svn-id: r35039
2008-11-13 11:36:37 +00:00
Filippos Karapetis
162634cc95
Started moving Save/Load code to saveload.cpp/.h
...
svn-id: r35033
2008-11-13 08:59:17 +00:00
Filippos Karapetis
0ba17539ac
Deleting save states via the launcher and the GMM is now supported in the cine engine
...
svn-id: r35032
2008-11-12 23:39:38 +00:00
Filippos Karapetis
28da377ccb
Saving and loading from the GMM is now supported in the cine engine
...
svn-id: r35031
2008-11-12 23:21:05 +00:00
Filippos Karapetis
f5729a4a8b
- The GMM save dialog is now working for all engines which support the appropriate features
...
- Added a new method to the MetaEngine class, getMaximumSaveSlot(), and implemented it in all engines for which the listSavefiles() method is implemented (it goes together with the listSavefiles method). It is used to fill the unused save slots in the save/load dialogs of each engine, so that the user can create new save games in empty slots
- Unified the save/load dialog list numbering in the GMM load/save screens and in the load screen of the main menu (before a game is started)
svn-id: r34963
2008-11-09 16:13:34 +00:00
Max Horn
40136f2590
Switched various Engine APIs to use Common::Error
...
svn-id: r34916
2008-11-06 17:05:54 +00:00
Max Horn
fe2935ad4b
Got rid of the unused 'filename' attribute in SaveStateDescriptor
...
svn-id: r34905
2008-11-05 15:41:12 +00:00
Max Horn
61aadb378d
Fixed the EngineFeature vs. MetaEngineFeature mess, clarified some EngineFeature comments
...
svn-id: r34896
2008-11-04 16:11:40 +00:00
Filippos Karapetis
b7a219ebc6
Renamed engine feature kSupportsDirectLoad to kSupportsLoadingDuringStartup, as discussed in patch #2122869
...
svn-id: r34854
2008-10-26 16:42:08 +00:00
Kari Salminen
5252f07305
Remove unnecessary function overloadings for loadBg16 and loadBg256.
...
svn-id: r34840
2008-10-22 20:45:25 +00:00
Kari Salminen
b9709b5793
Make incrustMask and incrustSprite only draw to the current background in Operation Stealth.
...
svn-id: r34838
2008-10-22 19:56:38 +00:00
Kari Salminen
c501ef1450
Cleanup (Removed an extra 'return 0').
...
svn-id: r34826
2008-10-19 08:52:04 +00:00
Max Horn
6a2f3dc0b9
Added new type Engine::Feature; pushed down some #include dependencies
...
svn-id: r34755
2008-10-06 12:48:52 +00:00
Max Horn
9b160804ab
Renamed Engine::quit to Engine::shouldQuit (previously, it was easily confused with Engine::quitGame); also cleaned up engine.h a bit
...
svn-id: r34700
2008-09-30 12:27:38 +00:00
Max Horn
655ce26b3f
Big patch changing the signature of various Stream methods (some ports may need to be slightly tweaked to fix overloading errors/warnings)
...
svn-id: r34514
2008-09-13 16:51:46 +00:00
Max Horn
d3642080de
Moved check for shouldRTL() from engines to scummvm_main
...
svn-id: r34310
2008-09-03 16:56:40 +00:00
Max Horn
a41c681d9d
Merging more of the GSoC 2008 RTL branch: CINE
...
svn-id: r34244
2008-09-01 17:47:36 +00:00
Kari Salminen
41bbdc427d
Added a warning to bug #2055912 's fix committed in revision 34132.
...
svn-id: r34146
2008-08-25 12:00:38 +00:00
Kari Salminen
81e54d0555
Fix for bug #2055912 : FW: incrustSprite fails on savegame loading.
...
What little testing I did, this seems to work, but more testing
would be nice.
svn-id: r34132
2008-08-24 23:16:37 +00:00
Kari Salminen
d9d77fef03
Designate fix for bug #2057619 as a hack, as that's what it is.
...
svn-id: r34102
2008-08-22 12:11:51 +00:00
Kari Salminen
4d6101cff9
Fix typo.
...
svn-id: r34084
2008-08-21 14:43:03 +00:00
Kari Salminen
d976f8a0fe
Fix for bug #2057619 : FW: Glitches in title display of demo (regression).
...
This fix doesn't seem to break other Future Wars versions like r34039 did.
Some versions of TITRE.ANI use 15 for transparency color, others use 0.
Previously only one of the choices was supported, now both are recognized.
svn-id: r34081
2008-08-21 14:14:33 +00:00
Kari Salminen
d26a62effa
Fix font loading:
...
Fixes bug #2058539 : OS: Assert starting demo (regression).
May possibly also fix bug #2019344 : FW: crash with Amiga Italian version (photocopy room),
but not sure about that because I couldn't reproduce the bug myself.
svn-id: r34065
2008-08-20 17:31:35 +00:00
Kari Salminen
44c24e922b
Fix for bug #2057619 : FW: Glitches in title display of demo (regression).
...
Removed incorrect transparency data used for logo. Now it's shown correctly.
svn-id: r34039
2008-08-19 14:19:28 +00:00
Kari Salminen
b7dce00942
Fix for bug #2057656 : FW: Assert during demo (regression).
...
Future Wars's Amiga demo is trying to load collision data files
'L8_MK.NEO' and 'L23_MK.NEO' that aren't supplied with the demo.
Previous code crashed when a file couldn't be found,
now it gives a warning instead.
svn-id: r34036
2008-08-19 13:05:38 +00:00
Kari Salminen
97463309ba
Fix for bug #2057637 : FW: Spaceship glitches in demo (regression).
...
This was caused by assuming in-place decompression is ok, it wasn't,
although AFAIK the original did decompression in-place too.
Changed unpacking to be done not in-place and the glitch vanished.
Also changed the unpacker to also handle uncompressed input data.
svn-id: r34034
2008-08-19 11:55:20 +00:00
Kari Salminen
95aa2ce56f
Added some documentation about how data is unpacked in gfxConvertSpriteToRaw (Learned this from trying to implement convertPI1_2 i.e. gfxConvertSpriteToRaw myself to see if that was the problem with the Operation Stealth's labyrinth arcade sequence).
...
svn-id: r33976
2008-08-17 20:53:18 +00:00
Kari Salminen
a32cae809b
Forwardport of branch-0-12-0's r33966: Fix to Future Wars's rendering of type 0 overlays (i.e. color sprites). Objects with negative frame values are supposed to be jumped over (Verified with disassembly).
...
svn-id: r33967
2008-08-17 10:43:54 +00:00
Kari Salminen
cc82aeb18d
Workaround for bug #2054882 (FW: Impossible to survive entering monastery (regression)):
...
For Future Wars o1_compareGlobalVar now compares global variable 255 to be equal to everything.
The scripts probably tested global variable 255 for equality with some value (Maybe 143?)
to see whether copy protection was properly passed.
svn-id: r33950
2008-08-16 22:15:57 +00:00
Kari Salminen
f055cf5c3e
Changed AdlibRegisterSoundInstrument's member variables from unsigned 16-bit to unsigned 8-bit. Maybe this'll fix the crash in AdlibSoundDriver::setupInstrument() eriktorbjorn was getting in Future Wars when teleporting from the photocopier room to the swamp. There was a OPLWriteReg(_opl, 0x80 | car, reg->sustainRelease) call with sustainRelease = 65452. Now there shouldn't be any such calls made because the sustainRelease value is always 8-bit now. Hopefully this won't break anything.
...
svn-id: r33935
2008-08-16 11:38:43 +00:00
Christopher Page
086e3bb963
After merging trunk, Cine doesn't crash on RTL anymore. Awesome.
...
svn-id: r33926
2008-08-16 05:40:37 +00:00
Christopher Page
909b66ef54
Merged revisions 33777,33781-33788,33790,33792-33793,33795,33797,33805,33807-33812,33815-33817,33819,33822,33826,33829,33837,33839,33844,33847,33858-33861,33864,33871-33873,33875,33877-33879,33886,33889-33892,33894,33896,33900,33902-33903,33919 via svnmerge from
...
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
svn-id: r33924
2008-08-16 04:30:01 +00:00
Christopher Page
7e49b2e8a1
Fixes for Cine engine loading from launcher
...
svn-id: r33914
2008-08-15 19:44:17 +00:00
Christopher Page
9d3cdcb2da
Defined some MetaEngineFeatures for the engines, the launcher uses these features to allow/disallow loading and deleting saves
...
svn-id: r33909
2008-08-15 18:15:14 +00:00