20786 Commits

Author SHA1 Message Date
Nicola Mettifogo
3daa442c82 unrolled loop in buildWalkPath and renamed some variables
svn-id: r26276
2007-03-22 19:49:15 +00:00
Torbjörn Andersson
86a60b633d Fixed long-standing font bug. We were using the control panel font for LINC
space and terminals, and the LINC font for the control panel. Since these fonts
contain different sets of characters, this would often cause the wrong
character to be displayed, particularly in non-English languages. This also
explains why we had to use the "wrong" font for the control panel recently.

The functions to patch the LINC character set (actually the control character
set) should no longer be needed, and have been removed.

Should fix bug #1669564.

svn-id: r26275
2007-03-22 18:49:42 +00:00
Max Horn
2964bed5d2 Fix warnings
svn-id: r26274
2007-03-22 17:33:21 +00:00
Travis Howell
a8f9e399b8 Add Spanish version of Waxworks (DOS).
svn-id: r26273
2007-03-22 00:53:39 +00:00
Nicola Mettifogo
a37870c125 - moved buildWalkPath inner loop into a new function
- renamed some variables in buildWalkPath
- deleted an old extern for buildWalkPath

svn-id: r26272
2007-03-21 21:49:11 +00:00
Matthew Hoops
cc93bea7b8 adding debug message if running AGIPAL game
svn-id: r26271
2007-03-21 21:38:53 +00:00
Matthew Hoops
080a76503b adding AGIPAL support (for changing palettes in some fan games) Patch:1684685
svn-id: r26270
2007-03-21 20:13:40 +00:00
Nicola Mettifogo
89ea1f3abf got rid of cryptic pseudo-boolean variable in buildWalkPath
svn-id: r26269
2007-03-21 19:42:09 +00:00
Max Horn
7a81639515 Added some items to NEWS, and tried to unify the style a bit (ideally, I'd like to group all NEWS into three categories: new feature, improvement/modification, bug fix; some exceptions are possible, of course)
svn-id: r26267
2007-03-21 19:18:42 +00:00
Gregory Montoir
a1d9bcd923 enabled music volume changes in Amiga version
svn-id: r26265
2007-03-20 23:24:54 +00:00
Johannes Schickel
2517960b3f - more cleanup
- added some .pak file integrity checks

svn-id: r26264
2007-03-20 21:11:42 +00:00
Johannes Schickel
b17ae7017c Little cleanup.
svn-id: r26263
2007-03-20 20:46:19 +00:00
Nicola Mettifogo
d881196681 replaced some x,y/left,top pairs with Common::Point
svn-id: r26262
2007-03-20 20:46:09 +00:00
Lars Persson
1fb7e82a15 Added default-events.cpp to Symbian makefile
svn-id: r26261
2007-03-20 19:56:02 +00:00
Nicola Mettifogo
9494a9f025 some refactoring for walking code
svn-id: r26260
2007-03-20 19:45:17 +00:00
Max Horn
abf59db15e Make sure Track::soundHandle is always initialize, and added a FIXME (see also bug #1635361)
svn-id: r26259
2007-03-20 19:40:34 +00:00
Max Horn
3d52e20b9b Change IMuseDigital::stopAllSounds to simply do what it names suggest, i.e. stop all sounds immediately (instead of waiting for the imuse timer to do the required work). Not heavily tested, as I don't know of specific spots in Dig/FT/CoMI which make use of this
svn-id: r26258
2007-03-20 19:37:31 +00:00
Max Horn
d0c30bfd9a Undoing my previous (upon closer review, bogus) change to IMuseDigital::refreshScripts -- the problem is a bit deeper. Sorry for the noise :-(
svn-id: r26257
2007-03-20 19:06:37 +00:00
Max Horn
2c0f341ef8 Correct error message
svn-id: r26256
2007-03-20 19:04:51 +00:00
Max Horn
c485719ad4 oops
svn-id: r26255
2007-03-20 19:00:16 +00:00
Max Horn
f5559de703 Fix a potential race condition (leading to lockups) in IMuseDigital::refreshScripts
svn-id: r26254
2007-03-20 18:59:28 +00:00
Max Horn
e56b44d1fa cleanup
svn-id: r26253
2007-03-20 18:45:54 +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
Nicola Mettifogo
d94979c936 final version of runDialogue
svn-id: r26251
2007-03-19 22:38:00 +00:00
Nicola Mettifogo
838ec385cf applied De Morgan's law to an expression to expose similarities
svn-id: r26250
2007-03-19 22:32:35 +00:00
Nicola Mettifogo
54b785fb3b fixed bug from first decompile
svn-id: r26249
2007-03-19 22:30:54 +00:00
Max Horn
eb6318e9fa Added FIXME comment to CINE regarding an odd warning in processSeqListElement
svn-id: r26248
2007-03-19 22:30:28 +00:00
Nicola Mettifogo
33f827c83e refactoring of the main loop of runDialogue, now in a decent shape
svn-id: r26247
2007-03-19 22:24:40 +00:00
Nicola Mettifogo
8f69bae8ec a bit of refactoring for dialogue code
svn-id: r26246
2007-03-19 22:21:10 +00:00
Nicola Mettifogo
d5e26cf261 removed most useless (paranoid) debugC
svn-id: r26245
2007-03-19 22:10:10 +00:00
Nicola Mettifogo
fe5660400f made Animation a subclass of Zone (finally!)
svn-id: r26244
2007-03-19 21:49:41 +00:00
Nicola Mettifogo
3dd12518cb added member initialization
svn-id: r26243
2007-03-19 21:44:23 +00:00
Nicola Mettifogo
1931461127 deleted some dead code
svn-id: r26242
2007-03-19 20:26:17 +00:00
Max Horn
b7eb659e06 Added FIXME note into the gob code (it tries to write into datafiles, which makes it unportable to devices with read-only gamedata storage)
svn-id: r26240
2007-03-19 12:52:18 +00:00
Travis Howell
3e85ecbe5f Remove duplicate code, for clipping of mouse position.
svn-id: r26238
2007-03-19 00:24:58 +00:00
Matthew Hoops
96823c885f updating shake.screen warning/comment to reflect that AGIPAL uses it, and not AGIMOUSE
svn-id: r26237
2007-03-18 23:35:24 +00:00
Matthew Hoops
82220883d1 adding GF_AGIPAL to those games which have that feature (the ones with pal.101) and fixing a typo
svn-id: r26236
2007-03-18 23:28:22 +00:00
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