Kent Mein
427ff274a2
Joseph Gilbert's fixes for the linux2 build target.
...
Kent
2005-02-15 13:06:08 +00:00
Kester Maddock
09fdbdc744
Fix compile errors for MSVC
2005-02-15 10:02:19 +00:00
Simon Clitherow
4d17f9797c
- updated MSVC 6 projectfiles.
...
- removed 'using namespace std;' from SCA_Joystick.h
(gave compile error on VC6).
2005-01-30 15:41:59 +00:00
Kent Mein
a238e7b9f4
Fix to get gcc 3.4.1 with scons working again.
2005-01-25 19:26:19 +00:00
Kent Mein
1b1ff7ea92
Fixed the Makefiles so the Joystick stuff works.
...
Kent
2005-01-24 16:16:50 +00:00
Kester Maddock
413e4f51a6
Make the KX_PolygonMaterial Python member variables writable.
2005-01-23 01:40:37 +00:00
Kester Maddock
d21b9be9a8
Don't delete the Python Controller's private dictionary between frames.
2005-01-23 01:38:41 +00:00
Kester Maddock
a1f0f165e4
Added Joystick sensor (from snailrose)
2005-01-23 01:36:29 +00:00
Kester Maddock
a572d196e6
Don't fail on mesh objects with no faces.
2005-01-22 23:46:54 +00:00
Kent Mein
d32f4a2851
Jacques patch to get things compiling on windows.
...
basically it returns NULL for two functions that had their entire body
commented out.
Kent
2005-01-19 12:53:47 +00:00
Kent Mein
f13bff1588
The non scons specific stuff for bug tracker bug #2131
...
Basically removed #include <iostream.h>
from some files that didn't need it (and I'm assuming it caused problems)
I'll leave the scons stuff for someone else to look at since I don't really
use it.
Kent
2005-01-18 14:17:44 +00:00
Stephen Swaney
c448aa60ca
remove gcc compiler error using -pedantic flag:
...
comma at end of enumerator list
If this change causes problems, feel free to back it out.
I am trying to get gcc to complain about mixed declarations and
code since that breaks on platforms that only support C89/C90.
2005-01-16 17:59:23 +00:00
Kester Maddock
dd0d5c26fa
Add an Python Material example
2005-01-16 06:27:12 +00:00
Kester Maddock
3b91ea4309
Unified KX_BlenderPolyMaterial & GPC_PolygonMaterial into KX_PolygonMaterial.
...
Make game engine materials use Zoffs in Materials.
Added Python material hooks.
2005-01-16 06:02:06 +00:00
Kester Maddock
5fcf39d2a5
Added getDistanceTo Python method (thanks Charlie C)
2005-01-16 05:55:04 +00:00
Kent Mein
48bc598658
More warning cleanups...
...
added a casts to:
blender/blenlib/intern/BLI_memarena.c
gameengine/Rasterizer/RAS_TexVert.cpp
Removed unused vars from:
blender/python/api2_2x/vector.c
gameengine/Ketsji/KX_PyMath.cpp gameengine/Ketsji/KX_Scene.cpp
gameengine/Physics/Sumo/Fuzzics/src/SM_Object.cpp
gameengine/Rasterizer/RAS_FramingManager.cpp
gameengine/Rasterizer/RAS_Polygon.cpp
gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_VAOpenGLRasterizer.cpp
Kent
2005-01-03 18:05:24 +00:00
Kester Maddock
183ee861e8
PyDoc updates
2004-12-29 01:39:34 +00:00
Kester Maddock
8e5ef105ae
Make Python Matrix/Vector conversions more robust
2004-12-29 01:34:07 +00:00
Kester Maddock
c82614be2e
Python methods for camera actuators (thanks snailrose)
2004-12-29 01:33:15 +00:00
Kester Maddock
52c53bc2c9
Set the sound system listener properties.
2004-12-29 01:31:17 +00:00
Kester Maddock
551806bce8
Set the physics scale on added objects. (Fix bug #1837 )
2004-12-13 09:53:30 +00:00
Kester Maddock
5590c179f5
Fix the case when the physics system starves the logic & renderer of CPU time. If this happens, we reduce physics precision to maintain some framerate.
2004-12-06 11:15:50 +00:00
Kester Maddock
e54f51c462
Fix numerical precision issue in physics. Dividing by a number too close to zero would make the impulse response normal large hence the jittering.
2004-12-06 11:10:41 +00:00
Kester Maddock
85a8203cbc
Set the default physics tic rate to 90 Hz
2004-12-06 11:01:42 +00:00
Kester Maddock
88e435a52a
Don't try to interpolate from prop ipo actuators
2004-12-06 10:58:38 +00:00
Kester Maddock
ef971de66d
Fix Action & IPO actuators: (Bugs #1921 & #1920 )
2004-12-05 02:50:57 +00:00
Kester Maddock
ae8102c8d6
Update the physics engine: interpolate between frames so track to/camera actuators work properly. (bug #1816 )
2004-12-04 09:51:04 +00:00
Kester Maddock
10e64fe4b4
Only do event processing for ipo actuators on frames.
2004-12-01 08:43:58 +00:00
Kester Maddock
d098d94372
Make objects lit by default if there is a light in the scene, and no other face information exists for that object.
2004-12-01 08:43:02 +00:00
Kester Maddock
8b9de908bb
.scr patch (from Raymond Penners)
...
- The patch only alters files in: blender/source/gameengine/GamePlayer/ghost
- Any blenderplayer.exe (with the patch applied) can be renamed into
something.scr, and it will behave as a Windows screen saver.
(Right-click the .scr file, and select "Install". Then, it will appear
in the screen saver properties dialog part of the display settings,
including small preview et al).
- The screen saving functionality does not affect the executable when
it is NOT named .scr
- The screen saver automatically exits when the mouse/keyboard is
moved/pressed. There is no more need to wrap blenderplayer.exe into a
bat file and use python quit controllers, or whatever else is
suggested at http://download.blender.org/documentation/oldsite/oldsite.blender3d.org/181_Blender%20news%20haloParty.html
- It has been currently been tested to work Windows XP
2004-12-01 08:35:38 +00:00
Kent Mein
e7bd591842
Removed an unused variable and the autoconf config.h stuff.
...
(was hunting down why audio isn't working on solaris and figured
I'd clean up the warning)
Kent
2004-11-30 19:10:43 +00:00
Kester Maddock
9744ea8a36
Make the material colour the default colour for objects if textures & vertex colours are not available (instead of white)
2004-11-25 08:09:18 +00:00
Chris Want
12307b358d
Making the C++ stuff work for the MipsPro 7.3 compiler.
...
Kester might want to check this for correctness
Kent might want to test if this breaks the Sun compile.
2004-11-23 23:04:30 +00:00
Kester Maddock
f8c2ce93b9
Fix for bug 1800: mouse over sensor doesn't work for ortho cameras.
...
The camera -> world transform wasn't being calculated properly for 'ortho' cameras: getOrigin()[2] should be scaled by 100 (like the render transform in KX_KetsjiEngine)
2004-11-23 10:10:21 +00:00
Kester Maddock
1092b98337
Fix for bug 1600: alpha sort doesn't work on linked (alt-d) objects
2004-11-22 11:49:35 +00:00
Kester Maddock
46fbe6b01e
Fix for bugs: 1788 (forces) and 1799 (python delattr on game objects)
...
Use Polytope collision for faster mesh intersection tests, so SOLID can actually use that qhull lib now.
2004-11-22 10:19:19 +00:00
Ton Roosendaal
6ea962923a
GamePlayer seems to be forced to quit pressing "end key".
...
The code to check for it was very weak... causing apple key to quit it too.
2004-11-10 15:04:13 +00:00
Kester Maddock
5bba5035b0
Fix for MSVC (thanks Simon)
2004-11-08 11:30:41 +00:00
Jean-Luc Peurière
8daff51e0f
skip process serial number argument on os X
...
needed when starting player via drag & drop
2004-11-07 22:21:47 +00:00
Kester Maddock
f4efd433fa
Fix fixed time (enable all frames)
2004-11-06 22:10:58 +00:00
Kester Maddock
9be296289c
Update Python reference version number
2004-11-06 22:10:47 +00:00
Kester Maddock
cf407da719
Reorder update: do physics before logic, so logic doesn't get stale position data (eg for camera actuator)
2004-11-06 12:31:56 +00:00
Kester Maddock
38b993f787
Speed up the physics engine: hook the SOLID broad phase, so we can either reject the test or request the penetration depth test as necessary. Previously we were doing the penetration depth test, as well as SOLID's intersection test.
2004-11-06 04:58:10 +00:00
Kester Maddock
ce4b232f8c
Fix the action actuator (bug #1699 )
2004-11-06 04:53:41 +00:00
Kester Maddock
318fb94c4b
Fix IPO actuator (Bug #1694 )
2004-11-03 10:48:02 +00:00
Chris Want
8c0b126bc2
Related to gameplayer png bug: cygwin needs to find the zlib library
...
too. (Thanks Richie)
2004-10-28 17:29:03 +00:00
Ton Roosendaal
ae76eaf9cb
Fix in Makefile for added png library
2004-10-26 21:33:47 +00:00
Kent Mein
06cb471269
Fix so it compiles on my machine....
...
Changed:
row_pointers = new (png_bytep) [(GetHeight() * sizeof(png_bytep))];
to:
row_pointers = new png_bytep [(GetHeight() * sizeof(png_bytep))];
Thanks emil....
Kent
2004-10-26 13:04:27 +00:00
Nathan Letwory
85c889108d
add necessary include paths for scons needed after fix for screenshot. NOTE: GPC_Canvas.cpp doesn't compile with msvc7 currently!
2004-10-25 15:52:54 +00:00
Kester Maddock
e4d22a8021
Tweek the stereo settings: allow negative eye separation.
2004-10-24 23:50:44 +00:00