Ori Avtalion
9414d7a6e2
JANITORIAL: Reduce header dependencies in shared code
...
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Torbjörn Andersson
65585f6433
Silenced some harmless cppcheck warnings about unreachable code after a return.
...
In this case, it was always a break after a return in a switch case. There are
similar cases which cppcheck didn't detect, and a couple of cases where we have
a break after a continue in a switch case (where the continue refers to an
outer loop), but I didn't touch those. Not yet, at least.
svn-id: r48218
2010-03-10 06:39:23 +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
Eugene Sandulenko
8ad5694cb1
Reduce header dependencies for AGI engine.
...
svn-id: r46942
2010-01-03 20:15:44 +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
Max Horn
8ba75fc522
Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other things)
...
svn-id: r44495
2009-09-30 16:16:53 +00:00
Eugene Sandulenko
93d62da652
Whitespace fixes and C++ comments
...
svn-id: r41239
2009-06-06 17:39:13 +00:00
Johannes Schickel
b3c6751b9b
Strip trailing whitespaces in the whole code base.
...
svn-id: r40867
2009-05-24 15:17:42 +00:00
Matthew Hoops
6e434271fb
fix infinite loop when trying to quit in Troll's Tale
...
svn-id: r35734
2009-01-05 00:51:54 +00:00
Max Horn
6a2f3dc0b9
Added new type Engine::Feature; pushed down some #include dependencies
...
svn-id: r34755
2008-10-06 12:48:52 +00:00
Max Horn
9b160804ab
Renamed Engine::quit to Engine::shouldQuit (previously, it was easily confused with Engine::quitGame); also cleaned up engine.h a bit
...
svn-id: r34700
2008-09-30 12:27:38 +00:00
Christopher Page
7f480ac571
Quit and RTL code is more modular now. EVENT_RTL no longer sets _shouldQuit, shouldQuit is only set if there's an EVENT_QUIT. EVENT_RTL and EVENT_QUIT are completely separate from each other. Engine::quit() method now checks both _shouldQuit and _shouldRTL to determine if the engine should exit. There is no longer a need for resetQuit(), so it's removed
...
svn-id: r33082
2008-07-16 04:22:56 +00:00
Christopher Page
30b1a62e81
Removed unnecessary #inlcudes
...
svn-id: r32984
2008-07-10 05:15:19 +00:00
Christopher Page
e808cdf7a0
Reimplemented pushEvent() and artificialEventQueue to work with Events instead of EventTypes. Reimplemented Queue as a List instead of Array. Updated AGOS, AGI, CINE, GOB, and KYRA to work with the current implementation of the GMM
...
svn-id: r32971
2008-07-09 02:27:05 +00:00
Christopher Page
3beccaf115
PreAGI works with the new GMM implementation
...
svn-id: r32956
2008-07-08 01:33:57 +00:00
Jordi Vilalta Prat
d6c34bdc4b
Fixed the spaces before tabs.
...
svn-id: r30667
2008-01-28 00:14:17 +00:00
Jordi Vilalta Prat
66e9d4f5e8
Removed trailing spaces.
...
svn-id: r30664
2008-01-27 19:47:41 +00:00
Max Horn
a1503bf7c8
Fix another -Wuninitialized warnings - n could have been returned w/o having been set first
...
svn-id: r30211
2008-01-03 23:55:42 +00:00
Eugene Sandulenko
8a145bbb53
Hook PC Speaker to Troll's Tale. Though pitch and duration are wrong
...
svn-id: r29569
2007-11-19 20:34:26 +00:00
Eugene Sandulenko
04feab1689
Switch Troll's Tale to booter image
...
svn-id: r29028
2007-09-22 20:19:55 +00:00
Matthew Hoops
4436433cf6
allow for using up/down in menus
...
svn-id: r28996
2007-09-20 22:44:48 +00:00
Eugene Sandulenko
341b8f1e67
Last pieces of Troll's Tale. Only missing thing is sound
...
svn-id: r28992
2007-09-20 21:55:15 +00:00
Eugene Sandulenko
14b89bcf46
Implement inventory in Troll's Tale
...
svn-id: r28987
2007-09-20 18:18:10 +00:00
Matthew Hoops
fb97e09e93
show the cursor in Troll after the first intro screen
...
svn-id: r28974
2007-09-19 21:24:27 +00:00
Eugene Sandulenko
2254028365
Merge several choice-related functions
...
svn-id: r28967
2007-09-19 09:54:42 +00:00
Eugene Sandulenko
a8751e4d73
Fix picture drawing in Troll's Tale. Implement room navigation.
...
svn-id: r28946
2007-09-18 20:23:06 +00:00
Max Horn
5c08cb1bcf
Fix compiler warning
...
svn-id: r28943
2007-09-18 19:33:05 +00:00
Eugene Sandulenko
55b19a1fd4
First room is shown.
...
svn-id: r28942
2007-09-18 19:06:05 +00:00
Eugene Sandulenko
34ceaf208f
Fix menu and tutorial it Troll's Tale
...
svn-id: r28941
2007-09-18 17:01:45 +00:00
Eugene Sandulenko
13a73a70b6
WIP for Troll's Tale
...
svn-id: r28939
2007-09-18 16:20:44 +00:00