Florian Kagerer
c35e350531
AUDIO: get rid of MDT_PREFER_MIDI since it should be sufficient to either select MDT_PREFER_MT32 or MDT_PREFER_GM
...
svn-id: r50288
2010-06-25 20:51:57 +00:00
Max Horn
bbad3f333a
Patch #1956501 : "GUI/LAUNCHER: Midi device selection"
...
svn-id: r50128
2010-06-21 21:36:36 +00:00
Eugene Sandulenko
44a39ffbc6
AdvancedDetector: Add new parameter directoryGlobs.
...
Without this parameter mass detection gave tons of false alarms.
Use globbing for narrowing down the depth search.
svn-id: r49788
2010-06-15 10:59:23 +00:00
Eugene Sandulenko
4d517ed0e9
Extended advancedDetector with depth parameter.
...
Now AD can search nested directories. By default it is turned off,
but there is new parameter to ADParameters struct. Usually value
of 2 is good enough for all purposes.
svn-id: r49653
2010-06-14 14:50:23 +00:00
Max Horn
2149a2383d
Reduce indirect header dependencies further
...
svn-id: r48936
2010-05-04 12:00:16 +00:00
Max Horn
970745e60c
Move DebugChannel related code to new header
...
svn-id: r48935
2010-05-04 11:59:22 +00:00
Max Horn
b3e404109c
Move initGraphics and initCommonGFX from to new header.
...
These functions are only used internally be Engine subclasses, and
by moving them to a separate header we can reduce indirect header
dependencies.
svn-id: r48934
2010-05-04 11:58:12 +00:00
Max Horn
460d69e885
COMMON: Move DebugChannel stuff into a new DebugMan singleton
...
svn-id: r48821
2010-04-27 21:40:52 +00:00
Paul Gilbert
eb4e7b4c77
Bugfix for making Goewin more smoothly follow player out of the caves
...
svn-id: r48813
2010-04-27 11:00:43 +00:00
Paul Gilbert
5a4df6fc95
Minor bugfix for the shop-keeper sequence when you're viewing through the window - it was supposed to check whether Gwyn, rather than Goewin, is not in the room before sticking his fingers in his ears
...
svn-id: r48812
2010-04-27 10:59:28 +00:00
Torbjörn Andersson
2e89d9607d
Fixed GCC warning about 'hotspotId' shadowing a member of 'this'. Let's call
...
the variable 'charId' instead, like in the debug messages where it's used.
svn-id: r48759
2010-04-21 05:30:38 +00:00
Paul Gilbert
dead0db8d8
Corrected a debug statement that could use an object field after the object was destroyed
...
svn-id: r48741
2010-04-20 10:13:27 +00:00
Paul Gilbert
f1979f936f
Bugfix for correctly returning follower to player when they're blocked from acting
...
svn-id: r48709
2010-04-19 09:40:20 +00:00
Paul Gilbert
f7ac94db12
Added code to de-activate town NPCs once the player makes it to the castle, since they're no longer needed
...
svn-id: r48661
2010-04-16 10:00:49 +00:00
Paul Gilbert
cbee83a536
Added a default case for characters that don't have a message set, but try to display one
...
svn-id: r48656
2010-04-14 09:33:27 +00:00
Ori Avtalion
003922f43d
Remove unnecessary 'extern' keywords
...
svn-id: r48598
2010-04-09 13:46:10 +00:00
Paul Gilbert
4aacbc5351
Corrected check to ensure return isn't issued if it's already in progress
...
svn-id: r48535
2010-04-05 07:27:16 +00:00
Paul Gilbert
29a8cb651a
Bugfix for correctly getting a follower to return to player when blocked from exiting a room 5 times
...
svn-id: r48533
2010-04-05 06:07:14 +00:00
Paul Gilbert
7555461ac3
Application of patch #2981748 - Make VGA detection entries take precedence over EGA for command line detection
...
svn-id: r48532
2010-04-05 01:49:00 +00:00
David Turner
067fbe23f6
Fix for Lure memory error indicated by Valgrind on Restart/Restore Screen (Temptress over Castle).
...
This screen is displayed if you lose the fight with the Skorl in the Dragon Caves etc.
This fix should be reviewed and then backported to v1.1.0 branch.
svn-id: r48421
2010-03-30 02:13:49 +00:00
Paul Gilbert
b39222d611
Corrected deallocated of menu data reported by Valgrind
...
svn-id: r48412
2010-03-27 22:00:16 +00:00
Paul Gilbert
8dfd670b22
Added explicit initialisation of NPC directions in the hotspot constructors
...
svn-id: r48406
2010-03-26 22:16:45 +00:00
Max Horn
92c896d883
Patch #2973290 : Semicolon cleanup
...
svn-id: r48359
2010-03-22 20:28:08 +00:00
Max Horn
cac0ac66e2
COMMON: Get rid of Common::StringList
...
svn-id: r48287
2010-03-18 15:54:40 +00:00
Max Horn
d78dba3bca
COMMON: Move Common::RandomSource to common/random.*
...
svn-id: r48279
2010-03-18 15:07:11 +00:00
Johannes Schickel
40562798d6
Fix our DECLARE_SINGLETON macro to conform to the C++ specs.
...
We need to use a namespace Common { } there to make strict C++ compilers
like clang++ and comeau happy. I also added a slight comment about why
that is needed to the macro definition and a note that you need to use
it from the global namespace.
svn-id: r48254
2010-03-13 21:55:49 +00:00
Yotam Barnoy
ef330ed9b4
Patch for bug 2943361 by littleboy, adding full kb modifier support to all engines + GUI and proper keypad handling
...
svn-id: r48101
2010-02-21 04:04:13 +00:00
Johannes Schickel
bfcdbae648
Change some comments to use "AdLib" instead of "adlib".
...
svn-id: r47534
2010-01-25 00:39:46 +00:00
Arnaud Boutonné
1f79fd5788
Some more header modifications ("Graphic Adventure Engine" and the legal property paragraph)
...
svn-id: r47489
2010-01-23 22:50:24 +00:00
Torbjörn Andersson
4818467908
Silenced some more cppcheck warnings. Some of these may seem silly, but the way
...
I figure it the changes are harmless at worst, and making them will make it
easier to find real errors in the (still quite long) list of warnings.
svn-id: r47443
2010-01-22 19:05:02 +00:00
Max Horn
bce959e046
LURE: Remove evil 'using namespace' from header files
...
svn-id: r47396
2010-01-19 23:48:55 +00:00
Torbjörn Andersson
428f8d6955
Fixed some cppcheck warnings.
...
svn-id: r47393
2010-01-19 20:41:51 +00:00
Paul Gilbert
e27ef211f8
Fix for a rare case where the NPC handler for Ewan the shopkeeper can cause an assert when you rejoin Goewin in the Weregate caves.
...
svn-id: r47197
2010-01-09 09:27:40 +00:00
Paul Gilbert
43f19bc722
Added a new LureLanguage enumeration of supported languages, and changed game code to use it
...
svn-id: r47019
2010-01-05 08:24:27 +00:00
Paul Gilbert
c8f991e89b
Bugfix for crash if an error occurs before the game object (and thus the debugger) is created
...
svn-id: r47018
2010-01-05 05:25:18 +00:00
Torbjörn Andersson
72eb9ec9ea
Fixed a bunch of cppcheck warnings. Mostly about checking if a pointer is null
...
before freeing it, which isn't necessary.
svn-id: r46941
2010-01-03 19:37:43 +00:00
Max Horn
c8873d8492
Changed MidiDriver::createMidi to take a MidiDriverType instead of an int
...
svn-id: r46316
2009-12-09 18:12:51 +00:00
Paul Gilbert
e3d354f63c
Bugfix for reactivating an NPC when it was previously deactivated at precisely the moment when it was about to do a pathfinding
...
svn-id: r46189
2009-11-29 09:02:02 +00:00
Max Horn
df651bf20f
Added Doxygen comments for the various engine namespaces (currently mostly without details; help filling these out is welcome)
...
svn-id: r46128
2009-11-24 22:10:14 +00:00
Max Horn
51933629d1
Changed foo(void) to foo() in almost all non-backend source files
...
svn-id: r45616
2009-11-02 21:54:57 +00:00
Max Horn
2df38ec61e
LURE: Turn HotspotTickHandlers into a proper class; convert static vars in various of its methods to member vars
...
svn-id: r45285
2009-10-20 19:51:57 +00:00
Max Horn
d0876b06ed
Remove some unused variables
...
svn-id: r44853
2009-10-09 22:21:45 +00:00
Max Horn
2e964baeef
Some const correctness changes; cleanup
...
svn-id: r44850
2009-10-09 21:47:33 +00:00
Max Horn
f242266f6d
Change a couple places from 'end of namespace' to 'End of namespace', for consistency
...
svn-id: r44634
2009-10-04 21:26:33 +00:00
Paul Gilbert
e67b0ef08c
Replaced delete operator with delete[]
...
svn-id: r44514
2009-10-01 12:03:12 +00:00
Filippos Karapetis
b4f1960318
Reverted parts of revisions #44298 , #44299 and #44300 , to prevent warnings and issues in compilers which don't support NORETURN
...
svn-id: r44314
2009-09-24 17:52:53 +00:00
Filippos Karapetis
5028d5a68b
Reverted my commit #44290 - apparently, it was a bad idea, as g_engine is a hack
...
svn-id: r44311
2009-09-24 17:07:27 +00:00
Filippos Karapetis
16d7d9ba23
Fixed some more warnings about unreachable code
...
svn-id: r44299
2009-09-24 10:02:13 +00:00
Filippos Karapetis
a70351e5ea
Changed some references from LureEngine to the global g_engine (e.g. calls to shouldQuit()), to minimize places where LureEngine is referenced
...
svn-id: r44290
2009-09-24 06:53:03 +00:00
Jordi Vilalta Prat
3337be7b08
Fix indentation
...
svn-id: r43837
2009-08-30 20:50:23 +00:00