blender/source/gameengine/GameLogic/Joystick
Brecht Van Lommel 9b948cad08 Fix for a relative paths issue in the game engine. G.sce was being
kept as the original file, but that can't work correct for solving
relative paths once a .blend in another directory is loaded. The
reason it went OK with the apricot tech demo is that the images there
were lib linked into the level file, which still worked.

Now it sets G.sce to the current loaded .blend file. Note that the
python config file path still uses the first loaded .blend file so it
looks in the same location each time.

Also added some NULL pointer checks in the joystick code because it
was crashing there on Mac, there's similar checks in related functions
so I'm assuming this was just a missed case.
2008-10-11 00:56:49 +00:00
..
Makefile Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
SCA_Joystick.cpp Missing include, apparently only scons+mingw suffers this, strange. 2008-10-10 14:22:54 +00:00
SCA_Joystick.h * Joystick sensor is now only triggered from events of the selected type. 2008-10-08 03:16:19 +00:00
SCA_JoystickDefines.h BGE Bugfix, SDL joysticks arrow keys didnt work when 2 joysticks were being used at the same time. 2008-09-02 06:12:19 +00:00
SCA_JoystickEvents.cpp Fix for a relative paths issue in the game engine. G.sce was being 2008-10-11 00:56:49 +00:00
SCA_JoystickPrivate.h game engine now compiles with SDL disabled. CDROM and Joystick wont function in this case 2008-09-21 05:38:28 +00:00