Commit Graph
1672 Commits
Author SHA1 Message Date
Sven Hesse 68ebdf20d5 GOB: Don't clobber the global palette
svn-id: r55270
2011-01-16 22:28:20 +00:00
Sven Hesse 199b5d06af GOB: Remove unused declarations
svn-id: r55269
2011-01-16 22:27:48 +00:00
Sven Hesse 518e858d85 GOB: Allow true-color VMD cursors
svn-id: r55264
2011-01-16 16:30:15 +00:00
Sven Hesse b451d3b51c GOB: Add the property switchColorMode
To allow the videoplayer (and ultimatively the demoplayer)
to switch color modes if necessary.

svn-id: r55262
2011-01-16 16:29:19 +00:00
Sven Hesse e063ced21a GOB: Add setTrueColor()
To change ScummVM's color mode on-the-fly

svn-id: r55261
2011-01-16 16:28:47 +00:00
Sven Hesse 7de179c2c8 GOB: Add setBPP()
To allow converting the surface's bytes per pixel
without destroying it first.

svn-id: r55260
2011-01-16 16:28:17 +00:00
David Turner 04043240b1 GOB: Minor Correction in Debug Console Header.
svn-id: r55074
2010-12-31 11:00:50 +00:00
Matthew Hoops 375f32fbe9 VIDEO: Make VideoDecoder::decodeNextFrame() return a const Surface pointer
svn-id: r54927
2010-12-16 01:35:13 +00:00
Sven Hesse 08262d90fb GOB: Fix byte *getFile() for loose files
A very, very stupid error on my part :P

