Commit Graph
86814 Commits
Author SHA1 Message Date
Jordi Vilalta Prat 8b144960f8 CONFIGURE: Fix for bug #3085292 (--docdir not accepted)
- Handle the --docdir option which was documented but not accepted.
- Reorder the directory variables and their handling to have the same order
  everywhere. This will hopefully make bugs like this harder to happen.

svn-id: r53149
2010-10-11 19:50:17 +00:00
Willem Jan Palenstijn 0fd6b7608e AGI: Fix one more strncpy/strncat issue
svn-id: r53148
2010-10-11 17:52:44 +00:00
Johannes Schickel cc0afa92b3 AGI: Fix possible buffer overflow.
This is based on patch #3085298 "overflows in agi and parallaction".

svn-id: r53147
2010-10-11 17:07:53 +00:00
Johannes Schickel c3366755ef PARALLACTION: Fix out of bounds access.
This is a partial commit of patch #3085298 "overflows in agi and parallaction".

svn-id: r53146
2010-10-11 17:07:34 +00:00
Matthew Hoops ed93a58955 HUGO: Use _targetName for naming save files
svn-id: r53145
2010-10-10 23:24:57 +00:00
Sylvain Dupont ce97c61079 TOON: Fixed offsets in hard coded conversation musics
svn-id: r53144
2010-10-10 23:10:14 +00:00
Joost Peters 426d6749cf COMMON: work around different vsnprintf behaviour on IRIX
The return value of vsnprintf when the provided buffer is not large
enough to hold the formatted string is implementation-dependent:

C99:  The size the formatted string would take up.
MSVC: -1, with no indication of how large the buffer should be.
IRIX: The number of characters actually written, which is at most
      the size of the buffer minus one, as the string is truncated
      to fit.  This means the only way to be sure the entire string
      is written is if the return value is less than the capacity - 1.

This change means that whenever we try to format a string where the size
is 1 below the built-in capacity, that the capacity will be needlessly increased.

If this turns out to be problematic we could make this behaviour __sgi conditional.

svn-id: r53143
2010-10-10 22:36:03 +00:00
Max Horn 96e19382b9 IPHONE: Add teenagent sources, plus some more minor changes
* Added teenagent engine souces
* Added some forgotten files for gob and scumm
* Some tweaks to help the simulator targets link

