Changeset 5955 in orxonox.OLD for branches/powerups/src/lib/event/key_mapper.cc
- Timestamp:
- Dec 7, 2005, 1:05:10 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/powerups/src/lib/event/key_mapper.cc
r5474 r5955 21 21 #include "key_mapper.h" 22 22 23 #include "event_def.h" 24 23 25 #include "globals.h" 24 #include " ini_parser.h"26 #include "parser/ini_parser/ini_parser.h" 25 27 #include "key_names.h" 26 28 #include "debug.h" 29 27 30 28 31 using namespace std; … … 129 132 int* index; 130 133 131 iniParser-> getFirstVar();134 iniParser->firstVar(); 132 135 while(iniParser->getCurrentName()) 133 136 { … … 148 151 } 149 152 150 iniParser-> getFirstVar();153 iniParser->firstVar(); 151 154 while(iniParser->getCurrentName()) 152 155 { … … 191 194 { 192 195 if( index[0] == 0) 193 196 { 194 197 *map[i].pValue = index[1]; 195 198 PRINTF(4)("Mapping %s to '%s' (id %i)\n", name, SDLKToKeyname(index[1]), index[1]); 196 199 break; 197 198 else { 200 } 201 else { 199 202 *map[i].pValue = index[1]; 200 203 PRINTF(4)("Mapping %s to '%s' (id %i)\n", name, SDLBToButtonname(index[1]), index[1]); 201 204 break; 202 205 } 203 206 } 204 207 }
Note: See TracChangeset
for help on using the changeset viewer.