20849 Commits

Author SHA1 Message Date
Max Horn
8fae7d8b02 Fixed warning: warning: base class 'struct Parallaction::Node' should be explicitly initialized in the copy constructor
svn-id: r26235
2007-03-18 23:04:44 +00:00
Johannes Schickel
1d395cccee Allows cross compiling for windows with mingw32.
svn-id: r26234
2007-03-18 22:56:56 +00:00
Max Horn
995a4d7cff Some fixes to cope with the move of the event code from OSystem to Common
svn-id: r26233
2007-03-18 21:55:57 +00:00
Nicola Mettifogo
0bc056aee3 Made loadStatic return a new StaticCnv instead of accepting a parameter. All disk functions now accept only a resource name as their parameter.
svn-id: r26232
2007-03-18 21:15:39 +00:00
Nicola Mettifogo
992f535724 Made loadFrames return a new Cnv instead of accepting a parameter.
svn-id: r26231
2007-03-18 21:08:28 +00:00
Nicola Mettifogo
4966b755f0 changed DoorData::_cnv to be a pointer, in view of changes to Disk::loadFrames()
svn-id: r26230
2007-03-18 21:00:22 +00:00
Nicola Mettifogo
548a522733 changed Animation::_cnv to be a pointer, in view of changes to Disk::loadFrames()
svn-id: r26229
2007-03-18 20:35:12 +00:00
Nicola Mettifogo
7e310422c3 - added constructors for most structs
- structs are now allocated via new instead of malloc's
- respective free's have been replaced with delete

svn-id: r26228
2007-03-18 20:18:19 +00:00
Nicola Mettifogo
2ea44bf1ee changed code to use WalkNode constructors
svn-id: r26227
2007-03-18 19:59:56 +00:00
Nicola Mettifogo
f14a5c17f2 - Made global Node's (_zones, _animations, _helperNode) and the functions using them members of the engine.
- Added a constructor for Node

