summaryrefslogtreecommitdiff
path: root/src/keyboardconfig.cpp
AgeCommit message (Collapse)AuthorFilesLines
2009-02-09Mostly whitespace fixesBjørn Lindeijer1-7/+7
Removed tab characters and trailing spaces and added spaces between "if(", "for(", "while(" and "switch(".
2009-02-07Some more include cleanups.Ira Rice1-2/+1
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-05Rather than to settle for a broken default (if it's left at space,Ira Rice1-4/+5
then you won't be able to type spaces in the NPC integer or string dialogs. And no, assigning focus to the ok button doesn't resolve anything, but makes things worse, as then the user has to click on the input field to input text, then must click the ok button, as the chat window already overrode it's confirmation action), this commit allows for both the chat input and the NPC dialog confirming to share the same key, but allows for people to change one or the other if they want to. This will still allow for the player to use the keyboard fully for NPC dialogs, but allow for people who don't like not being able to use chat with an NPC dialog open to assign confirmation to another key and get their way as well. This is a rather ugly way of resolving both sides of the issue, but it's the only way to appease both sides. The Aethyra players want things the way they were, while Bjorn wanted things a different way. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-05Three things: Split chat and NPC dialog functionality based on the TMWIra Rice1-50/+62
complaint commit d2876ad85935c5d0b181d050bd4c19a4682123b1 (btw, if you're concerned about that, return is also a bad choice for the chat window in general, which overrides the GuiChan default for use widget. Tab would also be a bad choice, as it cycles through the widgets), next, I made the text displayed by the keyboard configuration setup dialog translatable, and lastly, I exposed the rest of the previously unconfigurable keys to be configurable through the keyboard setup tab. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-23Removed unnecessary references to The Mana World in code headersBjørn Lindeijer1-4/+4
This dates back to the old days of TMW, but the usage instructions of GPLv2 don't mention this being necessary. Since it doesn't add anything, avoid the branding in these sections.
2009-01-12Some rather pedantic changes. Unified all naming for emoticons in theIra Rice1-27/+25
code so that only one term is used everywhere (to simplify maintainability), as well as corrected several variable names and comments where there was copy/pasted code, but it wasn't corrected. Also moved emote shortcuts back to where they were originally, to reduce player confusion when the next build comes around. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-04Smiley step 1.91, the little part to make it workForge1-1/+1
TODO list of 1.9 still intact.
2009-01-02Step 1.5 of smiley update: allow usage of same key for smiley andForge1-2/+27
different purpose (as smiley are requiring a special key press, that's not a problem to assign the same key to differents purpose) The function of game.cpp get reindented in the process, but the actual change is minor. The keyboardconfig get a new function, returning directly the emoticon offset from the key pressed. (later, that function will return the index of the smiley shortcut/array that has been selected... later) Signed-off-by: Forge <jgrimbert@free.fr>
2009-01-01Customisable shortkey for smiley (defaulting to keypad 0-9/*)Forge1-1/+15
First step to more smileys... Fully functionnal, very minor modifications Provisions made for second step (windows for choosing smiley) Signed-off-by: Forge <jgrimbert@free.fr>
2008-12-09Make the window shortcuts configurableJared Adams1-1/+10
2008-11-18Pedantic fixes to the client, where I alphabetized all of the include Ira Rice1-5/+3
statements, as well as removing the new skill dialog, which we do not, nor will we use (if we do, it'd be a new one that we'd make). WARNING!!! This, and all other previous builds have a linker error for the Gnome libraries version 4.3.2 on my setup. It's assumed that this is also the case for other users of this library as well. I'm currently assuming that there's a bug in the compiler itself, and will look into reporting this, but in the mean time, it doesn't build for these users, unfortunately. Sorry about this.
2008-10-28Changed the name of the old target key to stop attack, as well as making Ira Rice1-1/+1
it do exactly that in the local player. Since it already was doing this behavior anyways, I just extended it out to stop attack at any point in the attack.
2008-10-27Made targets draw on the fringe layer, as well as added t for talking to Ira Rice1-0/+2
an NPC, n for targeting an NPC, and changed basic targeting code so that it'll time out after being on a target for longer than a minute.
2008-09-25Merged the Tametomo branch into trunk.Ira Rice1-1/+2
2008-07-18Import of client treeLloyd Bryant1-1/+1
2007-12-30Added a key for targeting the nearest player character based on patches by ↵Philipp Sehmisch1-0/+1
Trinexx. Some mapping fixes at snake dungeon map.
2007-08-22Fixed an arithmetic exception in ItemShortcutContainer::draw.Bjørn Lindeijer1-1/+1
Changed default sitting key back to 's'. Fixed a problem with all equipment being interpreted as weapon sprite.
2007-08-21mantis id=118 - Added Item Shortcut Bar.Joshua Langley1-1/+11
2007-08-19v0.0 - keyboard config, sit fixed.Joshua Langley1-0/+1
2007-08-19v0.0.23 - src/keyboardconfig.cpp, src/keyboardconfig.h - minor cleanup.Joshua Langley1-14/+22
2007-07-25keyboard config - keyboard setup gui re-designed, fixed errors in keyboard ↵Joshua Langley1-8/+1
config. m_id:16
2007-07-24Fixed initialization order and added setup_keyboard.* and keyboardconfig.* toBjørn Lindeijer1-131/+132
the list of source files. Also set some missing Subversion properties.
2007-07-24keyboard configuration - mainly documentation fixes. Joshua Langley1-8/+10
http://mantis.themanaworld.org/view.php?id=16
2007-07-16(no commit message)Joshua Langley1-0/+129