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
da747553d8
Merging Map_v4 into Map_v2
...
svn-id: r42716
2009-07-24 21:36:59 +00:00
Arnaud Boutonné
a0ab8c9c0c
- Separate Playtoons gametypes from in GobEngine::initGameParts()
...
- Add a specific save/load class for Playtoons as some specific files need to be tested
svn-id: r42214
2009-07-07 11:58:22 +00:00
Sven Hesse
7e7c86a337
Removing the now unneeded Game_v* classes
...
svn-id: r42131
2009-07-05 11:30:14 +00:00
Sven Hesse
7e11c18fa2
Putting the Urban noCD check into Init_v6::initGame()
...
svn-id: r42130
2009-07-05 11:29:54 +00:00
Sven Hesse
bc4f27c6b6
Removing the now empty Game_Fascination class
...
svn-id: r42125
2009-07-05 11:28:25 +00:00
Sven Hesse
18550c1314
Moving the "Collision" stuff to Hotspots in hotspots.cpp/.h
...
svn-id: r42123
2009-07-05 11:27:54 +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
04d4ce4a8b
Putting basic TOT handling into its own class
...
svn-id: r41821
2009-06-23 23:55:19 +00:00
Sven Hesse
c3aafec1fb
Renaming parse.h and parse.cpp to expression.h and expression.cpp
...
svn-id: r41773
2009-06-22 16:30:35 +00:00
Sven Hesse
dc4e06dd6e
Pushing script.o down
...
svn-id: r41762
2009-06-22 10:30:09 +00:00
Sven Hesse
962fc19b57
Encapsulating script file access
...
svn-id: r41753
2009-06-22 10:13:37 +00:00
Sven Hesse
77f114ffcb
Dropping the v1 parser functions in favour of the extended v2 ones
...
svn-id: r41317
2009-06-07 01:45:09 +00:00
Sven Hesse
896df6daf3
- A new save system for the GobEngine, one that is not fundamentally broken and is versioned. Unfortunately, this invalidates most save games created on big-endian machines, since endian-issues was a main problem with the old system
...
- Removed the now superfluous variables sizes
svn-id: r41056
2009-05-31 02:15:43 +00:00
Sven Hesse
43f58b2869
Moving CoktelVideo (IMD/VMD) and the Indeo3 code (needed for Urban Runner's VMDs) to graphics/video/
...
svn-id: r40744
2009-05-20 20:41:10 +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
4688811024
Fix build
...
svn-id: r40209
2009-04-29 16:43:07 +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
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
51109a5cfc
Adding simple support for protracker playback
...
svn-id: r39550
2009-03-19 23:40:59 +00:00
Sven Hesse
49e0a52ee1
Modified collision init functions for Urban Runner
...
svn-id: r35341
2008-12-13 16:35:14 +00:00
Sven Hesse
dce40f6ffe
Added a SaveLoad for Urban Runner with an entry to make the scripts believe the file mdo.def (config file created by the original installer) always exists
...
svn-id: r35338
2008-12-13 13:18:16 +00:00
Sven Hesse
99322bf68f
Experimental support for VMD frames encoded in Indeo 3 (Indeo 3 decoder closely based on the one in ffmpeg).
...
Since Indeo 3 uses full 24bit colors (in YUV-space), frame data is mapped to the current palette (using an octree, should be the fasted way, methinks) and dithered with the Sierra-2-4A ("Filter Light") error distribution algorithm.
svn-id: r35290
2008-12-09 14:56:33 +00:00
Sven Hesse
741364602c
Urban Runner stubs
...
svn-id: r34286
2008-09-02 20:15:42 +00:00
Sven Hesse
805a46b229
Added some The Last Dynasty stubs
...
svn-id: r34217
2008-08-30 23:59:46 +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
257aaa3ced
Restructured saving/loading and added a stub for Woodruff
...
svn-id: r31989
2008-05-10 20:59:43 +00:00
Sven Hesse
18db41db50
Implemented the background "music" / atmospheric sounds in Woodruff
...
svn-id: r31949
2008-05-08 15:51:02 +00:00
Sven Hesse
0c827c8ceb
Split off the actual mixing part of SoundBlaster
...
svn-id: r31938
2008-05-08 01:27:36 +00:00
Sven Hesse
220d6ce82f
Restructured sound code
...
svn-id: r31937
2008-05-08 00:47:23 +00:00
Jordi Vilalta Prat
38a8aa516e
Allow static and dynamic plugins to be used at the same time
...
svn-id: r31888
2008-05-06 03:00:26 +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
Jordi Vilalta Prat
66e9d4f5e8
Removed trailing spaces.
...
svn-id: r30664
2008-01-27 19:47:41 +00:00
Sven Hesse
5bacb6edee
Woodruff is now controllable
...
svn-id: r28591
2007-08-13 14:04:50 +00:00
Sven Hesse
f06f150c76
Restructured and cleaned-up IMD playing
...
svn-id: r28327
2007-07-30 15:53:38 +00:00
Sven Hesse
88f265d584
Renamed Inter_Woodruff to Inter_v4
...
svn-id: r28206
2007-07-25 22:55:00 +00:00
Sven Hesse
3d2c1c5ab8
- Added Inter_Woodruff, alongside with the first Stub (OpcodeFunc 0x18)
...
- Yet another safety check
- Removed another hard-coded screen height
svn-id: r28205
2007-07-25 21:48:47 +00:00
Sven Hesse
bd69261cf5
Bargon Attack uses wide surfaces, but shouldn't scroll in-game regardless
...
svn-id: r26522
2007-04-16 05:04:41 +00:00
Sven Hesse
dee8a04168
Restructured saving/loading. Should work for Gob3 now, too...
...
svn-id: r26414
2007-04-08 00:08:26 +00:00
Sven Hesse
a17df6e4c6
Some Gob3 fixes:
...
- wrong positioning of the inventory
- walking
- close-up fadeing in the CD version
svn-id: r26390
2007-04-06 13:30:09 +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
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
Eugene Sandulenko
6a20ddf1d2
Moved Gob engine to AdvancedDetector.
...
svn-id: r25274
2007-01-30 02:17:46 +00:00
Max Horn
9a955180a4
* Renamed config.mak to config.mk
...
* Renamed common.rules to rules.mk
* Removed explicit declaration of MODULE_DIRS in various spots (instead we let rules.mk compute it)
svn-id: r23275
2006-06-24 08:48:11 +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
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
Sven Hesse
ab48280f73
- I misunderstood Draw::initBigSprite(); fixed
...
- Changed Draw::spriteOperation() for blitting from/to/between and
fillrecting to big sprites
- Enabled drawing of text
svn-id: r22001
2006-04-18 09:59:18 +00:00