Campbell Barton
3b71cab420
Fix T38110: GameEngine keyboard sensor ignores unicode characters
2014-01-23 14:58:04 +11:00
Jens Verwiebe
1808dd0828
Scons: Fix BGE compile after cleanup
2013-11-05 10:56:52 +00:00
Mitchell Stokes
cf9fe8f329
BGE Rasterizer Cleanup: Removing RAS_IRenderTools and moving the functionality to RAS_IRasterizer. RAS_OpenGLRasterizer is a bit of a mess now with references to Ketsji and other modules it shouldn't be accessing.
2013-11-04 19:21:07 +00:00
Campbell Barton
23440884fe
fix for casting shadows of scaled objects was made to X_BlenderRenderTools.cpp but not to GPC_RenderTools.cpp.
2013-10-07 12:14:59 +00:00
Campbell Barton
11087d4a82
remove minor differences between these 2 files which are almost exact duplicates (tsk tsk!)
2013-10-07 12:12:59 +00:00
Daniel Stokes
4f8fd8c68b
BGE Fix [ #18804 ] Shadow type faces cast onto invisible faces (non-GLSL)
...
Changing the RayHit method to ignore invisible faces
2013-07-25 23:42:20 +00:00
Mitchell Stokes
efad3eb928
Add the Boost include to the right CMakeLists.txt...
2013-07-20 01:17:00 +00:00
Mitchell Stokes
81769b4f58
More build fixes for r58428.
2013-07-20 01:15:36 +00:00
Mitchell Stokes
f84563d213
SCons fix for r58428.
2013-07-20 01:09:16 +00:00
Mitchell Stokes
5645d9f720
Removing source files from source/gameengine/GamePlayer/common/SConscript that were removed in an earlier commit. This should allow SCons to build the game engine again.
2013-07-20 00:51:05 +00:00
Mitchell Stokes
eb21bdd249
Merging changes from trunk r58091-58323.
2013-07-17 01:40:26 +00:00
Campbell Barton
02ba328ca8
clang/cmake - quiet warnings for external libs and reference moto as a system include.
2013-07-15 08:26:16 +00:00
Mitchell Stokes
b73793f636
BGE cleanup: removing some unused code from GPC_Canvas.
2013-07-09 01:34:23 +00:00
Mitchell Stokes
a6d26cb665
BGE cleanup: GPC_System was an empty class, so I'm dropping it and having GPG_System inherit directly from KX_ISystem.
2013-07-09 01:18:48 +00:00
Mitchell Stokes
7b8453b164
BGE cleanup: removing various unused code and files from GamePlayer/common.
2013-07-09 01:14:52 +00:00
Mitchell Stokes
5b3106b89d
BGE cleanup: removing unused banner code from GPC_Canvas.
2013-07-09 01:04:49 +00:00
Mitchell Stokes
c3d70a9baf
BGE: Fix for [ #34185 ] "billboard scale problem in groups" reported by Tobias Lijsen (blenderhilfe).
...
Use world scaling instead of local scaling when billboarding so we get all inherited scaling.
2013-06-24 08:26:05 +00:00
Mitchell Stokes
92aca19eda
BGE: Fix for [ #35815 ] "makeScreenshot() relative path not working in Blenderplayer" reported by HG1.
...
Someone forgot to add relative path expansion (BLI_path_abs) to the Blenderplayer...
2013-06-22 05:27:28 +00:00
Mitchell Stokes
d3fc2bd95b
BGE: Fix for [ #33163 ] "Text Font Bug" reported and fixed by HG1.
...
The embedded player was calling glPolygonMode(GL_FRONT_AND_BACK, GL_FILL) before rendering font objects, but someone forgot to add this to the Blenderplayer.
2013-06-20 22:37:55 +00:00
Campbell Barton
9cf6e305a9
split bge includes for scons onto their own lines (for easier merging)
2013-05-29 21:56:55 +00:00
Brecht Van Lommel
d579ea2901
Fix #34863 : bge.render.makeScreenshot from Blender was only saving PNG files,
...
while the docs said it followed the settings in the Output panel, other file
formats work now.
Benderplayer still only saves PNG now as documented, but I cleaned up the code
there to reuse existing imbuf functions rather than using own libpng code.
2013-04-04 14:00:31 +00:00
Campbell Barton
64d161de87
style cleanup:
...
also rename mesh_getVertexCos() --> BKE_mesh_vertexCos_get() to match curve function.
2013-03-26 07:29:01 +00:00
Campbell Barton
09c41019a8
use const pointers for file loading and booleans for animation system return values passed as pointers.
2013-03-17 19:13:04 +00:00
Campbell Barton
2921d48239
code cleanup: unused vars in collada, preprocessor formatting & warning in mingw.
...
also compiling without bullet needed a stub added.
2013-03-04 00:53:57 +00:00
Campbell Barton
69993c5d40
style cleanup: spaces -> tabs
2013-02-04 00:18:09 +00:00
Dalai Felinto
3a1ee13278
BGE Profile : visual feedback bars and improvements
...
You can see a screenshot of the funcionality here:
http://wiki.blender.org/index.php/Doc:2.6/manual/Game_Engine/Performance/Display/Framerate_and_Profile
This patch creates a bar-like graph to quickly allow the game dev to see the performance changes.
Also it changes the font to monospace (too allow ' ' padding) and reduced shadow border to
match the blenderplayer one.
Patch finalized and commited at Global Game Jam Vancouver (last one, time to sleep forever now)
2013-01-28 01:26:36 +00:00
Mitchell Stokes
62b6303735
BGE: Fixing an assert with the canvas' GetViewPort(). bf_gpu was changing the viewport when handling shadow buffers. KX_LightObject::BindShadowBuffer() now updates the canvas with the new viewport information from bf_gpu.
2012-12-25 06:20:50 +00:00
Bastien Montagne
ab2c273b12
Added GPL header to sconscripts!
...
Also changed shebang to '#!/usr/bin/env python', this is more portable across unixes...
2012-12-17 08:01:43 +00:00
Campbell Barton
2f97f929a5
fix for bug in console indent, was not copying the null terminator.
...
also add assert to catch this case more quickly.
2012-12-01 06:29:04 +00:00
Campbell Barton
050f09aa6c
buildsystem cleanup: remove duplicate source & includes for scons,
...
add a check for duplicates in BlenderLib()m, if 0'd now.
2012-11-14 01:41:24 +00:00
Campbell Barton
ddc2dbc2a4
style cleanup
2012-10-22 08:15:51 +00:00
Campbell Barton
4d4664d98f
code cleanup: check for msvc directly when using warning pragma's.
2012-10-15 02:15:07 +00:00
Mitchell Stokes
64b187a928
Blenderplayer: Fixing a crash on startup when the graphics driver tried to use uninitialized memory. I had fixed this previously in Swiss, but it looks like I missed grabbing the fix when bringing the GetViewPort() changes into trunk.
2012-10-14 04:22:38 +00:00
Campbell Barton
97d4fb4161
code cleanup: make header defines more consistent, JOYSENSOR header guard had a typo too.
2012-10-09 13:36:42 +00:00
Mitchell Stokes
244ce92dbd
BGE: Setting up the RAS_ICanvas interface as the primary way to alter the OpenGL
...
viewport. This helps to eliminate OpenGL calls in weird places like the physics
code and to reduce glGet calls, which are expensive.
There should be no functional changes (except maybe a very slight speed improvement).
2012-10-08 03:28:11 +00:00
Mitchell Stokes
99dd59f08c
BGE: Disable depth testing when drawing the overhead profile information in the Blenderplayer. This keeps the text from being blocked by geometry in the scene.
2012-10-08 01:25:21 +00:00
Campbell Barton
aa49ca25d5
incorrect spelling in comments
2012-09-26 20:05:38 +00:00
Campbell Barton
2fb8292005
style cleanup
2012-09-16 04:58:18 +00:00
Campbell Barton
b96c622015
style cleanup
2012-08-11 22:12:32 +00:00
Campbell Barton
9b51503307
style cleanup
2012-07-21 22:58:08 +00:00
Campbell Barton
8b865c01cd
style cleanup: comments
2012-06-30 22:49:33 +00:00
Brecht Van Lommel
885c4a6e78
Fix #31273 : videotexture ImageRender not working in blenderplayer.
2012-05-03 14:59:42 +00:00
Campbell Barton
5b88712ff9
move debug flag into its own global var (G.debug), split up debug options.
...
--debug
--debug-ffmpeg
--debug-python
--debug-events
--debug-wm
This makes debug output easier to read - event debug prints would flood output too much before.
For convenience:
--debug-all turns all debug flags on (works as --debug did before).
also removed some redundant whitespace in debug prints and prefix some prints with __func__ to give some context.
2012-03-31 00:59:17 +00:00
Campbell Barton
07065b27b8
style cleanup
2012-03-28 05:03:24 +00:00
Campbell Barton
b8a71efeba
style cleanup: follow style guide for/with/if spacing
2012-03-24 07:52:14 +00:00
Campbell Barton
89a963fb7f
style cleanup: comment blocks
2012-03-09 18:28:30 +00:00
Campbell Barton
7bbf4b7831
style cleanup
...
- spelling - turns out we had tessellation spelt wrong all over.
- use \directive for doxy (not @directive)
- remove BLI_sparsemap.h - was from bmesh merge IIRC but entire file commented and not used.
2012-03-02 16:05:54 +00:00
Campbell Barton
ea13ec1699
Spelling Cleanup
2012-03-01 12:20:18 +00:00
Campbell Barton
47c373c7a9
style cleanup (mostly whitespace)
2012-02-27 10:35:39 +00:00
Campbell Barton
b8e019d839
use __ prefix on header guards to avoid mixing up defines with api functions / classes.
2012-02-23 10:41:31 +00:00