20667 Commits

Author SHA1 Message Date
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
Nicola Mettifogo
e6f64e83dd added translate() to Zone
svn-id: r26185
2007-03-17 21:06:19 +00:00
Nicola Mettifogo
74f7a90886 renamed structures to be more general
svn-id: r26184
2007-03-17 20:51:13 +00:00
Nicola Mettifogo
b80dab6c73 added getters for width and height in Zone and Animation
svn-id: r26183
2007-03-17 20:48:23 +00:00
Nicola Mettifogo
54201ddaa9 split Zone::_oldPosition in two members
svn-id: r26182
2007-03-17 20:19:16 +00:00
Nicola Mettifogo
d7f31cf55d Flattened anonymous union in Zone. Its members have been partially merged.
svn-id: r26181
2007-03-17 19:48:48 +00:00
Max Horn
ed54ea9155 Moved Event/EventType/keyboard enum from common/system.h (part of class OSystem) to common/events.h (part of namespace Common). Porters may have to make minor changes to their backends to get them to compile again
svn-id: r26180
2007-03-17 19:02:05 +00:00
Nicola Mettifogo
f272d19570 cleanup
svn-id: r26179
2007-03-17 17:52:30 +00:00
Eugene Sandulenko
3a36ac02a1 Add Spanish bargon MD5 as pointed in bugreport
#1681649: "MD5: BARGON ATTACK Spanish"

svn-id: r26178
2007-03-17 17:13:52 +00:00
Max Horn
478c0644f1 SKY: Changed Control class to use event manager for mouse coord tracking, and also made it respect the SF_MOUSE_LOCKED flag
svn-id: r26177
2007-03-17 16:31:46 +00:00
Max Horn
59064dbef4 SKY: respect the SF_MOUSE_LOCKED flag upon mouse clicks, too
svn-id: r26176
2007-03-17 16:22:51 +00:00
Torbjörn Andersson
8a2529b2d6 Allow synthetic events in dialog windows, e.g. so you can use keyboard repeat
when scrolling the list of savegames.

svn-id: r26175
2007-03-17 16:08:29 +00:00
Max Horn
cfe7ecd6d9 Don't track the modifier state, use the eventmanager instead (this also fixes bug #1657322, GUI: 'Mass Add' button text does not revert after mass add)
svn-id: r26174
2007-03-17 16:05:16 +00:00
Max Horn
b765e998f7 use _ prefix for member vars, as per our code formatting conventions
svn-id: r26173
2007-03-17 15:52:35 +00:00
Torbjörn Andersson
805f2b6591 Mention keyboard repeat change.
svn-id: r26172
2007-03-17 15:47:50 +00:00
Robert Göffringmann
4a11e7299a fixed MSVC compiler warning because winnt.h defines its own ARRAYSIZE #define
svn-id: r26171
2007-03-17 15:45:05 +00:00
Torbjörn Andersson
53624376b4 Applied my re-revised patch #1487149 ("Simplified keyboard repeat"), with
Fingolfin's blessings. Keyboard repeat is now handled by the event manager,
rather than by individual engines.

Since this can cause problems with some engines (see the AGI engine), the extra
"key down" events are marked as "synthetic", so that they can be ignored if
necessary.

svn-id: r26170
2007-03-17 15:44:26 +00:00
Max Horn
e72455c215 cleanup
svn-id: r26169
2007-03-17 14:34:50 +00:00
Torbjörn Andersson
d378b78b6a Allow using the left/right keys to select button in a selection box. (Selection
boxes are used, for instance, when asking the player to verify that he wants to
save the game to a specific slot.)

svn-id: r26168
2007-03-17 13:31:48 +00:00
Nicola Mettifogo
56143c4c73 recent changes to projects
svn-id: r26167
2007-03-17 13:20:39 +00:00
Nicola Mettifogo
aca3cfad51 cleanup
svn-id: r26166
2007-03-17 13:19:30 +00:00
Nicola Mettifogo
9c137c25cb oops forgot to commit changes for Command
svn-id: r26165
2007-03-17 13:18:03 +00:00
Nicola Mettifogo
48460e2ea6 - Made Node a superclass for Zone, WalkNode, Command, Instruction, Program and Job.
- Moved Job list management inside Parallaction (because constructors for global variables are not always invoked on some platforms)

svn-id: r26164
2007-03-17 13:14:50 +00:00
Max Horn
9751421434 Added class NonCopyable, and made various things derive from it
svn-id: r26163
2007-03-17 10:36:14 +00:00
Torbjörn Andersson
c1f4dbda77 Use the new getButtonState() function to test if the mouse button is still
pressed. This way, it won't matter if we've already missed the "mouse up"
event. Fixes bug #1510038 ("BASS: Possible glitch when examining inventory
items".

svn-id: r26162
2007-03-17 09:37:47 +00:00
Nicola Mettifogo
cb5c3840ed minor cleanup
svn-id: r26161
2007-03-17 08:06:45 +00:00
Nicola Mettifogo
1f7e889fe9 renamed freeCharacterFrames() to freeCharacter() for consistency
svn-id: r26160
2007-03-17 07:56:45 +00:00
Nicola Mettifogo
b515721ed8 some renaming to shorten lines
svn-id: r26159
2007-03-17 07:55:16 +00:00
Nicola Mettifogo
1ef774b2ee gathered character related stuff into a new struct Character, and modified calling code accordingly
svn-id: r26158
2007-03-17 07:52:47 +00:00
Max Horn
86ba69f75b oops
svn-id: r26157
2007-03-17 01:11:46 +00:00
Max Horn
15d9bc42ea Force all code to use EventManager::pollEvent instead of OSystem::pollEvent
svn-id: r26156
2007-03-17 00:53:21 +00:00
Max Horn
a6f3ed8173 Got rid of Lure::System
svn-id: r26155
2007-03-17 00:39:18 +00:00
Max Horn
8fc8c4847d Implemented a simple EventManager class
svn-id: r26154
2007-03-17 00:07:34 +00:00