Commit Graph

60 Commits

Author SHA1 Message Date
Sven Hesse
4819468d9a GOB: Add PreGob stubs for the Once Upon A Time games 2012-07-30 01:44:42 +02:00
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
0c3a33c354 GOB: Change _curTotFile and _totToLoad into Common::String
svn-id: r55629
2011-01-29 22:45:15 +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
4f2b58b117 GOB: Remove the now useless VGAVideoDriver
svn-id: r52948
2010-09-30 13:02:50 +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
6e5518271b GOB: Use the new VideoPlayer interface for coktel.imd
svn-id: r51869
2010-08-08 00:43:45 +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
Arnaud Boutonné
ff70b554ea Playtoons - implement some functions related to hotspot texts
Fascination - initial version of several 'Fascination Window' functions, proper naming of most of fascination OPCODEDRAW and OPCODEGOB functions

svn-id: r44472
2009-09-29 22:43:30 +00:00
Sven Hesse
b956c707f4 Moved the decision whether subtitles should be displayed, so that the broken subtitles in The Last Dynasty aren't shown
svn-id: r42767
2009-07-25 16:08:31 +00:00
Sven Hesse
3823ae285f Giving Font its own real class
svn-id: r42277
2009-07-09 02:54:10 +00:00
Sven Hesse
d03dc08b64 Wrapping resources (out of TOT, EXT, IM? and EX? files) loading into its own class
svn-id: r41839
2009-06-24 21:49:37 +00:00
Sven Hesse
ec5b2d6c9a Added a method to query the number of variables needed by a Script
svn-id: r41791
2009-06-23 01:20:05 +00:00
Sven Hesse
962fc19b57 Encapsulating script file access
svn-id: r41753
2009-06-22 10:13:37 +00:00
Sven Hesse
dd9e62e31e Adding DataIO::existData()
svn-id: r41752
2009-06-22 10:12:33 +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
Max Horn
400d2b10af GOB: Replaced many uses of strdupcpy by Common::String
svn-id: r41077
2009-05-31 16:59:45 +00:00
Sven Hesse
c9ff1d7492 - Changed the demo player to allow playing directly inlined scripts using a new demoIndex field in the detection array
- Changed the Inca 2 demo entry to use a directly included script instead of triggering on "demo.bat"

svn-id: r40746
2009-05-20 23:13:44 +00:00
Sven Hesse
df9932669a Plugging leaks
svn-id: r40215
2009-04-30 15:55:59 +00:00
Sven Hesse
ced59ea5e9 Moving the demo-related stuff into a demos-subdirectory
svn-id: r40212
2009-04-29 23:54:29 +00:00
Sven Hesse
383a2b3322 Added supported for BAT-based non-interactive demos, namely the Inca2 one
svn-id: r40129
2009-04-24 22:29:17 +00:00
Sven Hesse
d8972c3f2c The video now works correctly in the non-interactive Urban Runner demo
svn-id: r40128
2009-04-24 21:30:40 +00:00
Sven Hesse
893a3fc7e2 Added support for SCN-based non-interactive demos
svn-id: r40122
2009-04-24 18:23:17 +00:00
Arnaud Boutonné
ee92913683 Patch #2725859 : Added some MD5 to the gob engine, modified the way the first STK and TOT is declared, added inter and draw skeleton for Fascination
svn-id: r40059
2009-04-21 21:44:37 +00:00
Sven Hesse
5f8323bd50 Plugging leaks
svn-id: r35355
2008-12-14 04:33:28 +00:00
Sven Hesse
19146fe032 Working cursor in Urban Runner
svn-id: r35309
2008-12-12 00:10:39 +00:00
Sven Hesse
8da68b2964 Script variables are now always stored in the game version's native endianess.
This should make Woodruff playable on big-endian systems.

svn-id: r32352
2008-05-28 21:15:11 +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
Sven Hesse
fd1dbd8668 Small font-related correction
svn-id: r29006
2007-09-21 18:50:53 +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
Travis Howell
7e2390deb9 Add Lost In Time demo.
svn-id: r28580
2007-08-13 07:55:47 +00:00
Sven Hesse
34292a6b58 Minor DataIO-cleanup
svn-id: r28349
2007-07-31 01:43:32 +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
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
53119f2c5d "char *" -> "byte *" where appropriate
svn-id: r26369
2007-04-02 11:05:09 +00:00
Sven Hesse
375c63f7bc Changed waitEndSoundSlice() to react more dynamically to enforce audio/video sync
svn-id: r26332
2007-03-31 15:25:54 +00:00
Sven Hesse
d65e05841a - Fixed the IMD playing within mults, the non-interactive Gob3 demo should work better now
- Replaced strcpy with strncpy where appropriate
- Added detection entries for other languages of the multilingual Gob3 CD; bug #1691230

svn-id: r26327
2007-03-30 17:52:31 +00:00
Sven Hesse
719fb21237 Don't play coktel2.imd, but coktel.imd
svn-id: r26320
2007-03-29 19:28:47 +00:00
Sven Hesse
623ca88022 - Properly implemented the ImdPlayer
- Some more clean-up

svn-id: r26316
2007-03-29 17:55:39 +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
Max Horn
8ba2a5bb83 GOB: use EventManager::getMousePos and some cleanup
svn-id: r26220
2007-03-18 18:10:34 +00:00
Max Horn
1c80f2ffa0 calling memset to zero a buffer you are about to fill with audio data is not necessary (removing this from Gob::Snd::readBuffer); removed dead code
svn-id: r25883
2007-02-26 20:32:43 +00:00
Sven Hesse
6b2d843680 - Some fixes for demos and Amiga versions
- Improved language finding a bit

svn-id: r25520
2007-02-12 12:53:28 +00:00
Sven Hesse
cb8378065d - Changed _soundFlags and implemented "compositions"
- Changed Snd to be a permanent audiostream, to have better control over stopping, looping and compositions
- Some clean-up

svn-id: r25292
2007-01-30 22:19:55 +00:00
Sven Hesse
36a54218b1 - Another attempt at fixing the immediately-closing notepad heisenbug (#1621089)
- Implemented wide surfaces + scrolling
- Some clean-up

svn-id: r25253
2007-01-29 17:04:37 +00:00