Johannes Schickel
78068df908
Whoops copy&paste mistake...
...
svn-id: r50052
2010-06-19 17:08:17 +00:00
Johannes Schickel
3b6fac3703
Comment out rule for common/messages.cpp for now and make update-translations update common/messages.cpp directly.
...
svn-id: r50051
2010-06-19 17:06:37 +00:00
Thierry Crozat
721db3eccb
Fix an issue in String::ensureCapacity() when the string is shared. It could allocate two much memory as it was at least doubling the current capacity even when this one was sufficient.
...
It fixes a crash in GUI::Widget::cleanupHotkey() as the capacity of the string was doubled at each iteration once it was too long for the internal storage (only to add one character to the string). This ended up in a bad_alloc exception after a few iterations.
svn-id: r50050
2010-06-19 15:35:21 +00:00
Max Horn
32668b553f
AGI: Get rid of GID_SQ0
...
svn-id: r50049
2010-06-19 11:08:41 +00:00
Max Horn
0c93154eb9
AGI: Fix detection of AGI Tetris and Caitlyn's Destiny
...
svn-id: r50048
2010-06-19 11:08:16 +00:00
Martin Kiewitz
710f0257eb
SCI: replacing the keyboard size check for direction type detection with checking for script 933 (pseudoMouse) instead - this is better because its working multiplatform
...
svn-id: r50047
2010-06-19 10:57:01 +00:00
Martin Kiewitz
101218c1b6
SCI: added TODO for keyboard driver size check, maybe this whole stuff isn't needed at all
...
svn-id: r50046
2010-06-19 10:28:41 +00:00
Martin Kiewitz
a7fa0649df
SCI: implemented checking of keyboard driver in case of SCI1EGA/EARLY, also renamed SCI_EVENT_JOYSTICK to SCI_EVENT_DIRECTION
...
svn-id: r50045
2010-06-19 09:46:04 +00:00
Jordi Vilalta Prat
4fb3059edc
Fix some typos (thanks to fuzzie).
...
svn-id: r50044
2010-06-19 08:43:50 +00:00
Nicola Mettifogo
73e612a801
Mention that part 1 of BRA is completable.
...
svn-id: r50043
2010-06-19 04:57:54 +00:00
Nicola Mettifogo
5328abe2f0
Cleanup.
...
Got rid of the legacy "location.part" string handling in BRA.
svn-id: r50042
2010-06-19 04:51:31 +00:00
Nicola Mettifogo
96d4ae0fcc
Cleanup some more state when switching part in BRA.
...
svn-id: r50041
2010-06-19 04:51:14 +00:00
Nicola Mettifogo
de7de460e8
Use the new _nextPart member switching part from the menu in BRA.
...
svn-id: r50040
2010-06-19 04:51:00 +00:00
Nicola Mettifogo
d7a165b9f2
Implemented PART command for BRA, largely based on patch #3005434 by fuzzie.
...
svn-id: r50039
2010-06-19 04:50:44 +00:00
Nicola Mettifogo
5b3075bd65
Guarded the command execution suspension for NS demo (this was due in r38662 - see bug #2619824 ).
...
svn-id: r50038
2010-06-19 02:51:03 +00:00
Nicola Mettifogo
61c40e2bd4
Save the context of a suspended list before resuming the execution, so that it can safely be suspended again. Patch 3004652 by fuzzie.
...
svn-id: r50037
2010-06-19 02:50:46 +00:00
Walter van Niftrik
f4b700c4c4
SCI: AdLib: add dummy instruments when there are only 48 in the patch
...
svn-id: r50035
2010-06-19 01:16:25 +00:00
Martin Kiewitz
25c86e8b03
SCI: set resulting type to keyboard+joystick for sci1middle+ in kMapKeyToDir - fixes keyboard controlling of mouse in all sorts of games - although this is not 100% done, the change actually happened inbetween sci1early, added fixme
...
svn-id: r50034
2010-06-18 22:16:05 +00:00
Max Horn
da28fde4c6
AGI: Change some #defines to enums
...
svn-id: r50033
2010-06-18 22:07:32 +00:00
Max Horn
7a8b8c88ae
AGI: cleanup
...
svn-id: r50032
2010-06-18 22:06:56 +00:00
Max Horn
e5fcbc0c3a
AGI: Fix serguei1/serguei2/sqx detection
...
svn-id: r50031
2010-06-18 22:06:31 +00:00
Max Horn
75b7b54fe1
SCI: Add mac SQ1 & SQ3
...
svn-id: r50030
2010-06-18 22:06:13 +00:00
Martin Kiewitz
602b32175a
SCI: fixing detection of vga sci11 views for ega games (original change in r50025)
...
svn-id: r50028
2010-06-18 18:55:17 +00:00
Martin Kiewitz
8c8ce14164
SCI: not using views coming from patch files anymore for detecting view type
...
svn-id: r50027
2010-06-18 18:49:06 +00:00
Martin Kiewitz
3197dfc033
SCI: added more description about changes in r50025
...
svn-id: r50026
2010-06-18 17:53:35 +00:00
Martin Kiewitz
636ef64c68
SCI: making vga views work in ega games :P
...
svn-id: r50025
2010-06-18 17:40:13 +00:00
Filippos Karapetis
6f7f6572c4
Fixed invalid memory read in LSL6 hires - kRobot(1) returns an integer
...
svn-id: r50024
2010-06-18 17:34:34 +00:00
Martin Kiewitz
8a8480c0ca
SCI: fix typo when setting EGA palette
...
svn-id: r50023
2010-06-18 17:20:09 +00:00
Filippos Karapetis
680f7c897a
Fixed a problem in kAnimate which occurred when a list was modified by a call (e.g. in KQ1 demo, PQ2)
...
svn-id: r50022
2010-06-18 15:40:18 +00:00
Filippos Karapetis
5d378574a4
Fixed show_instruments to ignore instruments in Sierra's special MIDI channel 15, and updated the comment regarding PQ2 accordingly (it only has 2 incorrect instruments)
...
svn-id: r50021
2010-06-18 15:18:14 +00:00
Filippos Karapetis
874eeb2370
Added hints inside validate_arithmetic(), together with some code useful for debugging. Some cleanup
...
svn-id: r50020
2010-06-18 14:48:39 +00:00
Filippos Karapetis
b152f6d68f
Added an explanation about the invalid instruments used when using the Adlib driver in PQ2
...
svn-id: r50019
2010-06-18 14:36:22 +00:00
Martin Kiewitz
562f8a9463
SCI: implementing fading for sci1 only for used channels of the object, fixes lsl1 music issues when going right at the start
...
svn-id: r50018
2010-06-18 13:36:29 +00:00
Martin Kiewitz
661a170c86
SCI: change error() inside adlib driver ::setPatch() to warning() again, fixing pq2
...
svn-id: r50017
2010-06-18 13:05:08 +00:00
Martin Kiewitz
919c348c5a
SCI: pseudo-implemented 0x72 and 0x73 for kDisplay used by longbow-demo, although sierra sci doesn't support them at all
...
svn-id: r50016
2010-06-18 13:02:48 +00:00
Filippos Karapetis
543610d4d4
Don't throw a warning when we can't find hires content
...
svn-id: r50015
2010-06-18 12:15:33 +00:00
Lars Skovlund
8ade66ba13
SCI: Unbreak diskdump console command, maybe others
...
svn-id: r50014
2010-06-18 10:49:26 +00:00
Max Horn
5a95c2a652
SCI: Doxygenify some comments
...
svn-id: r50013
2010-06-18 09:37:25 +00:00
Max Horn
bb528d894c
SCI: Rewrap some overlong comments
...
svn-id: r50012
2010-06-18 09:37:06 +00:00
Martin Kiewitz
8493edf082
SCI: changing error to warning inside detectHires() for gk1 to work again...
...
svn-id: r50008
2010-06-18 06:47:16 +00:00
Martin Kiewitz
08ff57cc97
SCI: partially revert r49983 - all of those are not implemented in sierra sci or not even pseudo-valid in there. all of those seem to be script bugs
...
svn-id: r50007
2010-06-18 05:55:27 +00:00
Martin Kiewitz
8f655615d7
SCI: reverting #49978 , it worked correctly. the new values contain the full height/width of the picture (may be much larger cause of scrollable areas) and we actually don't want that. the values before and now contain the height/width of the on-screen picture size - although this may contain 0, 0 for low-res games, but that's fine then
...
svn-id: r50006
2010-06-18 05:40:12 +00:00
Filippos Karapetis
cccfed3ba3
Cleanup
...
svn-id: r50004
2010-06-18 02:30:19 +00:00
Johannes Schickel
4d3d63223b
Cleanup.
...
svn-id: r50003
2010-06-18 02:29:21 +00:00
Filippos Karapetis
98944b8171
Added information regarding a FIXME
...
svn-id: r50002
2010-06-18 02:29:20 +00:00
Matthew Hoops
8bd71a6ab2
Cleanup; add a TODO.
...
svn-id: r50000
2010-06-18 02:29:04 +00:00
Matthew Hoops
492f748a4b
Add a comment on the unknown switch command argument.
...
svn-id: r49999
2010-06-18 02:28:58 +00:00
Johannes Schickel
d869d1370e
Properly provide stub implementations for all TranslationManager methods when USE_TRANSLATIONS is not defined.
...
svn-id: r49997
2010-06-18 02:25:33 +00:00
Johannes Schickel
a451ffe268
Make MidiParser::sendToDriver protected.
...
The client code should never try to pass commands to
the output via the MidiParser API.
SCI currently does that though...
Actually that shows that either our MidiParser API becomes
more and more an MidiPlayer than just a parser or that the
SCI design has its flaws here.
svn-id: r49996
2010-06-18 02:25:11 +00:00
Filippos Karapetis
773f3bf145
Changed another warning into an error. Cleanup
...
svn-id: r49995
2010-06-18 02:23:30 +00:00