Commit Graph
32 Commits
Author SHA1 Message Date
Sven Hesse d43af8da79 GOB: Fix a very stupid typo in the pathfinder 2011-11-03 17:01:54 +01:00
strangerke 69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Sven Hesse c88ee19478 GOB: Stub some Adibou mult stuff
svn-id: r55653
2011-01-30 13:14:32 +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 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 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
Max Horn 51933629d1 Changed foo(void) to foo() in almost all non-backend source files
svn-id: r45616
2009-11-02 21:54:57 +00:00
Torbjörn Andersson 0999534749 The error() and warning() functions add ! and newline automatically. (I didn't
look at debug() and debugC(), since I'm really bored with this now. :-)

svn-id: r41061
2009-05-31 10:02:16 +00:00
Sven Hesse 5c060ef5d9 Fixing _itemsMap access (bug #2069177)
svn-id: r34113
2008-08-23 14:18:12 +00:00
Sven Hesse 220d6ce82f Restructured sound code
svn-id: r31937
2008-05-08 00:47:23 +00:00
Paul Gilbert 6eb64102a4 Fix to remove a tab character from the GPL header
svn-id: r30238
2008-01-05 12:45:14 +00:00
Nicola Mettifogo 258901bab9 Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
svn-id: r28966
2007-09-19 08:40:12 +00:00
Sven Hesse 5bacb6edee Woodruff is now controllable
svn-id: r28591
2007-08-13 14:04:50 +00:00
Sven Hesse 09c2ea82de - Separated game type and features
- Added feature constants for a 640x480 resolution and adlib
- Added support for game with a 640x480 resolution. Woodruff now inits the screen before it segfaults

svn-id: r28185
2007-07-24 23:24:40 +00:00
Max Horn 218e132e37 Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
2007-05-30 21:56:52 +00:00
Sven Hesse ec5a9eee31 - Minor cleanup
- Added Inter_v3 (for new opcode o3_getTotTextItemPart)
- Some fixes to let Gob3 start with the first screen

svn-id: r26383
2007-04-05 13:37:20 +00:00
Sven Hesse 2dc7cb2cd4 Major clean-up, including:
- Cutting down the code-dup
- Plucking leaks
- Removing dead/unused code
- Properly naming "word_2342F"-style variables and functions (removing the warnings alongside)
- Fleshing out the "stubby" functions
- Moving functions and variables to more appropriate/logical places
- Re-ordering functions and variables
- Re-structuring functions
- Moving the IMD stuff into a new "Imd" class in the new imd.cpp/.h (still to be completely implemented and cleaned up)
- Formatting
- Getting rid off the classes "Anim", "Pack" and "Timer", along with their files

svn-id: r26252
2007-03-20 14:51:57 +00:00
Sven Hesse 16015aaa3b Repaired the pathfinding in Bargon Attack
svn-id: r25915
2007-03-01 14:41:40 +00:00
Sven Hesse 5df29654fc - Added a warning when o1_checkData()/o2_checkData() can't find the file it's supposed to check
- Fixed the actor drawn over the background glitch in Bargon Attack
- Plugged some leaks

svn-id: r25651
2007-02-17 09:56:09 +00:00
Sven Hesse 1c9c972d05 - Fixed Ween's inventory in the volcano (#1630113)
- Added a range check to avoid invalid reads into _wayPoints in Map::checkDirectPath()

svn-id: r25402
2007-02-06 19:16:41 +00:00
Sven Hesse 34dae22c1a More goblin handling functions, now the deactivated goblin shows
his boredom. It's the wrong goblin that's deactivated, though.
Also, the entering animation is still missing (now nothing is drawn
instead).

svn-id: r22979
2006-06-07 18:49:20 +00:00
Sven Hesse d6f1ba1540 - More GOB2 map conversions
- Added Music_Dummy (for --music-driver=null)
- Implemented IMDs. That took longer than I expected...
  On the bright side, Ween's intro now plays more correctly

svn-id: r22754
2006-05-29 18:24:52 +00:00
Sven Hesse 42e03bd707 - Sound! Still a bit glitchy, though:
- Negative frequences?!? Maybe "SFX"?
  - No sound for a small part of the intro
    (there aren't any sndKeys covering that part either)
  - A rythm-instrument (hi-hat?) in the titlemusic isn't played as one
- More differences in the drawing functions fleshed out
- Some of the goblin handling functions written
- More unnamed functions and variables, wheeee...

svn-id: r22410
2006-05-11 19:43:30 +00:00
Max Horn 8cdee5a931 Do not #include endian.h in scummsys.h (cuts down deps on endian.h from ~400 to ~250). Many greetings to eriktorbjorn, and have fun recompiling.
svn-id: r21500
2006-03-29 15:59:37 +00:00
Max Horn 26ee630756 Moved engines to the new engines/ directory
svn-id: r20582
2006-02-11 22:45:04 +00:00