77ce7eb541
Revert "BGE: Fix T44557 GameLogic module memory leak."
...
This reverts commit cd24871706 .
The commit re-introduced problems with starting the game engine
multiple times in the same run of Blender.
2015-08-26 11:13:50 +02:00
8444f7ba2b
BGE: Fix T42679: Python physics environment not setted for python control script.
2015-08-23 14:34:04 +02:00
cd24871706
BGE: Fix T44557 GameLogic module memory leak.
...
This reverts commit 7a28ca4398 .
2015-08-20 12:06:54 +02:00
dfc672f8bb
SCons: Fix for really nasty bug with polluting configuration environment
...
The issue was caused by the following construction:
def = env['SOMETHING']
defs.append('SOMETHING_MORE')
Since first assignment was actually referencing environment option it was totally
polluted hawing weird and wonderful side effects on all other areas of Blender.
2015-08-04 18:06:28 +02:00
a0cbebf404
Audaspace: fixing problems for the merge to master suggested by Campbell and Sergey.
...
- rename WITH_EXTERNAL_AUDASPACE to WITH_SYSTEM_AUDASPACE.
- rename C/PYAUDASPACE to AUDASPACE_C/PY
- simplifying cmake defines and includes.
- fixing include paths and enabling WITH_SYSTEM_AUDASPACE for windows.
- fixing scons building.
- other minor build system fixes.
2015-07-28 14:01:53 +02:00
f700c1f3a8
Audaspace: name fixes and external library update.
2015-07-28 14:01:52 +02:00
8528d76dad
Audaspace: external audaspace library update.
2015-07-28 14:01:52 +02:00
733073550f
Audaspace: use standalone library.
...
- Added the cmake configuration option WITH_EXTERNAL_AUDASPACE.
- Fixes to build without standalone library as well.
2015-07-28 14:01:52 +02:00
96dd213e7e
Audaspace: preparing to use standalone library.
...
- Renamed some functions.
- Using C API instead of C++ in the game engine, as the standalone is C++11.
2015-07-28 14:01:52 +02:00
6ffc988ae3
BGE Clean-up: New EXP prefix for the BGE Expression module
...
The expression module now uses an EXP prefix and it follows a
distribution similar to blender.
Additionally the hash function in EXP_HashedPtr.h was simplified and the
files EXP_C-Api.h &.EXP_C-Api.cpp were deleted because were unused.
Reviewers: campbellbarton, moguri, sybren, hg1
Projects: #game_engine
Differential Revision: https://developer.blender.org/D1221
2015-07-12 16:58:12 +02:00
e36b0cb8f3
BGE: New API method getDisplayDimensions
...
This patch adds a new API function to get the actual display dimensions in pixels.
Reviewers: dfelinto, sybren, lordloki, moguri
Reviewed By: lordloki, moguri
Differential Revision: https://developer.blender.org/D648
2015-04-07 18:32:25 +02:00
931c3e6544
BGE: Code clean up for world (mist, background, ambient)
...
Code clean up for BGE world mist, background and global ambient color.
Move mist render update to BlenderWolrdInfo
Reviewers: moguri, brecht
Reviewed By: moguri, brecht
Differential Revision: https://developer.blender.org/D152
2015-03-23 22:49:38 +01:00
9bfdcc4d32
gameengine: removing addInitFromFrame hack
2015-02-21 12:16:20 +00:00
f1a65a9fab
makeScreenshot - adding frame number to the filename
2015-02-21 12:16:20 +00:00
2b01b71339
Fix T43565: BGE removed unneeded if/else in BL_KetsjiEmbedStart
2015-02-10 21:28:18 +01:00
31219415d6
Fix BGE compilation after recent renames in BKE_image (tsst...).
2015-01-24 14:57:57 +01:00
29d2c71117
Fix for bool flag use
2015-01-07 12:08:55 +11:00
8d084e8c8f
Ghost Context Refactor
...
https://developer.blender.org/D643
Separates graphics context creation from window code in Ghost so that they can vary separately.
2014-10-07 15:47:32 -05:00
eb464eed57
Fix game engine not supporting material view.
...
Force textured view in that case. Also correct a few uses of the GLSL
flag in the viewport. Should only be relevant for textured viewport.
2014-09-23 20:40:27 +02:00
10af70cef8
Support for building without Python
2014-06-17 22:00:13 +10:00
2645660bed
Correct last commit: workaround for BGE
2014-06-03 11:32:45 +10:00
9d244e0ad7
Code cleanup: Removing KX_KetsjiEngine::m_drawingmode
...
The rasterizer is already handling this, and there is
no need to duplicate the data.
2014-03-24 20:11:11 -07:00
3b71cab420
Fix T38110: GameEngine keyboard sensor ignores unicode characters
2014-01-23 14:58:04 +11:00
0cec5c63da
BGE Rasterizer Cleanup: Removing the Singletexture material mode. More conversion code will probably be needed.
2013-11-04 19:21:50 +00:00
a565e34c39
BGE Rasterizer Cleanup: Removing KX_BlenderGL since it was mostly one-line functions used by KX_BlenderCanvas. KX_BlenderCanvas now just calls those functions directly.
2013-11-04 19:21:16 +00:00
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
11087d4a82
remove minor differences between these 2 files which are almost exact duplicates (tsk tsk!)
2013-10-07 12:12:59 +00:00
024539b974
revert r58693. patch [ #36233 ], caused regression (bug report [ #36959 ]).
2013-10-07 11:51:59 +00:00
494687908c
BGE: Potential fix for [ #35522 ] Broken game engine compatibility since 2.66a on some ATI cards?
...
Disabling display lists for legacy ATI cards since they don't support display lists well.
Also removing an unused variable from the display list rasterizer.
2013-09-11 23:24:45 +00:00
f7388c1f2e
BGE: Cleaning up the vsync code a little.
2013-08-26 08:14:52 +00:00
51bca0d7dc
BGE: Flipping vsync constants so VSYNC_ON is 0.
...
This will make transitions from older versions of Blender easier since VSYNC_ON
will be the default. This could have been changed in a do_version, but the vsync
code has yet to see an official release, so I figured this would be a bit nicer.
Also, this makes VSYNC_ON the default for new scenes as well.
2013-08-17 02:06:45 +00:00
78d69a1e15
code cleanup: replace strcpy with BLI_strncpy for fixed size strings, and correct some harmless but incorrect sizeof() use
2013-08-04 18:12:49 +00:00
29f8dfd37a
BGE: Adding vsync control. Users can enable vsync, disable vsync, or use adaptive vsync via UI options in the render properties, or by using the new Python method bge.render.setVsync(). Win32 and X11 support are done via EXT_swap_control. Support for using EXT_swap_control on OS X still needs to be added to Ghost.
2013-07-29 22:31:32 +00:00
1448499d70
patch [ #36233 ] Fix Halo and Billboard Normal and Behavior
...
from Vitor Balbio (vitorbalbio)
Fixes billboard flipping (flipped normals and textures too)
2013-07-28 12:03:53 +00:00
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
3ff3d1bc0f
replace use of strcat() where the string offset is known.
...
also correct bad logic with converting a textblock to 3d-text, bytes-vs-number of chars wasn't handled right.
2013-07-23 12:49:30 +00:00
02ba328ca8
clang/cmake - quiet warnings for external libs and reference moto as a system include.
2013-07-15 08:26:16 +00:00
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
9cf6e305a9
split bge includes for scons onto their own lines (for easier merging)
2013-05-29 21:56:55 +00:00
feeab1ad53
Fix #34997 : when starting the game engine in one window and switching to a second
...
window, the game would stop drawing in the first and mess up the OpenGL state of
the second.
Also fixes glPushAttrib/glPopAttrib getting out of sync in some cases.
2013-04-18 16:28:39 +00:00
d2b14ed4f0
BGE: Adding mipmapping control to bge.render via bge.render.setMipmapping() and bge.render.getMipmapping().
2013-04-14 00:40:24 +00:00
dbf4328f3f
BGE: Adding a render.setFullScreen() and a render.getFullScreen() to allow fulscreening games via Python.
2013-04-13 21:09:02 +00:00
fcf137dbd7
style cleanup
2013-04-08 04:39:09 +00:00
0874237358
code cleanup: bge warnings
2013-04-04 23:16:23 +00:00
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
64d161de87
style cleanup:
...
also rename mesh_getVertexCos() --> BKE_mesh_vertexCos_get() to match curve function.
2013-03-26 07:29:01 +00:00
0807c976f4
code cleanup: rename BKE_mesh_to_curve_ex --> BKE_mesh_to_curve_nurblist,
...
also correct odd indentation.
2013-03-15 10:48:48 +00:00
c36f20a7d2
style cleanup
2013-03-08 04:00:06 +00:00
4f3ca854e1
Fix various warnings with clang build, and adjust cmake clang warnings flags
...
to include a few more that gcc is using too.
2013-02-26 21:58:06 +00:00
Dalai Felinto
2ecf27f56f
BGE projection code fix: old patch #28893 (to fix #28753 ) committed in rev.41131 changed the clipping for ortho camera from -far +far to +near +far. But also introduced this -far +far when using 3dviewport camera (which shouldn't).
2013-02-22 01:48:53 +00:00