This proposal http://wiki.blender.org/index.php/User:Lordloki/Logic_Bricks_cleanup_proposal borns from http://wiki.blender.org/index.php/User:Moguri/BGE_Issues to have the logic bricks properly encapsulated and organized and to allow (at last) that the logic system won't be dependent on logic brick code.
At this moment I have completed Step 1 of the proposal which includes the following:
Step 1. All Logic bricks should be put into their own folder (GameLogic)
1.1 Move the following sensors and actuators from Ketsji to Gamelogic folder: (Done)
- Armature Sensor (Done)
- Near Sensor (Done)
- NetworkMessage Sensor (Done)
- Radar Sensor (Done)
- Ray Sensor (Done)
- Touch Sensor (Done)
- MouseFocus Sensor (Done)
- Camera Actuator (Done)
- Constraint Actuator (Done)
- EditObject Actuators (AddObject, EndObject, ReplaceMesh, Dynamic and TrackTo) (Done)
- Game Actuator (Done)
- Ipo Actuator (Done)
- Mouse Actuator (Done)
- NetworkMessage Actuator (Done)
- Object Actuator (Done)
- Parent Actuator (Done)
- Scene Actuator (Done)
- Sound Actuator (Done)
- State Actuator (Done)
- Steering Actuator (Done)
- Visibility Actuator (Done)
1.2 Move the following actuators from Converter to Gamelogic folder: (Done)
- Action Actuator (Done)
- Armature Actuator (Done)
- ShapeAction Actuator (Done)
1.3 Rename filenames from KX_ and KX_SCA_ to SCA_ (Done)
1.4 Rename classes names from KX_ to SCA_ (Done)
1.5 Make everything compile. At this point, several new dependencies should be added to GameLogic CMakeList.txt (i.e. Audaspace, Physics, Ketsji, blenkernel, etc) (Done)
1.6 To update the documentation associated (rst) (Done)
1.7 Due to the ammount of code modified, to upload the diff to https://developer.blender.org/differential to check possible errors. (Done)
When this part is Ok for everybody I will proceed with the Step 2.