Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/input/visual_studio/base_properties.vsprops @ 1637

Last change on this file since 1637 was 1637, checked in by rgrieder, 16 years ago

Finally! The InputManager is now working like I imagined it to. And it's even easier to use it as well.
A little explanation: Every time you change something about the input distribution, it is a change of 'state' represented by the class 'InputState'.
That can be for instance: "console", "game", "gui", etc. Every state has a name and a priority which describes who comes first. Now if one state doesn't handle mouse input or instance, then the one with the next lower priority gets it. To prevent that, you can add the 'EmptyHandler' to the state with setMouseHandler.
InputState is just an abstract base class. There are two classes implementing it: SimpleInputState and ExtendedInputState. The latter allows for multiple input handlers for one single device.

Basically, what you need to know is what you see in Orxonox.cc, InGameConsole.cc and Shell.cc.

File size: 1.8 KB
Line 
1<?xml version="1.0" encoding="Windows-1252"?>
2<VisualStudioPropertySheet
3        ProjectType="Visual C++"
4        Version="8.00"
5        Name="base_properties"
6        InheritedPropertySheets=".\directory_properties.vsprops"
7        >
8        <Tool
9                Name="VCCLCompilerTool"
10                AdditionalOptions="/MP2"
11                AdditionalIncludeDirectories="&quot;$(RootDir)&quot;;&quot;$(RootDir)src&quot;;&quot;$(RootDir)src\orxonox&quot;;&quot;$(RootDir)src\tolua&quot;;&quot;$(RootDir)src\ois&quot;;&quot;$(LibDir)ogre-1.4.8\OgreMain\include&quot;;&quot;$(LibDir)boost-1.35.0&quot;;&quot;$(LibDir)enet-1.2\include&quot;;&quot;$(LibDir)libogg-1.1.3\include&quot;;&quot;$(LibDir)libvorbis-1.2.0\include&quot;;&quot;$(LibDir)lua-5.1.3\src&quot;;&quot;$(LibDir)openal-1.1\include&quot;;&quot;$(LibDir)openal-1.1\alut\include&quot;;&quot;$(LibDir)tcl-8.5.\generic&quot;;&quot;$(LibDir)zlib-1.2.3&quot;"
12                PreprocessorDefinitions="WIN32;__WIN32__;_WIN32;BOOST_ALL_DYN_LINK;OIS_DYNAMIC_LIB; ZLIB_WINAPI"
13                WarningLevel="3"
14                DisableSpecificWarnings="4522;4251;4800"
15        />
16        <Tool
17                Name="VCLibrarianTool"
18                OutputFile="$(LibOutDir)$(ProjectName)$(CS).lib"
19                AdditionalLibraryDirectories="$(RootDir)dependencies\lib"
20                IgnoreAllDefaultLibraries="true"
21        />
22        <Tool
23                Name="VCLinkerTool"
24                OutputFile="$(OutDir)$(ProjectName)$(CS).dll"
25                AdditionalLibraryDirectories="$(DependencyDir)lib"
26                SubSystem="1"
27                ImportLibrary="$(LibOutDir)$(TargetName).lib"
28                TargetMachine="1"
29        />
30        <UserMacro
31                Name="LibOutDir"
32                Value="$(RootDir)lib\"
33        />
34        <UserMacro
35                Name="DependencyDir"
36                Value="$(RootDir)..\lib_precompiled\"
37        />
38        <UserMacro
39                Name="CS"
40                Value=""
41        />
42        <UserMacro
43                Name="CSS"
44                Value=""
45        />
46        <UserMacro
47                Name="LibDir"
48                Value="$(RootDir)..\lib_src\"
49        />
50        <UserMacro
51                Name="libOgre"
52                Value="OgreMain$(CS).lib"
53        />
54</VisualStudioPropertySheet>
Note: See TracBrowser for help on using the repository browser.