svn-id: r54826
2010-12-07 23:55:27 +00:00
Max Horn 6edc86a19b DEBUG: Let GUI::Debugger::preEnter and postEnter (un)pause the engine
svn-id: r54815
2010-12-07 18:54:21 +00:00
Sven Hesse 4b7af0244f GOB: Make drawYUV() more clear
(It's still wrong though :P)

svn-id: r54744
2010-12-02 21:40:17 +00:00
Arnaud Boutonné a029f6a5c4 GOB: Add back 3 empty lines used by DrMcCoy
svn-id: r54724
2010-12-01 21:08:47 +00:00
Arnaud Boutonné 250d5d81f7 GOB: little clean-up
Remove a useless include of cursorman.h and several 
superflous empty lines.

svn-id: r54718
2010-12-01 20:17:31 +00:00
Max Horn 2180b2d6b5 COMMON: Split common/stream.h into several headers
svn-id: r54385
2010-11-19 17:03:07 +00:00
Max Horn a0df86955f ALL: Push down deps on stream.h from .h to .cpp files
svn-id: r54358
2010-11-19 01:37:04 +00:00
Max Horn a008d14055 ENGINES: Do not use MemoryReadStream where (Seekable)ReadStream suffices; avoid using 'using'
svn-id: r54323
2010-11-18 16:38:03 +00:00
Max Horn 668adaa461 GUI: Rename gui/GuiManager.* to gui/gui-manager.*
svn-id: r54265
2010-11-16 10:19:01 +00:00
Max Horn 059944e59c COMMON: Push #include audiocd.h in system.h out to .cpp files
svn-id: r54148
2010-11-08 23:07:42 +00:00
Max Horn 82e473bc3b BACKENDS: Partial merge of gsoc2010-opengl: Audio CD changes only
This commit contains the AudioCDManager changes from the gsoc2010-opengl
branch. The other changes in that branch are restricted to the backends
directory only (plus configure).

The Nintendo DS and Dreamcast ports still need to be ported over to
the new Audio CD system, but that should be fairly easy to do.

svn-id: r54147
2010-11-08 22:53:36 +00:00
David Turner 224f93cf0e GOB: Extended workaround for Goblin Stuck On Reload to cover bug #3065914
This generalises the workaround added for bug #3018918 i.e. UOTODDV issue, to cover the
ICVGCGT case and hopefully all future cases, by executing the variable correction during
the reload after Game Over and using the variable read by the script triggering the movement lock, rather than the movement lock variable (59) itself as this may not be set until a later script.

svn-id: r54061
2010-11-04 06:28:51 +00:00
Sven Hesse 314d6568b3 GOB: Fix a map cleanup regression
svn-id: r54025
2010-11-01 20:47:38 +00:00
Sven Hesse 205fc94848 GOB: Fix spelling
svn-id: r54000
2010-11-01 15:36:31 +00:00
Sven Hesse ae082b2b28 GOB: Silence a compiler warning
svn-id: r53988
2010-10-31 21:47:20 +00:00
Sven Hesse 1421312cf8 GOB: Add listArchives debug console command
svn-id: r53985
2010-10-31 20:51:35 +00:00
Sven Hesse 16a3cc8a84 GOB: Clean up class DataIO
Removing the need for class DataStream and that handle mess.

svn-id: r53984
2010-10-31 20:07:14 +00:00
Sven Hesse 14d8d589e2 GOB: Make Map::getItem()/setItem() nonvirtual
svn-id: r53953
2010-10-30 17:28:54 +00:00
Sven Hesse 0f3ed50cfc GOB: Make some more map properties protected
svn-id: r53952
2010-10-30 17:28:27 +00:00
Sven Hesse 8a7d0cc249 GOB: Remove the "ugly" reading of Map::_itemPoses
Removing the need to pack that struct

svn-id: r53951
2010-10-30 17:27:53 +00:00
Sven Hesse 0f536e28f9 GOB: Rename Map::_widthByte to _mapVersion
svn-id: r53950
2010-10-30 17:27:23 +00:00
Sven Hesse bfa88a05a1 GOB: Make Map::_wayPoints protected
Only allow const access through Map::getWayPoint()

svn-id: r53949
2010-10-30 17:26:49 +00:00
Sven Hesse 4c23f3e163 GOB: Make Map::_passMap protected and group some vars
svn-id: r53948
2010-10-30 17:26:06 +00:00
Sven Hesse 1612a96285 GOB: Unify Map_v1::/Map_v2::getPass()/setPass()
svn-id: r53947
2010-10-30 17:25:29 +00:00
Sven Hesse 31dd8026dc GOB: Minor map cleanup
- Move enum Direction out of class Map
- Convert kLeft et al into a proper enum RelativeDirection

svn-id: r53946
2010-10-30 17:24:52 +00:00
Sven Hesse 66de867fe4 GOB: Fix the Gob3 ladder walking bug
Fix the bug where Blount stops in the middle of big ladders.

svn-id: r53794
2010-10-25 03:39:58 +00:00
Sven Hesse 9605cda50b GOB: Fix the Gob3 stairs walking bug
Fix the bug where blount keeps moving between two steps
of wide stairs.

svn-id: r53793
2010-10-25 03:39:28 +00:00
Sven Hesse f1d41b8326 GOB: Format optimizePoints() to be a bit more readable
svn-id: r53792
2010-10-25 03:39:04 +00:00
Sven Hesse bcb8579954 GOB: Minor map cleanup
Make the direction a named enum and create a function moveDirection()
for increasing coordinates according to a direction.

svn-id: r53791
2010-10-25 03:38:34 +00:00
Sven Hesse 27cfa21230 GOB: Fix a typo in checkDirectPath()
svn-id: r53790
2010-10-25 03:38:12 +00:00
Sven Hesse 029aee61a6 GOB: Format getDirection() to be more readable
svn-id: r53789
2010-10-25 03:37:48 +00:00
Sven Hesse d751212eb3 GOB: Add sanity checks to getPass()/setPass()
svn-id: r53788
2010-10-25 03:37:24 +00:00
Sven Hesse 3b66f3d920 GOB: Make moveAdvance() and movePathFind() a bit more readable
svn-id: r53787
2010-10-25 03:37:00 +00:00
Arnaud Boutonné cb6efae5af GOB: Replace strncmp by scumm_stricmp when possible
svn-id: r53774
2010-10-24 20:36:47 +00:00
Arnaud Boutonné 25e1af837a GOB: un-ban and fix a somehow corrupted version of Fascination
(This version has been found on original floppies)

svn-id: r53772
2010-10-24 20:20:48 +00:00
Max Horn 3534cff8ef ALL: Fix indention (whitespaces -> tabs)
svn-id: r53738
2010-10-23 15:46:50 +00:00
Sven Hesse c9f9c75a83 GOB: Extend debug console variable command a bit
...So that it's actually useful

svn-id: r53544
2010-10-16 17:25:08 +00:00
Sven Hesse 81de95671c GOB: Properly fixing the captureCounter code analysis warning
svn-id: r53492
2010-10-15 13:55:46 +00:00
Sven Hesse 835455798f GOB: Remove the now useless helper.h
svn-id: r53491
2010-10-15 13:55:18 +00:00
Sven Hesse 5c48c3fd2b GOB: Remove strncpy0()
Replacing it (and some strncpy + manual terminating) with
Common::strlcpy()

svn-id: r53490
2010-10-15 13:54:23 +00:00
Max Horn 4ccce19876 ENGINES: Enhance namespace comments a bit
svn-id: r53484
2010-10-15 12:48:19 +00:00
Sven Hesse 089988c11c GOB: Fix Code analysis warnings
See bug report #3087831

svn-id: r53464
2010-10-15 04:37:44 +00:00