Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-01-23Fix T38110: GameEngine keyboard sensor ignores unicode charactersCampbell Barton
2014-01-11Code Cleanup: move MOUSEX/Y to BGE, describe INBETWEEN_MOUSEMOVECampbell Barton
2013-11-30Fix T36804: the property sensor when set to interval was causing a memory leakMitchell Stokes
The property sensor was using CValue::FindIdentifier(), which does an AddRef(). However, the property sensor was not calling Release() when it was done with the value. This could cause more leaks when used in conjunction with the copy property actuator since it would really throw off ref counts.
2013-11-24Code Cleanup: whitespace / formattingCampbell Barton
2013-11-02fix for possible leak in the expression controller find identifier.Campbell Barton
2013-09-23Fix related to #36319: restore SDL_VIDEODRIVER=dummy environment variable, itBrecht Van Lommel
seems that somehow not having this is causing keyboard events to be caught by SDL. This was removed because it broke addons that could use SDL, now set the environment variable only temporary during SDL initialization. This may have been causing issues with keyboard events getting missed in the game engine, but I couldn't confirm the issue here.
2013-08-30Cleaning up some prints related to SDL.Mitchell Stokes
2013-08-30Allowing the BGE to build with SDL2. I'm not sure if this is the correct fix ↵Mitchell Stokes
yet, but at least it builds.
2013-08-19style cleanup: indent/whitespaceCampbell Barton
2013-07-20Changing the python error when accessing SCA_JoystickSensor.axisSingle in ↵Daniel Stokes
the wrong mode to an AttributeError instead of a TypeError as this more accurately reflects the problem.
2013-07-17Merging changes from trunk r58091-58323.Mitchell Stokes
2013-07-15clang/cmake - quiet warnings for external libs and reference moto as a ↵Campbell Barton
system include.
2013-07-10BGE: Committing patch #32422 "Debug properties for added objects" by HG1.Mitchell Stokes
This patch allows debug properties from objects added to the scene at runtime to be displayed under the Debug Properties in the overhead display.
2013-06-20BGE: Fix for [#35479] "OSKEY (Command Key on Mac) not working" reported by ↵Mitchell Stokes
Mike Pan (mpan3). The OSKEY was never added to the game engine, so it didn't recognize it.
2013-05-30split bge includes for scons onto their own lines (for easier merging)Campbell Barton
2013-03-25code cleanup:Campbell Barton
- remove unused defines. - quiet some shadow warnings. - bevel, ifdef out some asserts that are too common. - style
2013-03-17code cleanup: add 'const' to headers to quiet msvc warnings, also remove ↵Campbell Barton
(char *) casts that aren't needed now we're on Python3.3
2013-03-10patch [#34103] check_for_dupid.patchCampbell Barton
from Lawrence D'Oliveiro (ldo) - more comments - more uses of bool type - define symbol for length of in_use array in check_for_dupid
2013-02-27Fix various warnings with clang build, and adjust cmake clang warnings flagsBrecht Van Lommel
to include a few more that gcc is using too.
2013-02-04style cleanupCampbell Barton
2013-02-02style cleanup: comment formatCampbell Barton
2013-01-12BGE: Fix for [#33839] "a logic.joysticks Crashes BGE" reported by Josiah ↵Mitchell Stokes
Lane (solarlune). On a scene change the SCA_JoystickManager gets destroyed which in turn means all of it's joystick instances are released. Since SCA_PythonJoystick was just using a borrowed reference, this allowed the joystick to be freed. Now the joystick's refcount is incremented so that the SCA_PythonJoystick's joystick reference will survive across scene changes.
2013-01-07BGE: Fix for [#33053] "2.6x Joystick Sensor Event: Axis fails to fire at ↵Mitchell Stokes
full tilt" reported by Auuman Anubis (auuman_anubis). The problem was that SCA_Joystick::pAxisTest() was using shorts, and tried to store abs(MIN_SHRT) in a short. However, on most systems MIN_SHRT == -32768 and MAX_SHRT == 32767. This means that abs(MIN_SHRT) > MAX_SHRT, and thus the short would overflow.
2013-01-01BGE: Fixing a crash that occurred when LibLoading a scene with a 2D Filter ↵Mitchell Stokes
Actuator. The actuator was still referencing the old scene.
2012-12-29style cleanupCampbell Barton
2012-12-21BGE: Adding a Python interface for handling joysticks without needing logic ↵Mitchell Stokes
bricks. These new SCA_PythonJoystick objects can be accessed using bge.logic.joysticks, which is a list of joysticks. The length of the list is the number of maximum supported joysticks, and indexes that do not have a joystick available are set to None. This means joysticks can be checked for using something like: if bge.logic.joysticks[0]: activate_player_one() if bge.logic.joysticks[1]: activate_player_two() etc.. The interface exposed by SCA_PythonJoystick is very similar to the joystick logic brick except for one key difference: axis values are normalized to a -1.0 to 1.0 range instead of -32767 to 32767, which is what the logic brick exposed.
2012-12-17Added GPL header to sconscripts!Bastien Montagne
Also changed shebang to '#!/usr/bin/env python', this is more portable across unixes...
2012-11-21py api cleanup, replace use...Campbell Barton
- PyLong_FromSsize_t --> PyLong_FromLong - PyLong_AsSsize_t --> PyLong_AsLong In all places except for those where python api expects PySsize_t (index lookups mainly). - use PyBool_FromLong in a few areas of the BGE. - fix incorrect assumption in the BGE that PySequence_Check() means PySequence_Fast_ functions can be used.
2012-11-11BGE: fix for 2 uses of uninitialized memory - property-sensor and ↵Campbell Barton
object-color for materials.
2012-11-11- property sensor was converting floating point values to text then back to ↵Campbell Barton
float - for floating point properties. - IntValue's GetNumber() was convert int -> float -> double. - BL_Shader was using STR_String rather then char*, where most callers had a char*, use a char* to avoid STR_String conversion-and-alloc on shader access.
2012-11-10code cleanup: some warnings and formatting for PyMethodDef's in the BGE.Campbell Barton
2012-11-09code cleanup: double promotion warnings, also allow cmake to build SDL ↵Campbell Barton
without audaspace.
2012-10-29style cleanupCampbell Barton
2012-10-27style cleanupCampbell Barton
2012-10-23rename api functions...Campbell Barton
- minf, maxf, mini, maxi --> min_ff, max_ff, min_ii, max_ii
2012-10-22style cleanupCampbell Barton
2012-10-21style cleanup: bge, switch statements mostly.Campbell Barton
also left bmesh decimator on in previous commit.
2012-10-21style cleanup: trailing tabs & expand some non prefix tabs into spaces.Campbell Barton
2012-10-15code cleanup: check for msvc directly when using warning pragma's.Campbell Barton
2012-10-09code cleanup: make header defines more consistent, JOYSENSOR header guard ↵Campbell Barton
had a typo too.
2012-09-16style cleanupCampbell Barton
2012-09-06code cleanup: capitalize defines.Campbell Barton
2012-08-12style cleanupCampbell Barton
2012-07-22style cleanupCampbell Barton
2012-07-17code cleanup: spellingCampbell Barton
2012-07-07code cleanup: dont use function calls like dot_v3v3, pow and sqrt within ↵Campbell Barton
macros which results in calling the function multiple times needlessly. also added some comments.
2012-07-06Fix for [#31122] "Properties cant have Spaces in names when using interval ↵Mitchell Stokes
as a evaluation. Or else it'll fail to activate actuator." reported by Auuman Anubis. I cleaned up the INTERVAL check to do a much cleaner (and saner) range check that doesn't get messed up by spaces.
2012-07-01style cleanup: commentsCampbell Barton
2012-06-28bge.logic.keyboard.getClipboard() and .setClipboard methodsDalai Felinto
the idea of using methods instead of attributes is to avoid users abusing of the system calls. Thanks Campbell Barton for reviewing and small corrections
2012-06-25optionally use guarded alloc for tiles compositor, also replace allocation ↵Campbell Barton
functions with a macro.