ObjectDef.h
--------------------------------------------------------------------------------
a couple of the objectdef.h files in the 
editor object have ObjectRegisterDef incorrectly 
prototyped as int32 when they are actually used as floats inside the function, or alternatively the definition of ObjectRegisterDef is incorrectly defined as floats when the prototype is int32. 

ambobject is one such, there are three others IIRC

 
Timothy Roff  
Local user
(12/21/99 9:35:51 pm)
Reply Re: ObjectDef.h
--------------------------------------------------------------------------------
wanna know something really strange though? I noticed the float/int32 thing too when I was writing my MP3 background music editor object. 

now heres the WEIRD part: 
DLLExport jeBoolean Object_RegisterDef( 
    float Major,    // major version number 
    float Minor )    // minor version number 
{ 
see that code snippet? change 'float' to 'int32' re-compile, open up the editor and try and add your object and *poof* crash 

wait theres more: 
DLLExport jeBoolean Object_RegisterDef( int32 Major, int32 Minor); 
now in that code if you change int32 to float and re-compile, it crashes the editor again!!! BUT if you keep the int32s as int32s and the floats as floats, it doesnt crash the editor... 

 
