Max Horn
ac59693be2
A ton of code formatting fixes; also fixed warnings about single line loops like 'while(cond);' by inserting newlines
...
svn-id: r36127
2009-01-29 05:26:12 +00:00
Sven Hesse
f1b0e379d1
Only try playing object videos when the game version supports that (only Woodruff, for now)
...
svn-id: r32737
2008-06-19 16:27:49 +00:00
Sven Hesse
7227ddb6fa
Changed anim/static PieceDesc loading, to allow for more sanity checks.
...
This should take care of all invalid reads in renderStatic(), updateStatic() and updateAnim()
svn-id: r32292
2008-05-26 15:29:12 +00:00
Sven Hesse
afa92cf083
Added updateStatic()'s sanity checks to renderStatic() as well.
...
Fixes an invalid read when entering the red light district
svn-id: r32246
2008-05-24 14:54:22 +00:00
Sven Hesse
5127f1a8f1
Fixing the "object videos not minding drawing order / limits" glitch in Woodruff
...
svn-id: r32146
2008-05-17 04:07:16 +00:00
Sven Hesse
85d28316ac
Implemented support for object videos with more than 256 frames, this fixes a lockup when entering the bar
...
svn-id: r32087
2008-05-13 15:52:01 +00:00
Sven Hesse
220d6ce82f
Restructured sound code
...
svn-id: r31937
2008-05-08 00:47:23 +00:00
Sven Hesse
5681ae1e82
Draw order related fixes.
...
This also (finally) fixes the Gob3 draw order glitch (for real, this time)
svn-id: r31915
2008-05-07 02:56:18 +00:00
Sven Hesse
a666136b8e
Fixing object video related segfault
...
svn-id: r31797
2008-05-01 18:38:36 +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
1f80f1f47e
Fixing the scenery/overlay redrawing in Woodruff
...
svn-id: r29324
2007-10-30 10:47:24 +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
e151167dd8
Some more safety checks and the first room's background can be seen
...
svn-id: r28204
2007-07-25 21:02:30 +00:00
Chris Apers
546fcc6195
Fixed invalid read from odd address in some cases (Gob1 EGA on PalmOS)
...
svn-id: r27487
2007-06-16 20:30:32 +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
3260684066
Fixed the background glitch
...
svn-id: r26438
2007-04-09 16:56:47 +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
33c6a6f460
Fixing curly bracket style
...
svn-id: r26326
2007-03-29 21:03:32 +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
65bb902be9
- Fixed the actor freeze issue in the garage in Bargon Attack
...
- Some minor fixes
svn-id: r25921
2007-03-02 11:37:42 +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
b30c615165
Fixed the loading delay bug I introduced with the playing from CD fix ( #1626308 )
...
svn-id: r25006
2007-01-05 18:16:05 +00:00
Sven Hesse
b7997a7231
- Fixed a few mistakes that added up to look correct, fixing bargon's cursor
...
- Updated cursor drawing in general
svn-id: r23429
2006-07-08 16:37:23 +00:00
Sven Hesse
a709eb05b7
More READ_LE_* -> MemoryReadStream conversion + minor cleanup
...
svn-id: r23089
2006-06-13 17:02:53 +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
f52921fb9b
Using MemoryReadStream for Scenery::loadAnim()
...
svn-id: r23073
2006-06-12 22:21:07 +00:00
Sven Hesse
796b001b4f
Fixing loading of Scenery::_animations[] + small gob2 cleanup
...
svn-id: r23066
2006-06-12 21:33:30 +00:00
Sven Hesse
897fa6a5a6
More stub-filling + small clean-up
...
svn-id: r23012
2006-06-10 14:37:48 +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
cff96b0a75
- Seems like I forget a branch in Mult_v2::animate()
...
- sub_1A52B is Scenery::updateStatic()
svn-id: r21889
2006-04-14 18:18:46 +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
Sven Hesse
fbefbfc160
Updating more opcodes for Gob2
...
svn-id: r20731
2006-02-16 20:25:59 +00:00
Max Horn
26ee630756
Moved engines to the new engines/ directory
...
svn-id: r20582
2006-02-11 22:45:04 +00:00