Last change
on this file since 2146 was
1887,
checked in by rgrieder, 16 years ago
|
FIRST THINGS FIRST: Delete or rename your keybindings.ini (def_keybindings.ini already has the most important bindings) or else you won't be able to do anything!
Changes:
- Multiple joy stick support should now fully work with KeyBinder too (only tested with 0/1 joystick)
- Reloading the OIS Devices now works with KeyBinder too
- Modified ConfigValueContainer to accept arbitrary section names
- added tkeybind to temporary bind a command to a key
- Fixed dlleport issue in ArgumentCompletionFunctions.h
Internal changes:
- General cleanup in initialisation of KeyBinder
- All names of keys/buttons/axes are now statically saved in InputInterfaces.h
- Move a magic value in KeyBinder to a configValue (MouseWheelStepSize_)
- Separated ConfigValues from Keybinding ConfigValueContainer in KeyBinder (looks much nicer now )
- Moved some performance critical small function to the inline section
- Removed the ugly keybind function construct from the InputManager
- More 'harmonising' work in KeyBinder
|
-
Property svn:eol-style set to
native
|
File size:
1.6 KB
|
Line | |
---|
1 | SET(CORE_SRC_FILES |
---|
2 | Clock.cc |
---|
3 | ConfigFileManager.cc |
---|
4 | ConfigValueContainer.cc |
---|
5 | Core.cc |
---|
6 | GameState.cc |
---|
7 | Language.cc |
---|
8 | ObjectListBase.cc |
---|
9 | OrxonoxClass.cc |
---|
10 | RootGameState.cc |
---|
11 | Script.cc |
---|
12 | |
---|
13 | # command |
---|
14 | ArgumentCompletionFunctions.cc |
---|
15 | CommandEvaluation.cc |
---|
16 | CommandExecutor.cc |
---|
17 | CommandLine.cc |
---|
18 | ConsoleCommand.cc |
---|
19 | ConsoleCommandCompilation.cc |
---|
20 | Executor.cc |
---|
21 | |
---|
22 | # hierarchy |
---|
23 | Factory.cc |
---|
24 | Identifier.cc |
---|
25 | MetaObjectList.cc |
---|
26 | |
---|
27 | # level |
---|
28 | BaseObject.cc |
---|
29 | ClassTreeMask.cc |
---|
30 | Loader.cc |
---|
31 | Namespace.cc |
---|
32 | NamespaceNode.cc |
---|
33 | XMLPort.cc |
---|
34 | |
---|
35 | # shell |
---|
36 | IRC.cc |
---|
37 | Shell.cc |
---|
38 | TclBind.cc |
---|
39 | TclThreadManager.cc |
---|
40 | |
---|
41 | # input |
---|
42 | input/Button.cc |
---|
43 | input/CalibratorCallback.cc |
---|
44 | input/ExtendedInputState.cc |
---|
45 | input/HalfAxis.cc |
---|
46 | input/InputBuffer.cc |
---|
47 | input/InputCommands.cc |
---|
48 | input/InputManager.cc |
---|
49 | input/JoyStickDeviceNumberListener.cc |
---|
50 | input/KeyBinder.cc |
---|
51 | input/KeyDetector.cc |
---|
52 | input/SimpleInputState.cc |
---|
53 | |
---|
54 | tolua/tolua_bind.cc |
---|
55 | ) |
---|
56 | |
---|
57 | GET_TARGET_PROPERTY(TOLUA_EXE tolua_orxonox LOCATION) |
---|
58 | ADD_CUSTOM_COMMAND( |
---|
59 | OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.cc ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.h |
---|
60 | COMMAND ${TOLUA_EXE} -n Core -o ../../src/core/tolua/tolua_bind.cc -H ../../src/core/tolua/tolua_bind.h ../../src/core/tolua/tolua.pkg |
---|
61 | DEPENDS |
---|
62 | tolua_orxonox |
---|
63 | tolua/tolua.pkg |
---|
64 | Script.h |
---|
65 | CommandExecutor.h |
---|
66 | WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib |
---|
67 | ) |
---|
68 | |
---|
69 | ADD_LIBRARY(core SHARED ${CORE_SRC_FILES}) |
---|
70 | |
---|
71 | TARGET_LINK_LIBRARIES(core |
---|
72 | ${OGRE_LIBRARIES} |
---|
73 | ${Boost_thread_LIBRARIES} |
---|
74 | ${Boost_filesystem_LIBRARIES} |
---|
75 | lua_orxonox |
---|
76 | cpptcl_orxonox |
---|
77 | ois_orxonox |
---|
78 | tinyxml_orxonox |
---|
79 | tolualib_orxonox |
---|
80 | util |
---|
81 | ) |
---|
Note: See
TracBrowser
for help on using the repository browser.