Commit Graph

67 Commits

Author SHA1 Message Date
Paul Gilbert
cc689fd16a CGE: Use Engine save/load dialog methods 2020-02-04 19:05:26 -08:00
D G Turner
af850a3e37 CGE: Fix GCC Warnings by Explicit Structure Initialization
Some of the members of the structures do not need this as they have
constructors which do this implicitly.
2019-07-24 21:57:35 +01:00
Torbjörn Andersson
462f1c9859 JANITORIAL: Silence more GCC 7 warnings
There were all flagged as intentional fall throughs. I simply changed
the comments to something GCC would recognize.
2017-08-06 12:26:05 +02:00
Ori Avtalion
253e18c440 JANITORIAL: Reduce GUI header dependencies 2016-04-14 13:30:14 +03:00
Thierry Crozat
245afb1fcb CGE: Translate buttons in load and save dialogs. 2016-02-20 21:08:34 +00:00
Johannes Schickel
ed40653105 CGE: Make GPL headers consistent in themselves. 2014-02-18 02:39:33 +01:00
Torbjörn Andersson
af64cad069 JANITORIAL: Replace some spaces with tabs 2012-12-16 09:35:52 +01:00
Strangerke
b1cc34a080 CGE: Remove hack used to store keycode in CGEEvent 2012-07-05 21:31:42 +02:00
Strangerke
4201d4ead0 CGE: Use keycode instead of ascii value 2012-07-03 23:55:48 +02:00
D G Turner
cc02255740 CGE: Fix for missing inventory selection by numeric keys.
This fixes bug #3539671.
2012-07-03 21:43:04 +01:00
Strangerke
c7fd284e4a CGE: Fix bug 3537530 - ALTering dice 2012-06-25 00:44:59 +02:00
Johannes Schickel
7c5cf1b400 GUI: Add helper to SaveLoadChooser, which uses the currently active target.
This reduces the code duplication in all client code, which formerly duplicated
the querying of the plugin, game id etc. and now simply calls the newly added
method runModalWithCurrentTarget() on a SaveLoadChooser object.
2012-06-10 04:53:17 +02:00
Johannes Schickel
15046a7529 GUI: Get rid of SaveLoadChooser::setSaveMode.
We already pass the title and process button name to the constructor of
SaveLoadChooser and then do not offer any way of changing it, thus changing
the edit mode of the chooser is kind of pointless and was never actually used.
Instead we pass the mode on SaveLoadChooser construction now.
2012-06-10 04:19:45 +02:00
Max Horn
4202d45fce CGE: Avoid including advancedDetector.h from cge.h 2012-02-22 18:25:37 +01:00
Strangerke
a12ba5f6a6 CGE: Simplify keyboard handling 2011-11-30 19:52:19 +01:00
Strangerke
a9fb11b704 CGE: Fix Console attach code 2011-11-27 10:05:55 +01:00
Paul Gilbert
50ce261dda CGE: Hooked up the ScummVM debugger 2011-11-27 19:57:34 +11:00
Johannes Schickel
61795739f8 COMMON: Rename Common::set_to to Common::fill.
This makes the name match with the name of the STL function with the same
behavior.
2011-11-16 18:06:30 +01:00
Strangerke
3d59d9a137 CGE: Add RTL, hook Main Menu to right click on audio button 2011-11-16 00:00:07 +01:00
Strangerke
8097aeb43a CGE: F1 now displays Soltys version and translators.
This is only available in versions modified or translated by the team
2011-11-13 12:33:36 +01:00
Paul Gilbert
09a48a0878 CGE: Bugfixes for the save/load game keys 2011-11-08 20:37:14 +11:00
Strangerke
4778ff720c CGE: Move some more globals to CGEEngine 2011-09-17 10:54:50 +02:00
Strangerke
f5eca79658 CGE: Move 4 global to CGEEngine 2011-09-17 10:08:52 +02:00
Strangerke
0668a56f69 CGE: Move _vga to CGEEngine 2011-09-16 23:54:08 +02:00
Strangerke
938c08ae58 CGE: Get rid of some more global functions and static members 2011-09-16 20:31:39 +02:00
Strangerke
15bf8050b8 CGE: Move two globals functions to CGEEngine 2011-09-16 06:45:53 +02:00
Strangerke
d7695542cd CGE: Remove various defines and functions from "general"
Those were already present in ScummVM (thanks Fingolfin for point out)
2011-09-06 00:16:07 +02:00
Strangerke
76f410958a CGE: Use F5/F7 to display the save/load dialog box 2011-09-04 14:28:12 +02:00
Alyssa Milburn
e4a37322a6 CGE: More misc cleanup. 2011-08-20 00:23:45 +02:00
Alyssa Milburn
bda1afdbfb Merge branch 'soltys_wip2' of https://github.com/Strangerke/scummvm into soltys_wip2
Conflicts:
	engines/cge/bitmap.cpp
2011-08-19 20:14:40 +02:00
Strangerke
8ff904c6b5 CGE: clean up bitmap class. Suppress useless methods, functions, defines... 2011-08-19 19:48:49 +02:00
Strangerke
df122cec17 CGE: fix some warnings reported by cppcheck 2011-08-19 18:32:46 +02:00
Alyssa Milburn
4e156b2463 CGE: Mass re-style/cleanup. 2011-08-19 16:04:10 +02:00
Paul Gilbert
372d488b3b CGE: Revert previous commit of flags synchronisation 2011-08-19 20:36:43 +10:00
Paul Gilbert
0d730b85e3 CGE: Changed the Sprite bit-flags into a union, to fix savegame endian issues 2011-08-19 19:49:05 +10:00
Paul Gilbert
db61f65b41 CGE: Fix uninitialised warning on event polling 2011-08-06 19:23:01 +10:00
Strangerke
6f92cdd0d0 CGE: Rename some more defines 2011-08-02 21:47:56 +02:00
Strangerke
88f6cc9b23 CGE: Clean eventManager 2011-08-01 09:53:15 +02:00
Strangerke
c053762c63 CGE: Replace magic values by defines, rename some defines 2011-07-31 19:56:14 +02:00
Strangerke
f898da53a4 CGE: Improve keyboard behavior for non-US layouts 2011-07-31 09:38:08 +02:00
Strangerke
55df4d0635 CGE: Rename some class members, various clean up 2011-07-31 00:52:35 +02:00
Strangerke
7d5eb1ee63 CGE: Janitorial: remove trailing spaces 2011-07-28 15:35:12 +02:00
Strangerke
5d41ab8b5f CGE: Rename some more constants, remove some useless ones 2011-07-21 01:56:40 +02:00
Paul Gilbert
b957eda759 CGE: Map keypad Enter to be handled like the main Enter key 2011-07-16 15:30:06 +10:00
Paul Gilbert
c3bed46ba0 CGE: Fix for all the game objects being draggable 2011-07-15 19:38:58 +10:00
Paul Gilbert
daae033e01 CGE: Converted SprExt::_Seq to use dynamically allocated data 2011-07-12 21:16:23 +10:00
Paul Gilbert
9ba5e2b304 CGE: Reverted last commit due to extra memory leaks 2011-07-11 20:56:32 +10:00
Paul Gilbert
18077762d7 CGE: Standardised Sprite::seq on always allocating/freeing data 2011-07-11 20:37:37 +10:00
Paul Gilbert
9b5b88274e CGE: Bugfix for correctly flagging key release 2011-07-10 20:13:11 +10:00
Paul Gilbert
88c7b25e5b CGE: Fixed more free/delete[] mismatches identified by Valgrind 2011-07-10 17:56:29 +10:00