blender/source/gameengine/Expressions
Campbell Barton 33170295c8 use long long rather then int for storing game logic properties.
There were also some problems with int to python conversion
- assigning a PyLong to a KX_GameObject from python would raise an error
- PyLong were coerced into floats when used with internal CValue arithmetic

Changes...
- PyLong is converted into CIntValue for coercing and assigning from python
- CValue's generic GetNumber() function returns a double rather then a float.
- Print an error when a PyType cant be coerced into a CValue

Tested with python, expressions and property sensor.
2009-04-12 06:41:01 +00:00
..
BoolValue.cpp use long long rather then int for storing game logic properties. 2009-04-12 06:41:01 +00:00
BoolValue.h use long long rather then int for storing game logic properties. 2009-04-12 06:41:01 +00:00
CMakeLists.txt Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
ConstExpr.cpp use long long rather then int for storing game logic properties. 2009-04-12 06:41:01 +00:00
ConstExpr.h use long long rather then int for storing game logic properties. 2009-04-12 06:41:01 +00:00
EmptyValue.cpp use long long rather then int for storing game logic properties. 2009-04-12 06:41:01 +00:00
EmptyValue.h use long long rather then int for storing game logic properties. 2009-04-12 06:41:01 +00:00
ErrorValue.cpp use long long rather then int for storing game logic properties. 2009-04-12 06:41:01 +00:00
ErrorValue.h use long long rather then int for storing game logic properties. 2009-04-12 06:41:01 +00:00
EXP_C-Api.cpp Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
EXP_C-Api.h Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
Expression.cpp Various mem leaks related to CValue reference count fixed 2008-03-01 19:46:50 +00:00
Expression.h Removed the config.h thing from the .h's in the source dir. 2002-12-27 13:11:01 +00:00
FloatValue.cpp use long long rather then int for storing game logic properties. 2009-04-12 06:41:01 +00:00
FloatValue.h use long long rather then int for storing game logic properties. 2009-04-12 06:41:01 +00:00
IdentifierExpr.cpp Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
IdentifierExpr.h Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
IfExpr.cpp Last of the config.h mods... 2002-11-25 15:29:57 +00:00
IfExpr.h Removed the config.h thing from the .h's in the source dir. 2002-12-27 13:11:01 +00:00
InputParser.cpp use long long rather then int for storing game logic properties. 2009-04-12 06:41:01 +00:00
InputParser.h use long long rather then int for storing game logic properties. 2009-04-12 06:41:01 +00:00
IntValue.cpp use long long rather then int for storing game logic properties. 2009-04-12 06:41:01 +00:00
IntValue.h use long long rather then int for storing game logic properties. 2009-04-12 06:41:01 +00:00
KX_HashedPtr.cpp Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
KX_HashedPtr.h Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
KX_Python_dynamic.h Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
KX_Python_static.h Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
KX_Python.h Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
ListValue.cpp use long long rather then int for storing game logic properties. 2009-04-12 06:41:01 +00:00
ListValue.h use long long rather then int for storing game logic properties. 2009-04-12 06:41:01 +00:00
Makefile converted my gen_utils.h fix to PyObjectPlus.h 2008-09-06 14:13:31 +00:00
Operator1Expr.cpp Last of the config.h mods... 2002-11-25 15:29:57 +00:00
Operator1Expr.h Synchronise game engine with Tuhopuu2 tree. 2004-04-24 06:40:15 +00:00
Operator2Expr.cpp Synchronise game engine with Tuhopuu2 tree. 2004-04-24 06:40:15 +00:00
Operator2Expr.h Removed the config.h thing from the .h's in the source dir. 2002-12-27 13:11:01 +00:00
PyObjectPlus.cpp BGE Python API (small changes) 2009-04-07 16:00:32 +00:00
PyObjectPlus.h BGE Py API 2009-04-11 20:58:09 +00:00
SConscript SCons: 2009-02-15 23:26:00 +00:00
StringValue.cpp use long long rather then int for storing game logic properties. 2009-04-12 06:41:01 +00:00
StringValue.h use long long rather then int for storing game logic properties. 2009-04-12 06:41:01 +00:00
Value.cpp use long long rather then int for storing game logic properties. 2009-04-12 06:41:01 +00:00
Value.h use long long rather then int for storing game logic properties. 2009-04-12 06:41:01 +00:00
VectorValue.cpp use long long rather then int for storing game logic properties. 2009-04-12 06:41:01 +00:00
VectorValue.h use long long rather then int for storing game logic properties. 2009-04-12 06:41:01 +00:00
VoidValue.h use long long rather then int for storing game logic properties. 2009-04-12 06:41:01 +00:00