Commit Graph

82 Commits

Author SHA1 Message Date
Sven Hesse
b7ae6a93a9 GOB: Fix a segfault when quitting AJ's World 2012-06-16 17:20:45 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Sven Hesse
4e66280388 GOB: Implement o7_loadFunctions and o7_callFunction
svn-id: r55640
2011-01-29 22:50:41 +00:00
Sven Hesse
ffc4af820f GOB: _environments doesn't need to be a pointer
svn-id: r55636
2011-01-29 22:48:44 +00: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
05d5d64d6c GOB: Rename "skipPlay" to "function" in playTot
svn-id: r55628
2011-01-29 22:44:36 +00:00
Sven Hesse
eb3667d7c9 GOB: Implement backuping of sprites, sounds, fonts in totSub
svn-id: r55565
2011-01-27 13:27:58 +00:00
Sven Hesse
1686ecdf83 GOB: Increase kEnvironmentCount to 20 for Addy
svn-id: r55545
2011-01-26 19:02:20 +00:00
Sven Hesse
081fa85b14 Playtoons uses a variable space that exceeds 32767 bytes. Changing a few variables to unsigned makes the construction mode not crash anymore (though it now hangs in a loop)
svn-id: r43713
2009-08-24 22:37:09 +00:00
Sven Hesse
256a27350a Changed the scroll-handling to be more like the original. This fixes bug #2832362 ("GOB3: Scrolling locked after cutscene")
svn-id: r43147
2009-08-08 21:43:07 +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
14172febf7 Merging playTot()
svn-id: r42129
2009-07-05 11:29:30 +00:00
Sven Hesse
7be3530ffb Merging Game's and Game_v6's totSub()
svn-id: r42128
2009-07-05 11:29:13 +00:00
Sven Hesse
4e70129d60 Merging Game_v1's and Game_v2's prepareStart()
svn-id: r42127
2009-07-05 11:28:57 +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
d2c2386c6a Adding an enum MouseButtons
svn-id: r42119
2009-07-05 11:26:23 +00:00
Sven Hesse
e39b5b986e Oops, used git commit --amend wrong, apparently. /This/ is the real Environments change I wanted to push
svn-id: r41868
2009-06-25 15:29:19 +00:00
Sven Hesse
8343bc6cc0 Giving the "backup" arrays their own class, Environments, and really plugging all related leaks
svn-id: r41860
2009-06-25 10:55:01 +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
b6a26911a3 Giving CollisionArea a full-blown Script pointer instead the data pointer
svn-id: r41757
2009-06-22 10:15:52 +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
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