Commit Graph

37 Commits

Author SHA1 Message Date
Johannes Schickel
44068338e5 GOB: Made some static data const. 2011-09-08 20:03:30 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Sven Hesse
113d5a5a9a GOB: Make flags optional in Video::initSurfDesc
svn-id: r55728
2011-02-02 16:48:46 +00:00
Sven Hesse
076b9c9e53 GOB: Remove the vidMode parameter from Video::initSurfDesc
svn-id: r55727
2011-02-02 16:48:04 +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
51fd528fe5 GOB: Change all drawing to use class Surface
svn-id: r52947
2010-09-30 13:02:16 +00:00
Sven Hesse
f2e5eb78bb GOB: Play 23 frames backwards, not back to frame 23
svn-id: r51882
2010-08-08 00:49:38 +00:00
Sven Hesse
8a09b25f7b GOB: Make the Bargon Attack intro use the new VideoPlayer interface
svn-id: r51879
2010-08-08 00:48:23 +00:00
Johannes Schickel
cbbb78d9f2 Enforce conversion formatting on pointer casts in the DEV code.
svn-id: r49068
2010-05-17 22:46:53 +00:00
Sven Hesse
e861fab808 Added a Key and ShortKey enum
svn-id: r42121
2009-07-05 11:27:11 +00:00
Sven Hesse
d2c2386c6a Adding an enum MouseButtons
svn-id: r42119
2009-07-05 11:26:23 +00:00
Sven Hesse
6c47f9f4f8 Changed opcodeGob to be functor-based
svn-id: r41603
2009-06-17 04:16:51 +00:00
Sven Hesse
8615c57791 Changed opcodeFunc to be functor-based
svn-id: r41602
2009-06-17 04:16:21 +00:00
Sven Hesse
25c92dfdef Changed opcodeDraw to be functor-based
svn-id: r41601
2009-06-17 04:15:45 +00:00
Sven Hesse
64a920d52f Renamed the evaluateStore opcodes to assign, because that's what they are
svn-id: r41312
2009-06-06 23:39:58 +00:00
Max Horn
0989bb0b90 GOB: Got rid of class ReferenceCounter; changed SurfaceDesc::Ptr to SurfaceDescPtr (a Common::SharedPtr); and changed many SurfaceDesc pointers to references
svn-id: r41299
2009-06-06 20:03:13 +00:00
Sven Hesse
1656f69183 Replacing NULL with 0, since that's normally the C++-way
svn-id: r41059
2009-05-31 03:32:16 +00:00
Sven Hesse
4ceecdb25f Preliminary save/load support for Urban Runner
svn-id: r35418
2008-12-18 02:48:15 +00:00
Sven Hesse
f825ccd63f Script fix. Magnifier, Memory and Save/Load, while still not working correctly, don't crash the game anymore
svn-id: r35385
2008-12-15 16:01:39 +00:00
Sven Hesse
68dcb1ffee Background "music" for Urban Runner, though only 8bit for now
svn-id: r35352
2008-12-14 03:44:39 +00:00
Sven Hesse
5d9c8b7c47 Changing the GobEngine to use its dirty rects also for OSystem-copies, instead of relying on kFeatureAutoComputeDirtyRects
svn-id: r35239
2008-12-04 18:38:55 +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
Christopher Page
30b1a62e81 Removed unnecessary #inlcudes
svn-id: r32984
2008-07-10 05:15:19 +00:00
Christopher Page
e808cdf7a0 Reimplemented pushEvent() and artificialEventQueue to work with Events instead of EventTypes. Reimplemented Queue as a List instead of Array. Updated AGOS, AGI, CINE, GOB, and KYRA to work with the current implementation of the GMM
svn-id: r32971
2008-07-09 02:27:05 +00:00
Christopher Page
a43f016b94 GOB works with the new GMM implementation
svn-id: r32955
2008-07-08 00:16:55 +00:00
Christopher Page
c14804e22f Added main menu dialog files. Gob is now using the new _quit flag
svn-id: r32771
2008-06-24 23:19:23 +00:00
Sven Hesse
220d6ce82f Restructured sound code
svn-id: r31937
2008-05-08 00:47:23 +00:00
Sven Hesse
ab1a3b0cc8 Implemented support for VMDs substituting object animations.
Still far from being complete (and correct), but it's a start...

- Only VMD "command" -3 is followed
- Not all animation types are working
- Timing is still off in most cases
- Offsets are generally OK, but not always
- No sound yet
- Shouldn't segfault randomly, but I'm not entirely sure ;)

svn-id: r31750
2008-04-27 03:19:19 +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
f06f150c76 Restructured and cleaned-up IMD playing
svn-id: r28327
2007-07-30 15:53:38 +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
96c6ae041f Added save/load stub for Gob3, recognizing the use of "INTRO.$$$" as an extra background buffer
svn-id: r26386
2007-04-05 16:04:59 +00:00
Sven Hesse
53119f2c5d "char *" -> "byte *" where appropriate
svn-id: r26369
2007-04-02 11:05:09 +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
d706d8e4c0 Implemented vertical scrolling
svn-id: r25401
2007-02-06 14:42:05 +00:00
Sven Hesse
f54a97a02c - Plugged some leaks and fixed some memory errors
- Fixed the cursor animation loops in Ween and Bargon
- Added Draw_Bargon + Inter_Bargon
- Implemented Bargon Attack's hardcoded intro parts

svn-id: r25387
2007-02-04 15:45:15 +00:00