Commit Graph

44 Commits

Author SHA1 Message Date
Robin Watts
8f3b2e9b4d Remove warnings from NDS build.
svn-id: r35172
2008-11-29 18:01:16 +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
17ce8db211 Lure works with the new GMM implementation
svn-id: r32996
2008-07-10 22:34:48 +00:00
Christopher Page
6e3474896c Kyra and Lure are now using the new _quit flag
svn-id: r32772
2008-06-25 00:55:18 +00:00
Christopher Page
203f62ad7c LURE: Fixed some memory leaks when returning to the launcher from the LURE engine
svn-id: r32357
2008-05-28 23:28:11 +00:00
Filippos Karapetis
6a9acd7a5e Replaced ManagedList with Common::SharedPtr in the rest of the lure engine
svn-id: r31420
2008-04-06 12:00:37 +00:00
Lars Persson
fe52777943 clibable menus for symbian
svn-id: r30706
2008-01-29 22:39:09 +00:00
Jordi Vilalta Prat
66e9d4f5e8 Removed trailing spaces.
svn-id: r30664
2008-01-27 19:47:41 +00:00
Paul Gilbert
241c337dc3 Fixed popup menu height so bottom action doesn't partially overlap the bottom border
svn-id: r30346
2008-01-09 02:32:18 +00:00
Paul Gilbert
6eb64102a4 Fix to remove a tab character from the GPL header
svn-id: r30238
2008-01-05 12:45:14 +00:00
Paul Gilbert
705bd9236c Fix for popup menus to work in EGA mode
svn-id: r30234
2008-01-05 11:25:30 +00:00
Paul Gilbert
65399321eb Added support for the EGA style menu
svn-id: r30228
2008-01-05 10:35:47 +00:00
Paul Gilbert
99dfb8bcbc Added support for using scroll wheel for making selections in the Save/Restore dialog and action lists
svn-id: r30070
2007-12-29 09:51:25 +00:00
Paul Gilbert
52dc147f8c Added mouse scrolling support to action menus and the save/restore dialog
svn-id: r30065
2007-12-29 00:31:15 +00:00
Kostas Nakos
b5ab73075c adding clickable menu functionality, which is very good to have on devices with fixed/cumbersome/synthesized left and right click events (wince, palmos, ...)
svn-id: r29883
2007-12-16 20:07:01 +00:00
Paul Gilbert
4e3090377f Added detection of Spanish version
svn-id: r29654
2007-11-28 10:37:40 +00:00
Paul Gilbert
a03f51893c Fixed menu data for German version
svn-id: r29602
2007-11-22 10:07:47 +00:00
Paul Gilbert
5eb9b10bbd Changed calls to pollEvent to be in while loops to ensure all pending events get processed
svn-id: r29576
2007-11-20 12:26:06 +00:00
Paul Gilbert
cb2f6ce092 Fixed action lists to sort correctly for non-English languages
svn-id: r29144
2007-09-30 12:35:37 +00:00
Paul Gilbert
b7c7623930 Added cross-language handling for the top menu
svn-id: r29136
2007-09-30 10:51:33 +00:00
Torbjörn Andersson
f4507e71d3 Indentation.
svn-id: r29057
2007-09-23 16:48:33 +00:00
Max Horn
4a302b25ad Lots of source code formatting corrections
svn-id: r28887
2007-09-10 13:17:20 +00:00
Max Horn
6ef494ab28 Converted LURE code to use KEYCODEs
svn-id: r27668
2007-06-23 14:59:58 +00:00
Max Horn
54d668ac13 Changed more code to use Common::KEYCODE_ enum
svn-id: r27624
2007-06-22 21:10:57 +00:00
Paul Gilbert
8b3821e9ff Lots of bugfixes - game is now completable
svn-id: r27606
2007-06-22 12:36:04 +00:00
Max Horn
218e132e37 Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
2007-05-30 21:56:52 +00:00
Paul Gilbert
3586004c96 Bugfix to restore the correct part of the screen when the menu changes
svn-id: r26486
2007-04-15 10:44:37 +00:00
Max Horn
ed54ea9155 Moved Event/EventType/keyboard enum from common/system.h (part of class OSystem) to common/events.h (part of namespace Common). Porters may have to make minor changes to their backends to get them to compile again
svn-id: r26180
2007-03-17 19:02:05 +00:00
Max Horn
a6f3ed8173 Got rid of Lure::System
svn-id: r26155
2007-03-17 00:39:18 +00:00
Torbjörn Andersson
0a18259d78 Used Fingolfin's workaround for a bogus (?) warning produced by some versions
of GCC. (Not the one he's using, though, which is why I'm doing this instead.)

svn-id: r25327
2007-02-01 20:16:32 +00:00
Paul Gilbert
1a96e26bf6 Added functionality to allow saving/loading the game state
svn-id: r24070
2006-10-02 12:48:56 +00:00
Paul Gilbert
d9b5129fb8 Transferred all previously hard-coded English in-game text to a resource
svn-id: r23831
2006-09-07 11:21:20 +00:00
Paul Gilbert
816cc1a62c Bugfix to only list rooms that have been found in the Tell action 'Go To' command
svn-id: r23825
2006-09-03 05:04:58 +00:00
Paul Gilbert
af297a17a3 Added support for rooms in the ShowItems method, and adding alphabetic sorting of entries in action selection
svn-id: r23783
2006-08-27 11:43:09 +00:00
Paul Gilbert
389c7a403c changed references to StringData::getString to use two parameter version rather than passing NULL values
svn-id: r23697
2006-08-07 13:28:19 +00:00
Paul Gilbert
0849e46541 Added a popup menu method for listing the items presented in response to an ASK action
svn-id: r23631
2006-07-30 12:13:26 +00:00
Paul Gilbert
55c80679ba Disabled waiting for mouse release when making a popup selection to match original game
svn-id: r23411
2006-07-08 08:37:47 +00:00
Torbjörn Andersson
72906f2508 Made the Lure engine call updateScreen() more often - particularly when using
the menu bar at the top of the window - for smoother mouse movement. (After a
discussion with sev.)

svn-id: r21992
2006-04-17 23:37:22 +00:00
Torbjörn Andersson
d846f9a5e1 Added delays to the main and menu event loops to keep Lure from gobbling up all
available CPU time.

svn-id: r21787
2006-04-11 11:55:27 +00:00
Travis Howell
b8cf88622b Fix a few valgrind warnings
svn-id: r21258
2006-03-13 11:52:16 +00:00
Torbjörn Andersson
094382a6d0 With the added delay to the popup menu loop, it's much more likely that each
iteration will see several events, so pop all events from the queue each time.
Of course, we still only need to check the mouse position once. Warp the mouse
back to neutral even if we're trying to go past the first/last menu entry.

svn-id: r20918
2006-02-26 15:24:11 +00:00
Torbjörn Andersson
f13d294ae5 Cleaned up my earlier "delay in busy-wait loop" commit, and added a similar
delay to PopupMenu::Show().

svn-id: r20914
2006-02-26 13:43:50 +00:00
Paul Gilbert
f868a59940 Changed the menu subsystem to use getReference rather than being passed in the constructor
svn-id: r20757
2006-02-19 04:04:07 +00:00
Max Horn
26ee630756 Moved engines to the new engines/ directory
svn-id: r20582
2006-02-11 22:45:04 +00:00