Arnaud Boutonné
66233031d7
revert r44542: the fix reopens another previous bug
...
svn-id: r44553
2009-10-03 13:40:55 +00:00
Paul Gilbert
5d7caf3ca9
Added a +1 for dirty rectangle calculation so final column of changed area is included
...
svn-id: r44551
2009-10-03 08:59:11 +00:00
Robert Špalek
43f84746bf
Fixed positioning and update of the title under the mouse pointer.
...
Clamping on the border of the screen works precisely. When switched to the
inventory, titles of game items are displayed instead of a (sticky) title of
the last object before entering the inventory. Put some const's where
appropriate.
svn-id: r44550
2009-10-03 05:16:19 +00:00
Florian Kagerer
548d139b48
LOL: cleanup
...
svn-id: r44549
2009-10-02 23:13:47 +00:00
Florian Kagerer
14d6b33e4f
LOL/PC-98: fixed death menu, live/magic bar colors and money box
...
svn-id: r44548
2009-10-02 22:13:39 +00:00
Florian Kagerer
e5aae67e39
LOL/PC-98: - some more fixes for level graphics (shapes are still not quite right)
...
- fixed heal spell
svn-id: r44547
2009-10-02 21:27:10 +00:00
Max Horn
5884ac58c6
Whitespace changes
...
svn-id: r44546
2009-10-02 20:21:07 +00:00
Max Horn
bfec2debe6
SCI: Fix parse_reg_t, it no longer modified the const string passed to it
...
svn-id: r44545
2009-10-02 20:20:45 +00:00
Torbjörn Andersson
41adc39d2d
Fixed cppcheck warnings about mismatching allocation/deallocation.
...
svn-id: r44543
2009-10-02 18:38:52 +00:00
Arnaud Boutonné
f915a46e1f
Fix for bug ref#2867294 (hopefully)
...
svn-id: r44542
2009-10-02 17:50:56 +00:00
Willem Jan Palenstijn
cbcd53f1f3
Fix cppcheck issue reported by salty-horse
...
svn-id: r44541
2009-10-02 15:02:57 +00:00
Max Horn
0041502ee7
Release resources properly; fix code formatting
...
svn-id: r44540
2009-10-02 14:44:52 +00:00
Max Horn
f54e82e488
Fix more cppcheck warnings/errors; some code formatting; and fixes to our tools
...
svn-id: r44539
2009-10-02 14:42:24 +00:00
Max Horn
01176782ea
Fix some cppcheck warnings reported by salty-horse
...
svn-id: r44538
2009-10-02 14:32:54 +00:00
Max Horn
41f6365f9b
Mention removal of quicktime MIDI backend in NEWS
...
svn-id: r44537
2009-10-02 14:11:45 +00:00
Paul Gilbert
78578a042f
Bugfix for dirty rects getting lost during room fade-ins
...
svn-id: r44536
2009-10-02 13:13:47 +00:00
Max Horn
14c58b73e9
Remove dead code
...
svn-id: r44534
2009-10-02 12:53:45 +00:00
Max Horn
908e13fa73
SCI: Remove PRINT_STK macro; cleanup
...
svn-id: r44533
2009-10-02 12:53:04 +00:00
Willem Jan Palenstijn
0fe40b5053
SCI: Use String::printf instead of temporary buffer
...
svn-id: r44532
2009-10-02 12:44:12 +00:00
Max Horn
292640b14e
SCI: Make NULL_REG & SIGNAL_REG const; change validate_property so that its callers cannot modify NULL_REG accidentally anymore
...
svn-id: r44531
2009-10-02 11:04:36 +00:00
Max Horn
523f0b34fb
SCI: Remove dead code
...
svn-id: r44530
2009-10-02 07:44:55 +00:00
Willem Jan Palenstijn
876a28d261
SCI: cleanup
...
svn-id: r44528
2009-10-01 17:30:10 +00:00
Andre Heider
a6b2e9255f
Fixed mismatching malloc/free, and plugged a memleak.
...
svn-id: r44526
2009-10-01 16:52:05 +00:00
Robert Špalek
4a7cea6813
Fixed event handling. ValGrind fixups.
...
My yesterday's fix on handling 1 event per call caused the game to be
unbearably slow on Linux. The old way was much faster. I have solved too
fast a succession of mouse button down and up by not clearing the mouse flag
when the button goes up instead.
Fixed a memory leak and uninitialized variable after my refactoring of game
location changes; found by ValGrind.
svn-id: r44525
2009-10-01 16:47:34 +00:00
Scott Thomas
2fa7fbc1a5
T7G: Proper fix for #2847539 - remove ambiguity in multi-byte script reads.
...
svn-id: r44524
2009-10-01 15:58:15 +00:00
Filippos Karapetis
6697f46922
Rewrote weird-looking code, which might lead to undefined behavior, according to GNU
...
svn-id: r44523
2009-10-01 15:33:38 +00:00
Filippos Karapetis
934e92c283
Fixed bug #2847539 , by resetting the optimization options for the release version to the default ones
...
svn-id: r44521
2009-10-01 15:07:45 +00:00
Willem Jan Palenstijn
ddea9a5bda
Fix Common::String::printf in MSVC
...
svn-id: r44520
2009-10-01 14:47:52 +00:00
Filippos Karapetis
6e462c9002
Removed the STRICT_SEND, STRICT_READ and ASSERT_ARITHMETIC defines
...
svn-id: r44519
2009-10-01 12:41:21 +00:00
Arnaud Boutonné
d90c60e879
Fix a regression in the first part of the intro (gitches when the paper and the rat are moving).
...
svn-id: r44518
2009-10-01 12:19:01 +00:00
Paul Gilbert
aba45bfd5f
Reworked of code line in changeExtension that was giving a cppcheck warning
...
svn-id: r44517
2009-10-01 12:12:07 +00:00
Filippos Karapetis
04493d139e
Fixed some potential memory leaks, reported by salty-horse
...
svn-id: r44516
2009-10-01 12:09:02 +00:00
Paul Gilbert
e67b0ef08c
Replaced delete operator with delete[]
...
svn-id: r44514
2009-10-01 12:03:12 +00:00
Willem Jan Palenstijn
7d6848dfa3
SCI: Add some fixmes noted by salty-horse.
...
svn-id: r44513
2009-10-01 11:06:38 +00:00
Willem Jan Palenstijn
5a8b81119b
Fix free/delete/delete[] mismatches. Patch by salty-horse
...
svn-id: r44512
2009-10-01 11:02:23 +00:00
Filippos Karapetis
7d40dde96f
- Removed the toggle for "weak" validations, as there are cases where they fail (e.g. in Longbow), so there is no point in having strict validations
...
- Removed the invalid toggle from kernel signatures - we now never error out on invalid object references, but throw a warning instead
- Simplified determine_reg_type()
svn-id: r44511
2009-10-01 10:57:59 +00:00
Willem Jan Palenstijn
168257df24
SCI: Remove outdated debugging hack.
...
In the past, a negative selector value was used to identify a callk
stack frame. Currently a type of EXEC_STACK_TYPE_KERNEL already does that.
svn-id: r44510
2009-10-01 08:53:10 +00:00
Robert Špalek
24d649b972
Clean up room changing code and support returning from the map.
...
Completely changed the interface, removing unused methods and attributes,
renaming other ones to reflect what they do, and moving some methods into the
private section. Code changing the location, originally scattered over many
pieces of code, has been unified into one place. Remember the previous room
when entering the map so that one can return there.
Also, the event handler processes one event at a time, preventing lost clicks
on touchpads.
svn-id: r44508
2009-10-01 08:32:35 +00:00
Filippos Karapetis
2d29625f0e
Removed an old (and now obsolete) workaround for KQ5
...
svn-id: r44507
2009-09-30 23:27:00 +00:00
Filippos Karapetis
9efc90c8af
Fixed the warning message shown when dummy functions are invoked
...
svn-id: r44506
2009-09-30 23:13:46 +00:00
Filippos Karapetis
30084d72a5
Added a new special reg_t, SIGNAL_REG, for signaling when an error occurs (usually), or to signal success in some special occasions
...
svn-id: r44505
2009-09-30 23:00:03 +00:00
Arnaud Boutonné
96a40e7712
Fascination - Suppress some warnings
...
svn-id: r44504
2009-09-30 22:54:30 +00:00
Filippos Karapetis
86016e4dc5
Changed the list sanity checks to return warnings instead of errors in case of failure - apparently, this can occur in some games, e.g. Longbow and QFG1
...
svn-id: r44503
2009-09-30 22:54:00 +00:00
Filippos Karapetis
bbb2274a7d
- Removed some leftover 16/32bpp color code, as we're always using palette mode now
...
- Simplified the mouse cursor manipulation code
svn-id: r44502
2009-09-30 22:43:29 +00:00
Florian Kagerer
598056ead0
LOL/PC-98: - fixed TIM dialogue button text colors
...
- fixed menu text alignment
svn-id: r44501
2009-09-30 21:46:00 +00:00
Max Horn
aa368806d9
oops
...
svn-id: r44500
2009-09-30 21:12:38 +00:00
Robert Špalek
5ad13a3dff
Fix 2 ValGrind warnings.
...
svn-id: r44499
2009-09-30 21:07:04 +00:00
Florian Kagerer
94572773d0
LOL/PC-98: - fix spell effect colors
...
- fix some font color glitches
svn-id: r44498
2009-09-30 20:42:58 +00:00
Willem Jan Palenstijn
a5d1094dab
SCI: Make kFile error messages slightly more verbose
...
svn-id: r44497
2009-09-30 19:44:03 +00:00
Arnaud Boutonné
f1c76e2dcb
Fascination - Fix a regression in intro (fix of R42171)
...
svn-id: r44496
2009-09-30 19:14:46 +00:00