Commit Graph

59 Commits

Author SHA1 Message Date
Sven Hesse
dd9e62e31e Adding DataIO::existData()
svn-id: r41752
2009-06-22 10:12:33 +00:00
Sven Hesse
ccb92ebfee Making TotTextData's item's offsets unsigned. This could fix the crash in the Polish Woodruff version (bug #2804962)
svn-id: r41497
2009-06-13 22:10:55 +00:00
Arnaud Boutonné
93e2e75a9e - Added a game_fascin skeletton, as specificities are now proven
- Added a new game time, adibouunknown, used to reference the ADI/Adibou/Addy generic environments 
- Replace oFascin_cdUnknown10 by a real function
- Fix a detail in oFascin_cdUnknown11
- Suppress double declaration for types Gob2 and Ween

svn-id: r40207
2009-04-29 16:36:08 +00:00
Sven Hesse
c88b077fcc Some minor clean-up
svn-id: r40166
2009-04-27 18:56:28 +00:00
Sven Hesse
4f576ef6c0 Implemented the non-monospaced font in the save name input field
svn-id: r35596
2008-12-29 00:03:09 +00:00
Sven Hesse
d0e2107b7e Only do the no-cd-workaround if all resource files can be found
svn-id: r35409
2008-12-17 13:07:56 +00:00
Sven Hesse
123c26675f Another collision stuff change for Urban Runner. Now you can actually move! :)
svn-id: r35372
2008-12-15 01:45:16 +00:00
Sven Hesse
f785068dc3 Some more Urban Runner changes. Still no cylindrical smoking device, though
svn-id: r35371
2008-12-15 00:27:05 +00:00
Sven Hesse
adb564e76a More changed collision stuff for Urban Runner
svn-id: r35364
2008-12-14 21:21:18 +00:00
Sven Hesse
126c5a1dc8 More modified collision stuff for Urban Runner. The hotspots are correctly recognized now
svn-id: r35350
2008-12-14 02:09:03 +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
19146fe032 Working cursor in Urban Runner
svn-id: r35309
2008-12-12 00:10:39 +00:00
Sven Hesse
c65886a3ea Changing the Urban Runner sprite drawer to work more correctly. It does use YUV data, but I can use the ditherer there
svn-id: r35308
2008-12-11 21:57:47 +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
Jordi Vilalta Prat
66e9d4f5e8 Removed trailing spaces.
svn-id: r30664
2008-01-27 19:47:41 +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
cc84bec06e Style :P
svn-id: r29965
2007-12-23 16:31:21 +00:00
Sven Hesse
f06f150c76 Restructured and cleaned-up IMD playing
svn-id: r28327
2007-07-30 15:53:38 +00:00
Sven Hesse
459868da77 sub0x18 is o2_addCollision().
It already existed in Gob2 (alongside with sub0x19 - o2_freeCollision()), but wasn't used there.
Hotspots and menus work now (in a way)

svn-id: r28207
2007-07-26 01:01:00 +00:00
Sven Hesse
99a707d89e Added a few safety checks. Now Woodruff shows the loading image (closely followed by a crash).
svn-id: r28203
2007-07-25 20:36:14 +00:00
Max Horn
e1bcd70436 Re-added __attribute__(packed)
svn-id: r27830
2007-07-01 18:18:43 +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
0504f18e9f - Added a workaround for bug #1705338 (Seg fault when trying to switch screen in music land) which is actually a script bug.
- Fixed the scrolling bug (#1709574) (the mouse cursor is still shown, that's an instance of the global cursor visibility issue)

svn-id: r27010
2007-05-30 10:20:21 +00:00
Sven Hesse
54b8a4d06f Made the collisionAreas' coordinates unsigned. This should fix bug #1706988
svn-id: r26715
2007-05-01 14:49:13 +00:00
Max Horn
00b9bc7b36 Removing lots of superfluous semicola (see mail by David Weinehall on scummvm-devel)
svn-id: r26594
2007-04-25 19:31:23 +00:00
Sven Hesse
7d7cee6649 Fix scroll handler
svn-id: r26541
2007-04-17 09:40:10 +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
7370c5aa12 The scrolling now works without cursor jittering...
svn-id: r26458
2007-04-13 07:48:26 +00:00
Sven Hesse
9c7a8bd963 Preventing scrolling while the menu is shown
svn-id: r26440
2007-04-09 18:29:51 +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
15f52b96b8 Changed language finding again
svn-id: r25525
2007-02-12 14:37:27 +00:00
Sven Hesse
3442ea1582 - Fixed another freeze in Ween
- Changed cursor visibility handling a bit

svn-id: r25407
2007-02-07 13:08:17 +00:00
Sven Hesse
7f26069f69 - Moved struct Mult_Data from Mult_v2 to Mult and merged Mult::_multData, Mult::_multData2 and some of the loose variables in Mult
- Added some missing MD5s/game versions (#1652352)

svn-id: r25393
2007-02-05 14:08:50 +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
Sven Hesse
43fb2e6ed9 Moved Paula and Infogrames to sound/mods/
svn-id: r25191
2007-01-25 15:17:46 +00:00
Sven Hesse
604077827f - Some clean-up
- Fixed sound playing and looping
- Changed Paula to use non-absolute panning, defaulting to 0.25/0.75 and 0.75/0.25, as per madmoose's suggestion
- Prepared/Cleaned-up Paula and Infogrames for the move to sound/mods/

svn-id: r25189
2007-01-25 14:18:12 +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
2768fa24fc - Fixed the crashes in Gob1 EGA and Gob2 Demo
- Fixed the compile error in GobEngine::saveGame on some systems

svn-id: r24756
2006-11-21 13:28:45 +00:00
Sven Hesse
c22920484a Changed the way sprites-freeing is handled, now the menu sprites and window decorations are drawn
svn-id: r24752
2006-11-20 13:03:30 +00:00
Sven Hesse
2454f78589 Implemented (currently still endian-unsafe) save/load
svn-id: r24745
2006-11-19 17:52:52 +00:00
Sven Hesse
3f0ebaaa18 Fixed the lock when leaving the menu
svn-id: r24719
2006-11-14 14:58:41 +00:00
Torbjörn Andersson
c32076e5d0 Use #include "..." instead of #include <...> for pack-start.h and pack-end.h
for consistency with other #includes.

svn-id: r23585
2006-07-23 16:13:26 +00:00
Max Horn
2859b64702 Fix struct packing issues (macros are not resolve in #pragma params, at least for GCC)
svn-id: r23569
2006-07-22 17:28:48 +00:00
Max Horn
f59cf1fcdc Removing GCC_PACK, we fully rely on START_PACK_STRUCTS / END_PACK_STRUCTS now (hiya eriktorbjorn, this one is for you *ggg*)
svn-id: r23547
2006-07-21 21:25:17 +00:00
Max Horn
f35f4a4d1c Use START_PACK_STRUCTS / END_PACK_STRUCTS when available, instead of checking for GCC / not GCC
svn-id: r23458
2006-07-09 13:01:15 +00:00
Sven Hesse
27a8b8a255 - Renamed a few mult-variables to something more fitting
- Fixed a small mistake, making the entering animation work
- Correcting Game_v2::playTot() so that the loading screen is shown
- Updated most of the collisions stuff, the objects names hint stuff works now

svn-id: r23346
2006-06-29 12:55:57 +00:00
Sven Hesse
243e6b2d27 Fixing Scenery::_statics, Game::_totTextData and Game::_totResourceTable
svn-id: r23078
2006-06-13 08:10:54 +00:00