Campbell Barton
5549904171
style cleanup
2012-10-29 02:11:40 +00:00
Campbell Barton
aeba4950c3
style cleanup
2012-10-27 10:42:28 +00:00
Campbell Barton
f70d2c65d8
rename api functions...
...
- minf, maxf, mini, maxi --> min_ff, max_ff, min_ii, max_ii
2012-10-23 13:28:22 +00:00
Campbell Barton
ddc2dbc2a4
style cleanup
2012-10-22 08:15:51 +00:00
Campbell Barton
d599b643b7
style cleanup: bge, switch statements mostly.
...
also left bmesh decimator on in previous commit.
2012-10-21 07:58:38 +00:00
Campbell Barton
f3ece5a108
style cleanup: trailing tabs & expand some non prefix tabs into spaces.
2012-10-21 05:46:41 +00:00
Campbell Barton
4d4664d98f
code cleanup: check for msvc directly when using warning pragma's.
2012-10-15 02:15:07 +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
Campbell Barton
2fb8292005
style cleanup
2012-09-16 04:58:18 +00:00
Campbell Barton
5d2e4bb87e
code cleanup: capitalize defines.
2012-09-06 01:31:15 +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
32cf7fcdb1
code cleanup: spelling
2012-07-16 23:23:33 +00:00
Campbell Barton
3a0593cc3d
code cleanup: dont use function calls like dot_v3v3, pow and sqrt within macros which results in calling the function multiple times needlessly.
...
also added some comments.
2012-07-06 22:48:28 +00:00
Mitchell Stokes
9f7db7f3ea
Fix for [ #31122 ] "Properties cant have Spaces in names when using interval 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-05 20:34:42 +00:00
Campbell Barton
8b865c01cd
style cleanup: comments
2012-06-30 22:49:33 +00:00
Dalai Felinto
7016538974
bge.logic.keyboard.getClipboard() and .setClipboard methods
...
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-27 21:57:33 +00:00
Campbell Barton
cc0784c1b9
optionally use guarded alloc for tiles compositor, also replace allocation functions with a macro.
2012-06-25 09:14:37 +00:00
Campbell Barton
a744fed46c
style cleanup
2012-06-20 16:43:48 +00:00
Campbell Barton
f5f25b81e8
style cleanup:
...
also fix for building ghost test and fix double free in one of the tests
2012-06-17 09:58:26 +00:00
Campbell Barton
b5b8306685
code cleanup: includes, also correct some py example typos
2012-06-16 20:20:07 +00:00
Mitchell Stokes
298feff390
Committing patch [ #31704 ] "Patch to fix keyboard sensor from blocking quit game key binding" by Jay Parker. This patch fixes [ #31671 ] "Keyboard Sensor blocks Quit Game Key Binding"
2012-06-10 19:32:57 +00:00
Campbell Barton
d5032657ed
style cleanup
2012-06-06 22:38:39 +00:00
Campbell Barton
cb0b3558af
style cleanup
2012-06-05 22:12:17 +00:00
Campbell Barton
2d2d36fe3b
code cleanup:
...
- style - multi-line ifs move braces onto new lines.
- iterators - convert some to macros, other split up and move brace.
2012-05-20 19:49:27 +00:00
Campbell Barton
9dd981a440
style cleanup: block comments
2012-05-16 23:37:23 +00:00
Bastien Montagne
2e89e0096a
Spell check fix (lenght -> length)
...
Note: two remains, in comments in extern/bullet2/src/LinearMath/btVector3.h and extern/libmv/libmv/image/tuple.h.
2012-05-16 14:25:25 +00:00
Campbell Barton
112162e09e
code cleanup: header cleanup
2012-04-30 14:24:11 +00:00
Sergey Sharybin
bb0a3e1d90
Game engine: pass string length to BLI_str_cursor_step_prev_utf8 rather than NULL
...
That's what this function expect (but somehow does not use) and it gave compilation
error when using gcc-4.6.3 from debian linux.
2012-04-11 13:17:13 +00:00
Thomas Dinges
c3fc0faae2
Game Engine:
...
* Scons compile fix for svn 45479.
2012-04-09 11:03:58 +00:00
Dalai Felinto
bcd6c84a66
bugfix [ #30760 ] edit text property bug
...
backspace was messing up with utf8 text.
hijacking Blender utf8 functions
tested in CMake but I think scons should work too. No idea about pure 'make'
Happy Easter ;)
2012-04-09 01:42:44 +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
81d8f17843
style cleanup: pep8, indentation
2012-03-24 07:36:32 +00:00
Campbell Barton
4f19c1a995
spelling cleanup
2012-03-18 07:38:51 +00:00
Campbell Barton
c21c58f44c
style cleanup, also remove unused externs.
2012-03-11 19:09:01 +00:00
Campbell Barton
89a963fb7f
style cleanup: comment blocks
2012-03-09 18:28:30 +00:00
Campbell Barton
4f7bdc59d3
style cleanup: spelling.
...
also remove large, duplicate comments from sunsky.h
2012-03-09 00:41:09 +00:00
Campbell Barton
640d766370
style cleanup - remove unneeded ';'s
2012-03-08 03:05:57 +00:00
Campbell Barton
f6ae27daef
style cleanup - comment spelling + translate some dutch.
2012-03-04 04:35:12 +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
7cc206ddca
Code Cleanup: remove non existing function declarations.
...
added some missing functions too - which are not used yep but should be there for api completeness.
* CDDM_set_mloop
* CDDM_set_mpoly
* BLI_mempool_count
2012-02-29 15:00:37 +00:00
Campbell Barton
3fc2fbc333
style cleanup, use { on newline after function definition.
...
spelling 'impliment' -> 'implement'
2012-02-25 16:49:59 +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
Sergey Sharybin
d881bb4b32
BGE is compilable by MSVC again
...
Compilation error was mostly caused by trying to use namespace std before it was
actually defined (e.g. before any include of stl header).
It's not actually good idea to use namespaces in header files -- it's really easy to
run into namespace conflicts and so. Resolved by not using "using namespace" in header
files and using full quality accessing to stl collections (e.g. std::vector).
2012-02-23 09:40:10 +00:00
Mitchell Stokes
57d48d4493
Committing patch "[ #29763 ] Adding an active_events property to SCA_PythonKeyboard and SCA_PythonMouse"
...
Here is the description:
As the summary says, this patch adds a new event to both SCA_PythonKeyboard and SCA_PythonMouse. This property is similar to the events property that both have, but it only returns events which are not KX_NO_INPUTSTATUS. This moves the "no input" check from Python to C, which gave my input handling code a 2x speed up. Python sucks (performance-wise) with iterating lists and SCA_PythonKeyboard has close to 200 events (I think something like 177, but I don't know for sure).
2012-01-22 05:45:56 +00:00
Campbell Barton
fb4ad50cee
use defines for property name lenghths in the BGE, were using 31,32,64,100.
2012-01-16 05:27:11 +00:00
Alex Fraser
15dc3d4609
Fixes two crashers for games, with GHOST under SDL:
...
- Fixes SDL fullscreen mode for game engine (blenderplayer). Mode switching (resolution changes) not supported yet though.
- Fixes embedded game engine exit.
See patch tracker [#29748 ].
2012-01-02 12:35:06 +00:00
Campbell Barton
6d965f4493
style edits for function declarations
2011-12-30 07:55:15 +00:00