Chris Apers
0d51dc4b22
Don't reinvent the wheel, use MSL functions when available for better compatibility and smaller code size
...
svn-id: r22862
2006-06-03 11:00:15 +00:00
Torbjörn Andersson
ca84620745
When the screen changes, redraw all dialogs *immediately* rather than waiting
...
for the main loop to check for _needRedraw. Otherwise subsequent events can
cause widgets to be redrawn before the theme has had a chance to re-open the
dialogs, and this could cause at least the modern theme to crash.
svn-id: r22860
2006-06-03 10:48:37 +00:00
Torbjörn Andersson
3114f19d94
MPEG player fixes:
...
* Initialise _frameWidth and _frameHeight to prevent them from being undefined.
* Fix BS2 subtitle positioning. (Fixes bug #1499916 )
* In BS2, copy the frame to the backend in 8-bit mode.
* Fix compilation in 8-bit mode.
BS2 subtitles aren't quite right in 8-bit mode, but I expect we want to
re-design things a bit if we ever add DXA cutscenes. We can fix minor details
then.
svn-id: r22859
2006-06-03 09:43:10 +00:00
Sven Hesse
4b706aca43
Fixing an endian-issue in setVoice()
...
svn-id: r22858
2006-06-03 08:53:10 +00:00
Sven Hesse
2aa31f4bf3
Matched the memset in imdFrameUncompressor() to the original asm, that
...
fixes a small glitch
svn-id: r22857
2006-06-03 08:50:41 +00:00
Lars Persson
a1d55df73e
Split ID string into several small strings for systems not coping with large string constants.
...
svn-id: r22856
2006-06-03 08:06:07 +00:00
Travis Howell
fc26d9b413
Update talkspeed config setting, when set by game scripts
...
svn-id: r22854
2006-06-03 04:10:14 +00:00
Travis Howell
93a91f9c6d
Update talkspeed config setting, when set by game scripts
...
svn-id: r22853
2006-06-03 03:51:17 +00:00
Paul Gilbert
1c07797c50
Bugfix to properly detect the end of the indexed room hotspot list
...
svn-id: r22852
2006-06-03 03:38:24 +00:00
Travis Howell
61e9bc72e4
Correct setting of VAR_CHARINC in several functions, the value should only be reversed when using keyboard shortcuts (Due to the scrollbar)
...
svn-id: r22850
2006-06-03 03:04:19 +00:00
Eugene Sandulenko
a681ebad7d
More maemo port development
...
svn-id: r22849
2006-06-03 01:05:09 +00:00
Johannes Schickel
48af506189
Fix for bug # 1497965 ("KYRA1: Skipping dialogue requires two clicks").
...
svn-id: r22848
2006-06-03 00:30:28 +00:00
Johannes Schickel
97b3b74ea1
Oops. sfx should be on per default.
...
svn-id: r22845
2006-06-02 23:01:33 +00:00
Johannes Schickel
6ac60c9c7b
Fix for bug # 1497961 ("KYRA1: in-game "Music" option not working").
...
svn-id: r22844
2006-06-02 22:57:02 +00:00
Eugene Sandulenko
50f12fb9aa
Fix long standing (ahem) c/p error which made impossible to sidable just HQ
...
scalers.
svn-id: r22843
2006-06-02 20:42:41 +00:00
Eugene Sandulenko
061905c524
Plug memory leak
...
svn-id: r22842
2006-06-02 17:57:45 +00:00
Eugene Sandulenko
05871836b9
Turn AliasesMap and VariablesMap keys from String to const char *.
...
Stats before:
Strings: 12048
mallocs: 55629
after:
Strings: 6370
mallocs: 42117
Here Strings are non-empty strings. Mallocs are string-related mallocs
including mallocs in HashMap BaseNode.
svn-id: r22841
2006-06-02 17:51:20 +00:00
Eugene Sandulenko
180f6c87ad
Remove slipped in debug output.
...
svn-id: r22840
2006-06-02 16:07:40 +00:00
Eugene Sandulenko
eabca87697
Optimize string usage a tiny bit more
...
svn-id: r22839
2006-06-02 16:06:17 +00:00
Eugene Sandulenko
3348c32de0
Added possibility to use (char *) as ashMap keys. For some reason it does not
...
work as expected. When I try to switch _aliasmap in eval.h to it, I get
crash in String constructor on dereferencing.
svn-id: r22838
2006-06-02 15:41:48 +00:00
Torbjörn Andersson
984214a109
Let deleteWidget() check if it's deleting _mouseWidget, _focusedWidget or
...
_dragWidget. We don't want to keep references to the deleted widget.
svn-id: r22836
2006-06-02 15:20:48 +00:00
Travis Howell
179f097202
Fix mingw compile
...
svn-id: r22835
2006-06-02 13:34:41 +00:00
Eugene Sandulenko
8c7abdf024
Allocate minimum 16 bytes on String(str) call. Reduces 2.500 malloc() calls
...
on startup
svn-id: r22834
2006-06-02 13:00:27 +00:00
Travis Howell
b0733e0fc1
Add support for separate compressed sound files for cutscenes in FF
...
svn-id: r22831
2006-06-02 11:33:11 +00:00
Sven Hesse
f3f7b670d0
- Fixed IMD transparency
...
- Fixed SegFault due to uninitialized _multData2
- Removed left-over debug comment
svn-id: r22830
2006-06-02 10:54:53 +00:00
Travis Howell
3d1cc0f720
Cleanup
...
svn-id: r22829
2006-06-02 08:06:50 +00:00
Max Horn
9686e5a3be
Optimize GUI string usage a tiny bit more
...
svn-id: r22828
2006-06-02 07:20:04 +00:00
Travis Howell
4c2a08a91a
Update Simon engines issues
...
svn-id: r22827
2006-06-02 03:13:13 +00:00
Travis Howell
8d8324e463
Improve Hebrew support
...
svn-id: r22826
2006-06-02 03:10:18 +00:00
Travis Howell
8fa5f43bed
Improve Hebrew support
...
svn-id: r22825
2006-06-02 02:35:04 +00:00
Travis Howell
418027c21b
Add load/save errors for other languages
...
svn-id: r22824
2006-06-02 01:34:34 +00:00
Willem Jan Palenstijn
f33a2e2f31
reduce number of string allocations
...
svn-id: r22823
2006-06-01 22:50:05 +00:00
Willem Jan Palenstijn
39451e9947
small optimization in evaluator variable lookup
...
svn-id: r22822
2006-06-01 22:44:43 +00:00
Lars Persson
a5c03dce0a
Specific resource file for UIQ3 added and updated.
...
svn-id: r22821
2006-06-01 22:44:08 +00:00
Lars Persson
5755b5a97e
Fixed problem when building and debugging using Symbian Emulator.
...
svn-id: r22820
2006-06-01 22:43:19 +00:00
James Brown
1a64d032fe
Allow X11 backend to compile
...
svn-id: r22819
2006-06-01 15:07:58 +00:00
Eugene Sandulenko
5a2fde0baa
Fix keyboard input. Now it is possible to use key modifiers freely.
...
svn-id: r22818
2006-06-01 13:57:19 +00:00
Travis Howell
8db54e077b
Update GMF header comment
...
svn-id: r22817
2006-06-01 12:23:08 +00:00
Sven Hesse
96d77f16b7
- Fixed drawing of sprite-parts based texts
...
- Removed misplaced Music::stopPlay() call
svn-id: r22816
2006-06-01 12:18:12 +00:00
Travis Howell
d64ea1ad87
Fix wait timeout during introduction of demo version of Simon the Sorcerer 1 (With speech)
...
svn-id: r22815
2006-06-01 12:06:53 +00:00
Torbjörn Andersson
4c9b3ce5e3
Call setWalkspeed() after reading config settings, and after loading savegames,
...
so that _timers[] is properly synced with _configWalkspeed. Should fix bug
#1498660 .
svn-id: r22814
2006-06-01 09:49:56 +00:00
Torbjörn Andersson
9dabbb0c14
Added note about the ITE demo sound bugfix (just barely newsworthy, I think),
...
and wrapped a few lines to make them look better in my emacs.
svn-id: r22813
2006-05-31 22:49:24 +00:00
Torbjörn Andersson
a5fc242946
Clip samp to 2047, not 2048, so that it stays positive when multiplied by 16.
...
This seems to fix sound distortion in the Inherit the Earth demo.
svn-id: r22812
2006-05-31 22:37:28 +00:00
Lars Persson
72904c3354
Moved Symbian call to GUI::Actions::init(); to the Symbian backend
...
svn-id: r22811
2006-05-31 21:13:37 +00:00
Lars Persson
0044ef7be1
Fixed deletion statement as it was deleting arrays(CW compiler was complaining).
...
svn-id: r22810
2006-05-31 20:19:03 +00:00
Lars Persson
9472476acb
Symbian Emulator (VC6) compilation fixes.
...
svn-id: r22809
2006-05-31 20:05:31 +00:00
Willem Jan Palenstijn
9644171a7b
Don't let blocking rectangle extend below baseline (see Sarien bugs 810331 and 925074)
...
svn-id: r22808
2006-05-31 19:55:54 +00:00
Lars Persson
44d48ed594
GCC 2.9x fix for Symbian OS, for accessing class within Common namespace
...
svn-id: r22807
2006-05-31 19:55:29 +00:00
Torbjörn Andersson
53b652b008
Added some notes about The Feeble Files. More are probably needed. (The section
...
about Multi-CD games, for one thing.)
svn-id: r22806
2006-05-31 19:34:26 +00:00
Lars Persson
4bc3f94589
Small correction, added space between filename and new line.
...
svn-id: r22805
2006-05-31 19:28:54 +00:00