New engine features

Top  Previous  Next

Med improvements

 

The Frame Manager in Med is now non-modal, allows us to insert frames while editing them.

 

aum69_hot1

 

 

c_move improvements

 

c_move can now use the "ACTIVATE_SHOOT" and / or the "ACTIVATE_SONAR" mode flags which trigger the "EVENT_SHOOT" / "EVENT_SONAR" events for the entity that was hit and prevent all the other collision events. This way, c_move can behave in a way that's similar with c_trace's behavior.

 

 

ptr_remove

 

The "ptr_remove" function replaces all the previous "remove" functions, being able to remove an ENTITY*, STRING*, BMAP*, VIEW*, PANEL*, TEXT*, FONT*, SOUND* or MATERIAL*.

 

STRING* test_str = "Please don't remove me! Pretty please!";

...............

ptr_remove(test_str); // no mercy! ;)