svn-id: r26226
2007-03-18 19:35:54 +00:00
Max Horn
2c3152ea62 Fix for bug #1683111 (PSP: unable to build latest svn version 26210)
svn-id: r26225
2007-03-18 18:59:35 +00:00
Max Horn
b44d93d068 QUEEN: Make use of EventManager::getMousePos
svn-id: r26224
2007-03-18 18:55:11 +00:00
Max Horn
94739cdbca SAGA: Make use of EventManager::getMousePos
svn-id: r26223
2007-03-18 18:45:36 +00:00
Max Horn
f1497d5aa9 CINE: Make use of EventManager::getMousePos
svn-id: r26222
2007-03-18 18:34:16 +00:00
Max Horn
888e68f433 KYRA: Changed to use EventManager::getMousePos (should improve some things: the old code did not properly track the mouse upon click events, and KyraEngine::waitForEvent ignored _flags.useHiResOverlay)
svn-id: r26221
2007-03-18 18:27:52 +00:00
Max Horn
8ba2a5bb83 GOB: use EventManager::getMousePos and some cleanup
svn-id: r26220
2007-03-18 18:10:34 +00:00
Robert Göffringmann
139608f451 Fixed bug #1678349: BASS: music is off, but drum track plays
svn-id: r26219
2007-03-18 17:58:26 +00:00
Max Horn
dd61b25634 More AGOSEngine::waitForInput refactoring
svn-id: r26218
2007-03-18 17:55:11 +00:00
Nicola Mettifogo
29bf77d5b1 hidden _cnv member of Animation from callers
svn-id: r26217
2007-03-18 17:33:54 +00:00
Nicola Mettifogo
c1f84742f9 changed remaining stuff to Common::Point and got rid of custom Point and Rect
svn-id: r26216
2007-03-18 17:22:07 +00:00
Nicola Mettifogo
0e370a4162 converted DoorData and Zone to Common::Point
svn-id: r26215
2007-03-18 17:17:21 +00:00
Nicola Mettifogo
919985e4df converted input and labels to Common::Point
svn-id: r26214
2007-03-18 17:12:48 +00:00
Nicola Mettifogo
ff5ec6462e converted walk routines to use Common::Point
svn-id: r26213
2007-03-18 17:03:07 +00:00
Robert Göffringmann
edd4e73787 minor cleanup
svn-id: r26212
2007-03-18 16:50:39 +00:00
Johannes Schickel
c7c79e33db Fixed various gui strings in German floppy.
svn-id: r26211
2007-03-18 16:15:19 +00:00
Max Horn
8bf7953839 Refactoring AGOSEngine::waitForInput some more (in baby steps, so that if I break something, it'll be easier to figure out at which point I did it :)
svn-id: r26210
2007-03-18 14:33:13 +00:00
Torbjörn Andersson
003dfed001 Fixed control panel sliders.
svn-id: r26209
2007-03-18 14:30:26 +00:00
Robert Göffringmann
3f6745a2f4 Applied eriktorbjorn's patch for bug #1657466:
"BASS: wrong music slider behavior"
and did some cleanup.

svn-id: r26208
2007-03-18 14:08:34 +00:00
Max Horn
612e7a3eeb Refactoring AGOSEngine::waitForInput a bit (by resolving gotos)
svn-id: r26207
2007-03-18 13:53:51 +00:00
Max Horn
72ee9ee86a Changed AGOS to use the EventManager to track the mouse position; added a FIXME comment about _mouseOld never being set
svn-id: r26206
2007-03-18 13:29:12 +00:00
Torbjörn Andersson
48cb57ec89 Let the event manager keep track of the mouse position.
svn-id: r26205
2007-03-18 12:53:28 +00:00
Johannes Schickel
d611e81672 - little 'cleanup'
- finished MSC file support for Amiga version

svn-id: r26204
2007-03-18 12:08:13 +00:00
Nicola Mettifogo
791ad09510 Made loadFont return a new Cnv instead of accepting a parameter.
svn-id: r26203
2007-03-18 10:38:31 +00:00
Nicola Mettifogo
13385a5f2d Made loadObjects return a new Cnv instead of accepting a parameter.
svn-id: r26202
2007-03-18 10:34:41 +00:00
Nicola Mettifogo
8f74bc15ae - made loadPointer return a new StaticCnv instead of accepting a parameter.
- adjusted Gfx code handling mouse pointers.

svn-id: r26201
2007-03-18 10:30:51 +00:00
Nicola Mettifogo
ec58e9ac05 Made loadHead return a new Cnv instead of accepting a parameter.
svn-id: r26200
2007-03-18 10:25:46 +00:00
Nicola Mettifogo
35cebe2444 Made loadTalk return a new Cnv instead of accepting a parameter.
svn-id: r26199
2007-03-18 10:20:38 +00:00
Nicola Mettifogo
0aedc8d67f Removed old and commented hack code for Dino in the museum location.
svn-id: r26198
2007-03-18 09:35:48 +00:00
Nicola Mettifogo
6d718d27f5 extracted more code from runDialogue and renamed some key variables
svn-id: r26197
2007-03-18 09:34:19 +00:00
Torbjörn Andersson
31bc152cc1 Fixed bug that caused the music to stop. I don't know if this is a regression,
or it if was just luck that it worked before.

svn-id: r26196
2007-03-18 09:33:42 +00:00
Nicola Mettifogo
abaef3f5af removed unused parameter from Gfx::flatBlitCnv
svn-id: r26195
2007-03-18 09:16:12 +00:00
Nicola Mettifogo
03249397e0 more formatting
svn-id: r26194
2007-03-18 09:09:02 +00:00
Nicola Mettifogo
97426c8808 formatting
svn-id: r26193
2007-03-18 09:06:22 +00:00
Nicola Mettifogo
88ce9c83bd broke down huge runDialogue in more manageable chunks
svn-id: r26192
2007-03-18 08:58:41 +00:00
Torbjörn Andersson
ecf976b5ea Oops.
svn-id: r26191
2007-03-18 08:58:25 +00:00
Nicola Mettifogo
8240027712 Bug fixed: inventory wasn't refreshed when loading a savegame if character was not switched. To make things clearer, character are now forced to reload all of their data on switch/load.
svn-id: r26190
2007-03-18 08:29:45 +00:00
Nicola Mettifogo
5ffd410e30 fixed usage of reference operator
svn-id: r26189
2007-03-18 08:15:54 +00:00
Neil Millstone
08d8286410 adding key scanning functions compatible with ScummVM's IPC
svn-id: r26188
2007-03-18 01:45:14 +00:00
Sven Hesse
d95fd5e3d4 Repaired/Corrected the MD5 list
svn-id: r26187
2007-03-17 21:41:52 +00:00
Nicola Mettifogo
794fa64de1 added getRect() to Zone to slightly simplify hitZone condition check
svn-id: r26186
2007-03-17 21:17:00 +00:00