blender/source
Kester Maddock 80485c2926 In NaN times I suggested a python function to get the subject of a
Message using a python function of the MessageSensor.

Thats a nice thing if you want complex message handling in one python
script. Just get all messages, check the subject and do what you
want. In the current situation you end up with several MessageSensors
connected to the python script, instead of one Sensor and a smart
script.

Some developer (cant remember who) did implement that function, but
however not the way I wanted (maybe I was not clear enough) ;-) So the
getSubject() function will return whats entered in the "Subject:"
filter field of the MessageSensor. Quite useless IMHO.

So I added a new function getSubjects() which is similar to
getBodies(), in fact I stole the code from there ;-)

I left the getSubject() alone, because of backward compatibility
(never saw someone using that function, but...)


The future:

In conjunction with a wildcard subject: filter field the getSubjects()
function will be even more usefull.

i.e. Player* will filter for PlayerScore, PlayerKill etc.

-- Carsten Wartmann
2004-04-08 11:36:22 +00:00
..
blender fix for bug #1115 2004-04-07 22:42:02 +00:00
creator BPython: 2004-03-31 04:18:39 +00:00
darwin Updated the Mac OS X blender file icon with standard background and xype's nice shiney blender logo 2003-12-19 12:07:24 +00:00
gameengine In NaN times I suggested a python function to get the subject of a 2004-04-08 11:36:22 +00:00
icons - Revert to NaN makefiles 2004-01-05 00:06:11 +00:00
kernel SCons updates 2004-02-29 21:40:48 +00:00
Makefile Making the SDL CD stuff link right. 2004-04-04 15:33:18 +00:00
nan_compile.mk Lowered optimization for solaris gcc to -O1 2004-04-02 19:37:20 +00:00
nan_definitions.mk Disable compilation of the game engine for irix. 2004-03-28 22:36:28 +00:00
nan_link.mk Work done to build blender on Linux [sparc64]. 2004-01-01 23:19:08 +00:00
nan_subdirs.mk Introducing the 'quicky' make. 2003-12-07 19:03:43 +00:00
nan_warn.mk removed -Wbad-function-cast -Wmissing-declarations -Wnested-externs 2004-03-05 21:29:34 +00:00
SConscript SCons updates 2004-02-24 20:03:27 +00:00