1145 Commits

Author SHA1 Message Date
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
David Turner
6527c01cb5 GOB: Add Debug Console.
This allows interactive control of debug flags and variables and provides a base to allow
for commands to aid in tracking down script bugs which are tricky to replicate.

svn-id: r53398
2010-10-13 03:49:54 +00:00
Torbjörn Andersson
54b2a8c98d JANITORIAL: Cleanup (mostly whitespace)
svn-id: r53161
2010-10-12 04:19:58 +00:00
Sven Hesse
8e523d9d2f GOB: Fix object videos with more than 255 frames
A regression of the CoktelDecoder rewrite.

svn-id: r53043
2010-10-07 09:18:15 +00:00
Sven Hesse
7ffd94004e GOB: Try to also open VMD files in Gob3 Win
Because the scripts reference it as IMD, while there are actually
only VMDs files in the data files of the Windows version

svn-id: r53037
2010-10-05 21:22:30 +00:00
Sven Hesse
2a99d3d4b1 GOB: Silence compiler warnings
svn-id: r53036
2010-10-05 20:59:47 +00:00
Sven Hesse
b749b28c09 GOB: Fix text display in Gob3 Windows/ADI
svn-id: r53032
2010-10-05 18:54:30 +00:00
Arnaud Boutonné
305d6fc7f5 GOB: Remove useless variable
svn-id: r52957
2010-09-30 15:31:31 +00:00
Sven Hesse
947540c089 GOB: Fix 16bit cursors
svn-id: r52952
2010-09-30 13:04:43 +00:00
Sven Hesse
1d17a4157f GOB: Remove extra \n in debug warning()s
svn-id: r52951
2010-09-30 13:04:14 +00:00
Sven Hesse
89f946ba3e GOB: Transparency support for 16bit surfaces
svn-id: r52950
2010-09-30 13:03:51 +00:00
Sven Hesse
3ab8bf16a2 GOB: Create 16bit surfaces for true color games
Enabling basic Urban drawing again

svn-id: r52949
2010-09-30 13:03:22 +00:00
Sven Hesse
4f2b58b117 GOB: Remove the now useless VGAVideoDriver
svn-id: r52948
2010-09-30 13:02:50 +00:00
Sven Hesse
51fd528fe5 GOB: Change all drawing to use class Surface
svn-id: r52947
2010-09-30 13:02:16 +00:00
Sven Hesse
38e5060041 GOB: Add a new class Surface
This will be the new class managing all drawing, providing
depth-agnostic methods for all drawing operations, including 2
iterator-like classes, Pixel and ConstPixel.

svn-id: r52946
2010-09-30 13:01:07 +00:00
Sven Hesse
e68b6e9f15 GOB: Remove dither stuff, commenting out most v6 drawing
svn-id: r52945
2010-09-30 13:00:30 +00:00
Sven Hesse
b6766f0d7f GOB: Stub setting up of 16bpp graphics
svn-id: r52944
2010-09-30 12:59:48 +00:00
Sven Hesse
13d41dca41 GOB: Add kFeaturesTrueColor
svn-id: r52943
2010-09-30 12:59:18 +00:00
Sven Hesse
3cb3b1e692 GOB: Rename kFeatures640 to kFeatures640x480
svn-id: r52942
2010-09-30 12:58:52 +00:00
Torbjörn Andersson
971d5ca4b8 GOB: Don't crash if getCharData() returns NULL
This happened to me when playing the floppy version of Gobliins 2. I
don't know if it's a fix or a workaround, but the function can clearly
return NULL so let's guard against it.

svn-id: r52813
2010-09-20 00:02:12 +00:00
Torbjörn Andersson
c91a07229a JANITORIAL: Removed most punctuation at end of warning() and error()
Our warning() and error() functions always add an exclamation mark
to the end of the message anyway.

svn-id: r52791
2010-09-18 10:55:16 +00:00