Open main menu

Difference between revisions of "User:Seldon/GSoC2007-ProjectDiary"

key mapper dialog features, edit game dialog, mappings saving/loading
(key mapper dialog features, edit game dialog, mappings saving/loading)
Line 124: Line 124:
== 2007-07-30 (Monday) - patch fix, key mapper dialog features, GUI ==
== 2007-07-30 (Monday) - patch fix, key mapper dialog features, GUI ==
Today I have fixed my v4.1 patch: added required includes for the kyra engine, fixed the common/event-manager.h include and the non-virtual destructor warnings. Started implementing the mappings save and load functionality in KeyMapper class. Talked to sev regarding the key mapper dialog features. I'll post them here once he reviews my comments. I have also figured out how to modify GUI windows and their elements in themes *.ini files.
Today I have fixed my v4.1 patch: added required includes for the kyra engine, fixed the common/event-manager.h include and the non-virtual destructor warnings. Started implementing the mappings save and load functionality in KeyMapper class. Talked to sev regarding the key mapper dialog features. I'll post them here once he reviews my comments. I have also figured out how to modify GUI windows and their elements in themes *.ini files.
== 2007-07-31 (Tuesday) - key mapper dialog features, edit game dialog, mappings saving/loading ==
First of all, here are is the list of features which the key mapper dialog should support:
* ability to see all current key/action mappings;
* possibility to completely unassign key from some particular action;
* checks for the same key being assigned to different actions;
* action mapping priorities (if there is no mapping for these actions the game won't start or smth like this. The situation when actions with lower priority have mappings while the actions with higher priority don't won't be allowed.)
* more then one keymap (as for Indy games);
* mappings should be displayed in two modes: action -> key(s) and key -> action (this is rather an improvement)
Today I have implemented the saving and loading of action mappings to and from the scummvm config file. I have also added the new key mapper tab to the edit game dialog with the buttons and action list. I have also thought over most of the implementation details for the above mentioned features.
69

edits