svn-id: r53142
2010-10-10 22:26:18 +00:00
Max Horn 3dda3c073a GRAPHICS: Turn static AviDecoder methods into local funcs
svn-id: r53141
2010-10-10 22:25:52 +00:00
Max Horn 7642cd002a SCI: Fix warning about uninitialized variable
svn-id: r53140
2010-10-10 22:25:30 +00:00
Max Horn ae89ed5801 IPHONE: Tweak project file some more
* try to support MacPorts *and* Fink for the (currently not
working? Mac OS X target
* disable C++ exceptions for the release builds, too
* disable SCI32 specific source files for compilation

svn-id: r53139
2010-10-10 22:25:08 +00:00
Max Horn de8f6484a1 IPHONE: Enable cruise & teenagent; disable sci32
Actually, currently all engines are added to the project, but not all
are activated. Enabling and disabling engines is currently not easily
possible from within the project itself. So for now I manually enabled
exactly those engines which configure enables by default.

A proper solution would be to refactor the project, with (sub)targets
resp. (sub)projects for every engine. We might also want to switch the
iPhone port to use dynamic plugins.

svn-id: r53138
2010-10-10 22:24:43 +00:00
Max Horn 5ae821ab65 IPHONE: Remove what looks like redundant defines; cleanup
svn-id: r53137
2010-10-10 22:24:19 +00:00
Max Horn 8e36949212 IPHONE: Sort DEFINES
svn-id: r53136
2010-10-10 22:23:58 +00:00
Arnaud Boutonné 6ebd324be4 HUGO: Add specific takeObject and dropObject for H1 DOS
svn-id: r53135
2010-10-10 22:13:38 +00:00
Sylvain Dupont a4c657b8cf TOON: Made all ToonEngine functions non-virtual
svn-id: r53134
2010-10-10 21:40:25 +00:00
Johannes Schickel 97f042e530 TOON: Adapt include guard for consistency.
svn-id: r53133
2010-10-10 21:26:37 +00:00
Johannes Schickel 85f770599f TOON: Coding guideline corrections.
svn-id: r53132
2010-10-10 21:26:18 +00:00
Sylvain Dupont 0c6c03bfd6 TOON: Fix potential undefined operation warning
svn-id: r53131
2010-10-10 21:19:40 +00:00
Sylvain Dupont aa89bbbcbd TOON: Music attenuation when someone talks
svn-id: r53130
2010-10-10 21:12:10 +00:00
Sylvain Dupont 23aa94ec02 TOON: Fix fast animation "Ready" on Sweetfighter game
svn-id: r53129
2010-10-10 20:30:36 +00:00
Arnaud Boutonné 9c56271839 HUGO: Add debug channels to new parser functions
svn-id: r53128
2010-10-10 20:13:59 +00:00
Sylvain Dupont 927f560eb2 TOON: Fixed bad Flux state when restoring a game
svn-id: r53127
2010-10-10 16:52:15 +00:00
Florian Kagerer 67c68afa6d FM-TOWNS AUDIO: improve thread safety
svn-id: r53126
2010-10-10 16:44:09 +00:00
Torbjörn Andersson 1f6bc7e309 TOON: Fix distortion in some looped music
This was very noticeable in the footman conversation music.

svn-id: r53125
2010-10-10 16:13:55 +00:00
Sylvain Dupont c952f7aa58 TOON: Added special conversation musics
svn-id: r53124
2010-10-10 15:47:05 +00:00
Arnaud Boutonné 010fb9825a TOOLS: Fix typos in specialInfoLine arrays
svn-id: r53123
2010-10-10 15:27:39 +00:00
Max Horn f8a6a3dcd2 IPHONE: Add Hugo + Toon sources; cleanup
In particular, remove references to obsolete files; and sort files in
the project alphabetically.

svn-id: r53122
2010-10-10 14:41:08 +00:00
Max Horn b1b41da650 TEST: Use TS_ASSERT_EQUALS instead of TS_ASSERT + operator==
svn-id: r53121
2010-10-10 14:40:45 +00:00
Max Horn eeb85b54ab IPHONE: Update XCode project some more
* Add missing M4 source files
* Add missing engine-data files
* Remove redundant library search paths

svn-id: r53120
2010-10-10 14:40:24 +00:00
Sylvain Dupont 0d6d895478 TOON: Disable too many levels of recursion with click events
svn-id: r53119
2010-10-10 14:30:13 +00:00
Sylvain Dupont 7a7eabb139 TOON: Fix end of idle animations
svn-id: r53118
2010-10-10 14:27:19 +00:00
Florian Kagerer 2c691e1168 LOOM PC-Engine: fix mouse cursor
svn-id: r53117
2010-10-10 14:22:10 +00:00
Arnaud Boutonné 440bcaa060 HUGO: Fix 'Exit' command behavior in the DOS versions
svn-id: r53116
2010-10-10 13:06:48 +00:00
Travis Howell e5d17fedf7 BUILD: Add toons.dat to engine dist files.
svn-id: r53115
2010-10-10 11:40:16 +00:00
Arnaud Boutonné af6ffafe5f GUI: Message dialog width
Ensure the message dialog is wide enough when it contains 2 buttons. This is used by Hugo's engine, e.g. when Exiting the DOS versions.

svn-id: r53114
2010-10-10 10:32:58 +00:00
Florian Kagerer 8e6ce812d1 LOOM PC-Engine: fix regression
svn-id: r53113
2010-10-10 10:26:49 +00:00
Torbjörn Andersson bcf3b35285 GUI: Clean up my previous commit.
svn-id: r53112
2010-10-10 10:11:33 +00:00
Arnaud Boutonné 550d340959 HUGO: Now force initial save
This should fix the corrupted initial savegame problem

svn-id: r53111
2010-10-10 10:00:55 +00:00
Arnaud Boutonné c50a149a35 HUGO: Remove sound off when saving
svn-id: r53110
2010-10-10 09:59:40 +00:00
Arnaud Boutonné a4c16f7447 HUGO: Move Dos strings from Parser to hugo.dat
svn-id: r53109
2010-10-10 09:47:19 +00:00
Yotam Barnoy 178c46c038 PSP: factored PngLoader out of virtual keyboard for further use
svn-id: r53108
2010-10-10 08:30:18 +00:00
Torbjörn Andersson 25dac76b35 GUI: Ensure that the message dialog is wide enough
The Hugo engine currently uses the message dialog. Make sure that
the dialog is always at least wide enough to hold the "Ok" button.

svn-id: r53107
2010-10-10 08:13:26 +00:00
Arnaud Boutonné ced1aba1ea HUGO: New parser for H1 Dos and H2 Dos.
Add specific parser functions for H1 Dos and H2 Dos

svn-id: r53106
2010-10-10 07:43:42 +00:00
Torbjörn Andersson 582bd9a395 MIDIDRV: Prefer PCjr over PC Speaker
If I understand this correctly, if the player's desired music driver
isn't supported (e.g. if you have MIDI as default, and haven't said
anything specifically for Maniac Mansion), it tries to pick the
"best" supported music driver instead. In this case, check if PCjr is
supported before picking PC Speaker.

svn-id: r53105
2010-10-10 07:43:12 +00:00
Arnaud Boutonné 043a293ae9 HUGO - Fix error in data (H1 Dos)
svn-id: r53104
2010-10-10 07:41:13 +00:00
Florian Kagerer 89fd5b31c1 SCUMM/FM-TOWNS: minor fix for sfx code
svn-id: r53103
2010-10-09 16:39:56 +00:00
Florian Kagerer 5ce63fb78f KYRA: fix regression in Screen_v2::generateOverlay()
(very noticeable in LOL PC-98)

svn-id: r53102
2010-10-09 14:55:33 +00:00
Torbjörn Andersson 212d6cc1f0 TOON: Fix black spots in title picture.
A "full palette" is, presumably, 256 colours, not 255.

svn-id: r53101
2010-10-09 11:33:29 +00:00
Torbjörn Andersson 30556795fd TOON: Removed unnecessary "break"s (right after "return"s)
svn-id: r53100
2010-10-09 11:27:25 +00:00