diff options
author | Benoit Bolsee <benoit.bolsee@online.be> | 2008-06-24 00:41:18 +0400 |
---|---|---|
committer | Benoit Bolsee <benoit.bolsee@online.be> | 2008-06-24 00:41:18 +0400 |
commit | 02132de7aadee611c8641f01fa44efdf43f54cc4 (patch) | |
tree | ce6314b7c61fe1758383876b6cc2f9f8c5a2b6b0 /projectfiles_vc7/gameengine | |
parent | 10c57fd86e0d42fe5e9f1928598e4642aa778e89 (diff) |
BGE patch: Add NAND, NOR, XOR, XNOR controllers.
NAND controller is an inverted AND controller: the output is
1 if any of the input is 0.
NOR controller is an inverted OR controller: the output is 0
if any of the input is 1.
XOR controller is an exclusive OR: the output is 1 if and only
if one input is 1 and all the other inputs are 0.
XNOR controller is an inverted XOR: the output is 0 if and only
if one input is 0 and all the other inputs are 0.
The NAND, NORT and XNOR controllers are very usefull to create
complementary outputs to start and stop actuators synchronously.
MSCV project files updated.
Diffstat (limited to 'projectfiles_vc7/gameengine')
-rw-r--r-- | projectfiles_vc7/gameengine/gamelogic/SCA_GameLogic.vcproj | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/projectfiles_vc7/gameengine/gamelogic/SCA_GameLogic.vcproj b/projectfiles_vc7/gameengine/gamelogic/SCA_GameLogic.vcproj index 07fcfa64a72..e0405b4d7c7 100644 --- a/projectfiles_vc7/gameengine/gamelogic/SCA_GameLogic.vcproj +++ b/projectfiles_vc7/gameengine/gamelogic/SCA_GameLogic.vcproj @@ -396,6 +396,12 @@ RelativePath="..\..\..\source\gameengine\GameLogic\SCA_MouseSensor.cpp"> </File> <File + RelativePath="..\..\..\source\gameengine\GameLogic\SCA_NANDController.cpp"> + </File> + <File + RelativePath="..\..\..\source\gameengine\GameLogic\SCA_NORController.cpp"> + </File> + <File RelativePath="..\..\..\source\gameengine\GameLogic\SCA_ORController.cpp"> </File> <File @@ -425,6 +431,12 @@ <File RelativePath="..\..\..\source\gameengine\GameLogic\SCA_TimeEventManager.cpp"> </File> + <File + RelativePath="..\..\..\source\gameengine\GameLogic\SCA_XNORController.cpp"> + </File> + <File + RelativePath="..\..\..\source\gameengine\GameLogic\SCA_XORController.cpp"> + </File> </Filter> <Filter Name="Header Files" @@ -499,6 +511,12 @@ RelativePath="..\..\..\source\gameengine\GameLogic\SCA_MouseSensor.h"> </File> <File + RelativePath="..\..\..\source\gameengine\GameLogic\SCA_NANDController.h"> + </File> + <File + RelativePath="..\..\..\source\gameengine\GameLogic\SCA_NORController.h"> + </File> + <File RelativePath="..\..\..\source\gameengine\GameLogic\SCA_ORController.h"> </File> <File @@ -528,6 +546,12 @@ <File RelativePath="..\..\..\source\gameengine\GameLogic\SCA_TimeEventManager.h"> </File> + <File + RelativePath="..\..\..\source\gameengine\GameLogic\SCA_XNORController.h"> + </File> + <File + RelativePath="..\..\..\source\gameengine\GameLogic\SCA_XORController.h"> + </File> </Filter> </Files> <Globals> |