Commit Graph

28 Commits

Author SHA1 Message Date
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
Sven Hesse
6e0835da11 - Fixed cut off and missing sounds
- Fixed a crash/static reported in the forums (sending Winkle to the vulture)
- (Hopefully) fixed the immediately-closing notepad heisenbug (#1621089)
- Fixed using unitialised values after allocating the variables

svn-id: r25025
2007-01-06 11:17:20 +00:00
Sven Hesse
9afb08341c - Properly implemented o2_getCDTrackPos()
- Each save has now its own file (.s??). They also should be endian-safe now
  (Can be disabled for testing by uncommenting #define GOB_ORIGSAVES in gob.cpp)
- General endianness-fixes

svn-id: r24794
2006-11-27 14:19:30 +00:00
Sven Hesse
6ee511e68b Added another field to the GameSettings for the intro.tot, because the Gobliins 2 demo uses usa.tot
instead

svn-id: r23701
2006-08-12 12:35:18 +00:00
Sven Hesse
1c4715b71f - Some more goblins-handling functions
- Fixed some mistakes I made in the Parse_v2 functions. Now the goblins
  (finally) move. Also, the correct music is played in the first screen.
- Found the hook for the menu
- On freeing a sound slot, only stop the playing music if it's in the
  slot to free

svn-id: r23700
2006-08-12 09:16:08 +00:00
Sven Hesse
243e6b2d27 Fixing Scenery::_statics, Game::_totTextData and Game::_totResourceTable
svn-id: r23078
2006-06-13 08:10:54 +00:00
Sven Hesse
05499f58dd - Removed usage of OSystem::quit(), added a _quitRequested variable
- Fixed some leaks, unitialized memory and delete/delete[]-errors

svn-id: r22790
2006-05-31 08:44:14 +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
Sven Hesse
2eabfd5f28 - More differences in Draw_v2::spriteOperation()
- GOB2 handles _frontSurface/_backSurface a bit differently, this fixes
  (most of) the drawing glitches in the intro
- Added using a fallback when the user's game version doesn't have the
  requested language
- off_2E51B et al. stubs, I think it has something to do with the menu

svn-id: r22254
2006-05-01 12:43:50 +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