Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/input/visual_studio/vc8/core.vcproj @ 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: 11.2 KB
Line 
1<?xml version="1.0" encoding="Windows-1252"?>
2<VisualStudioProject
3        ProjectType="Visual C++"
4        Version="8.00"
5        Name="core"
6        ProjectGUID="{271715F3-5B90-4110-A552-70C788084A86}"
7        RootNamespace="FICN"
8        Keyword="Win32Proj"
9        >
10        <Platforms>
11                <Platform
12                        Name="Win32"
13                />
14        </Platforms>
15        <ToolFiles>
16        </ToolFiles>
17        <Configurations>
18                <Configuration
19                        Name="Debug|Win32"
20                        ConfigurationType="2"
21                        InheritedPropertySheets="$(SolutionDir)base_properties_debug.vsprops;..\core_properties.vsprops"
22                        CharacterSet="1"
23                        >
24                        <Tool
25                                Name="VCPreBuildEventTool"
26                        />
27                        <Tool
28                                Name="VCCustomBuildTool"
29                        />
30                        <Tool
31                                Name="VCXMLDataGeneratorTool"
32                        />
33                        <Tool
34                                Name="VCWebServiceProxyGeneratorTool"
35                        />
36                        <Tool
37                                Name="VCMIDLTool"
38                        />
39                        <Tool
40                                Name="VCCLCompilerTool"
41                        />
42                        <Tool
43                                Name="VCManagedResourceCompilerTool"
44                        />
45                        <Tool
46                                Name="VCResourceCompilerTool"
47                        />
48                        <Tool
49                                Name="VCPreLinkEventTool"
50                        />
51                        <Tool
52                                Name="VCLinkerTool"
53                        />
54                        <Tool
55                                Name="VCALinkTool"
56                        />
57                        <Tool
58                                Name="VCManifestTool"
59                        />
60                        <Tool
61                                Name="VCXDCMakeTool"
62                        />
63                        <Tool
64                                Name="VCBscMakeTool"
65                        />
66                        <Tool
67                                Name="VCFxCopTool"
68                        />
69                        <Tool
70                                Name="VCAppVerifierTool"
71                        />
72                        <Tool
73                                Name="VCWebDeploymentTool"
74                        />
75                        <Tool
76                                Name="VCPostBuildEventTool"
77                        />
78                </Configuration>
79                <Configuration
80                        Name="Release|Win32"
81                        ConfigurationType="2"
82                        InheritedPropertySheets="$(SolutionDir)base_properties_release.vsprops;..\core_properties.vsprops"
83                        CharacterSet="1"
84                        WholeProgramOptimization="0"
85                        >
86                        <Tool
87                                Name="VCPreBuildEventTool"
88                        />
89                        <Tool
90                                Name="VCCustomBuildTool"
91                        />
92                        <Tool
93                                Name="VCXMLDataGeneratorTool"
94                        />
95                        <Tool
96                                Name="VCWebServiceProxyGeneratorTool"
97                        />
98                        <Tool
99                                Name="VCMIDLTool"
100                        />
101                        <Tool
102                                Name="VCCLCompilerTool"
103                        />
104                        <Tool
105                                Name="VCManagedResourceCompilerTool"
106                        />
107                        <Tool
108                                Name="VCResourceCompilerTool"
109                        />
110                        <Tool
111                                Name="VCPreLinkEventTool"
112                        />
113                        <Tool
114                                Name="VCLinkerTool"
115                        />
116                        <Tool
117                                Name="VCALinkTool"
118                        />
119                        <Tool
120                                Name="VCManifestTool"
121                        />
122                        <Tool
123                                Name="VCXDCMakeTool"
124                        />
125                        <Tool
126                                Name="VCBscMakeTool"
127                        />
128                        <Tool
129                                Name="VCFxCopTool"
130                        />
131                        <Tool
132                                Name="VCAppVerifierTool"
133                        />
134                        <Tool
135                                Name="VCWebDeploymentTool"
136                        />
137                        <Tool
138                                Name="VCPostBuildEventTool"
139                        />
140                </Configuration>
141        </Configurations>
142        <References>
143        </References>
144        <Files>
145                <Filter
146                        Name="Source Files"
147                        Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
148                        UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
149                        >
150                        <File
151                                RelativePath="..\..\src\core\ConfigFileManager.cc"
152                                >
153                        </File>
154                        <File
155                                RelativePath="..\..\src\core\ConfigValueContainer.cc"
156                                >
157                        </File>
158                        <File
159                                RelativePath="..\..\src\core\Core.cc"
160                                >
161                        </File>
162                        <File
163                                RelativePath="..\..\src\core\Error.cc"
164                                >
165                        </File>
166                        <File
167                                RelativePath="..\..\src\core\Language.cc"
168                                >
169                        </File>
170                        <File
171                                RelativePath="..\..\src\core\OrxonoxClass.cc"
172                                >
173                        </File>
174                        <File
175                                RelativePath="..\..\src\core\OutputBuffer.cc"
176                                >
177                        </File>
178                        <File
179                                RelativePath="..\..\src\core\OutputHandler.cc"
180                                >
181                        </File>
182                        <File
183                                RelativePath="..\..\src\core\Script.cc"
184                                >
185                        </File>
186                        <File
187                                RelativePath="..\..\src\core\SignalHandler.cc"
188                                >
189                        </File>
190                        <Filter
191                                Name="tolua"
192                                >
193                                <File
194                                        RelativePath="..\..\src\core\tolua\tolua_bind.cc"
195                                        >
196                                </File>
197                        </Filter>
198                        <Filter
199                                Name="command"
200                                >
201                                <File
202                                        RelativePath="..\..\src\core\ArgumentCompletionFunctions.cc"
203                                        >
204                                </File>
205                                <File
206                                        RelativePath="..\..\src\core\CommandEvaluation.cc"
207                                        >
208                                </File>
209                                <File
210                                        RelativePath="..\..\src\core\CommandExecutor.cc"
211                                        >
212                                </File>
213                                <File
214                                        RelativePath="..\..\src\core\ConsoleCommand.cc"
215                                        >
216                                </File>
217                                <File
218                                        RelativePath="..\..\src\core\ConsoleCommandCompilation.cc"
219                                        >
220                                </File>
221                                <File
222                                        RelativePath="..\..\src\core\Executor.cc"
223                                        >
224                                </File>
225                        </Filter>
226                        <Filter
227                                Name="hierarchy"
228                                >
229                                <File
230                                        RelativePath="..\..\src\core\Factory.cc"
231                                        >
232                                </File>
233                                <File
234                                        RelativePath="..\..\src\core\Identifier.cc"
235                                        >
236                                </File>
237                                <File
238                                        RelativePath="..\..\src\core\MetaObjectList.cc"
239                                        >
240                                </File>
241                        </Filter>
242                        <Filter
243                                Name="level"
244                                >
245                                <File
246                                        RelativePath="..\..\src\core\BaseObject.cc"
247                                        >
248                                </File>
249                                <File
250                                        RelativePath="..\..\src\core\ClassTreeMask.cc"
251                                        >
252                                </File>
253                                <File
254                                        RelativePath="..\..\src\core\Loader.cc"
255                                        >
256                                </File>
257                                <File
258                                        RelativePath="..\..\src\core\Namespace.cc"
259                                        >
260                                </File>
261                                <File
262                                        RelativePath="..\..\src\core\NamespaceNode.cc"
263                                        >
264                                </File>
265                                <File
266                                        RelativePath="..\..\src\core\XMLPort.cc"
267                                        >
268                                </File>
269                        </Filter>
270                        <Filter
271                                Name="input"
272                                >
273                                <File
274                                        RelativePath="..\..\src\core\input\Button.cc"
275                                        >
276                                </File>
277                                <File
278                                        RelativePath="..\..\src\core\input\CalibratorCallback.cc"
279                                        >
280                                </File>
281                                <File
282                                        RelativePath="..\..\src\core\input\ExtendedInputState.cc"
283                                        >
284                                </File>
285                                <File
286                                        RelativePath="..\..\src\core\input\HalfAxis.cc"
287                                        >
288                                </File>
289                                <File
290                                        RelativePath="..\..\src\core\input\InputBuffer.cc"
291                                        >
292                                </File>
293                                <File
294                                        RelativePath="..\..\src\core\input\InputCommands.cc"
295                                        >
296                                </File>
297                                <File
298                                        RelativePath="..\..\src\core\input\InputManager.cc"
299                                        >
300                                </File>
301                                <File
302                                        RelativePath="..\..\src\core\input\KeyBinder.cc"
303                                        >
304                                </File>
305                                <File
306                                        RelativePath="..\..\src\core\input\KeyDetector.cc"
307                                        >
308                                </File>
309                                <File
310                                        RelativePath="..\..\src\core\input\SimpleInputState.cc"
311                                        >
312                                </File>
313                        </Filter>
314                        <Filter
315                                Name="shell"
316                                >
317                                <File
318                                        RelativePath="..\..\src\core\IRC.cc"
319                                        >
320                                </File>
321                                <File
322                                        RelativePath="..\..\src\core\Shell.cc"
323                                        >
324                                </File>
325                                <File
326                                        RelativePath="..\..\src\core\TclBind.cc"
327                                        >
328                                </File>
329                                <File
330                                        RelativePath="..\..\src\core\TclThreadManager.cc"
331                                        >
332                                </File>
333                        </Filter>
334                </Filter>
335                <Filter
336                        Name="Header Files"
337                        Filter="h;hpp;hxx;hm;inl;inc;xsd"
338                        UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
339                        >
340                        <File
341                                RelativePath="..\..\src\core\ConfigFileManager.h"
342                                >
343                        </File>
344                        <File
345                                RelativePath="..\..\src\core\ConfigValueContainer.h"
346                                >
347                        </File>
348                        <File
349                                RelativePath="..\..\src\core\ConfigValueIncludes.h"
350                                >
351                        </File>
352                        <File
353                                RelativePath="..\..\src\core\Core.h"
354                                >
355                        </File>
356                        <File
357                                RelativePath="..\..\src\core\CorePrereqs.h"
358                                >
359                        </File>
360                        <File
361                                RelativePath="..\..\src\core\Debug.h"
362                                >
363                        </File>
364                        <File
365                                RelativePath="..\..\src\core\Error.h"
366                                >
367                        </File>
368                        <File
369                                RelativePath="..\..\src\core\Language.h"
370                                >
371                        </File>
372                        <File
373                                RelativePath="..\..\src\core\OrxonoxClass.h"
374                                >
375                        </File>
376                        <File
377                                RelativePath="..\..\src\core\OutputBuffer.h"
378                                >
379                        </File>
380                        <File
381                                RelativePath="..\..\src\core\OutputHandler.h"
382                                >
383                        </File>
384                        <File
385                                RelativePath="..\..\src\core\Script.h"
386                                >
387                        </File>
388                        <File
389                                RelativePath="..\..\src\core\Script_clean.h"
390                                >
391                        </File>
392                        <File
393                                RelativePath="..\..\src\core\SignalHandler.h"
394                                >
395                        </File>
396                        <Filter
397                                Name="input"
398                                >
399                                <File
400                                        RelativePath="..\..\src\core\input\Button.h"
401                                        >
402                                </File>
403                                <File
404                                        RelativePath="..\..\src\core\input\CalibratorCallback.h"
405                                        >
406                                </File>
407                                <File
408                                        RelativePath="..\..\src\core\input\ExtendedInputState.h"
409                                        >
410                                </File>
411                                <File
412                                        RelativePath="..\..\src\core\input\HalfAxis.h"
413                                        >
414                                </File>
415                                <File
416                                        RelativePath="..\..\src\core\input\InputBuffer.h"
417                                        >
418                                </File>
419                                <File
420                                        RelativePath="..\..\src\core\input\InputCommands.h"
421                                        >
422                                </File>
423                                <File
424                                        RelativePath="..\..\src\core\input\InputInterfaces.h"
425                                        >
426                                </File>
427                                <File
428                                        RelativePath="..\..\src\core\input\InputManager.h"
429                                        >
430                                </File>
431                                <File
432                                        RelativePath="..\..\src\core\input\InputState.h"
433                                        >
434                                </File>
435                                <File
436                                        RelativePath="..\..\src\core\input\KeyBinder.h"
437                                        >
438                                </File>
439                                <File
440                                        RelativePath="..\..\src\core\input\KeyDetector.h"
441                                        >
442                                </File>
443                                <File
444                                        RelativePath="..\..\src\core\input\SimpleInputState.h"
445                                        >
446                                </File>
447                        </Filter>
448                        <Filter
449                                Name="command"
450                                >
451                                <File
452                                        RelativePath="..\..\src\core\ArgumentCompleter.h"
453                                        >
454                                </File>
455                                <File
456                                        RelativePath="..\..\src\core\ArgumentCompletionFunctions.h"
457                                        >
458                                </File>
459                                <File
460                                        RelativePath="..\..\src\core\ArgumentCompletionListElement.h"
461                                        >
462                                </File>
463                                <File
464                                        RelativePath="..\..\src\core\CommandEvaluation.h"
465                                        >
466                                </File>
467                                <File
468                                        RelativePath="..\..\src\core\CommandExecutor.h"
469                                        >
470                                </File>
471                                <File
472                                        RelativePath="..\..\src\core\ConsoleCommand.h"
473                                        >
474                                </File>
475                                <File
476                                        RelativePath="..\..\src\core\ConsoleCommandCompilation.h"
477                                        >
478                                </File>
479                                <File
480                                        RelativePath="..\..\src\core\Executor.h"
481                                        >
482                                </File>
483                                <File
484                                        RelativePath="..\..\src\core\Functor.h"
485                                        >
486                                </File>
487                        </Filter>
488                        <Filter
489                                Name="shell"
490                                >
491                                <File
492                                        RelativePath="..\..\src\core\IRC.h"
493                                        >
494                                </File>
495                                <File
496                                        RelativePath="..\..\src\core\Shell.h"
497                                        >
498                                </File>
499                                <File
500                                        RelativePath="..\..\src\core\TclBind.h"
501                                        >
502                                </File>
503                                <File
504                                        RelativePath="..\..\src\core\TclThreadManager.h"
505                                        >
506                                </File>
507                        </Filter>
508                        <Filter
509                                Name="hierarchy"
510                                >
511                                <File
512                                        RelativePath="..\..\src\core\ClassFactory.h"
513                                        >
514                                </File>
515                                <File
516                                        RelativePath="..\..\src\core\CoreIncludes.h"
517                                        >
518                                </File>
519                                <File
520                                        RelativePath="..\..\src\core\Factory.h"
521                                        >
522                                </File>
523                                <File
524                                        RelativePath="..\..\src\core\Identifier.h"
525                                        >
526                                </File>
527                                <File
528                                        RelativePath="..\..\src\core\Iterator.h"
529                                        >
530                                </File>
531                                <File
532                                        RelativePath="..\..\src\core\MetaObjectList.h"
533                                        >
534                                </File>
535                                <File
536                                        RelativePath="..\..\src\core\ObjectList.h"
537                                        >
538                                </File>
539                        </Filter>
540                        <Filter
541                                Name="level"
542                                >
543                                <File
544                                        RelativePath="..\..\src\core\BaseObject.h"
545                                        >
546                                </File>
547                                <File
548                                        RelativePath="..\..\src\core\ClassTreeMask.h"
549                                        >
550                                </File>
551                                <File
552                                        RelativePath="..\..\src\core\Level.h"
553                                        >
554                                </File>
555                                <File
556                                        RelativePath="..\..\src\core\Loader.h"
557                                        >
558                                </File>
559                                <File
560                                        RelativePath="..\..\src\core\Namespace.h"
561                                        >
562                                </File>
563                                <File
564                                        RelativePath="..\..\src\core\NamespaceNode.h"
565                                        >
566                                </File>
567                                <File
568                                        RelativePath="..\..\src\core\XMLPort.h"
569                                        >
570                                </File>
571                        </Filter>
572                        <Filter
573                                Name="tolua"
574                                >
575                                <File
576                                        RelativePath="..\..\src\core\tolua\tolua_bind.h"
577                                        >
578                                </File>
579                        </Filter>
580                </Filter>
581        </Files>
582        <Globals>
583        </Globals>
584</VisualStudioProject>
Note: See TracBrowser for help on using the repository browser.