Page 1 of 1

Default explosion bitmaps in COB

Posted: 26 Jan 2012, 17:26
by Beherith
Where does bitmap1-bitmap5 and bitmapnuke point to? Where is it defined and can it be overwritten?

Re: Default explosion bitmaps in COB

Posted: 26 Jan 2012, 18:08
by FLOZi
you mean e.g.

Code: Select all

explode mypiecename type BITMAP1 | BITMAPNUKE;
etc?

You'll want to look at

https://github.com/spring/spring/blob/m ... t.cpp#L768

and

https://github.com/spring/spring/blob/m ... B.cpp#L120

And your local script includes (exptype.h is the OTA one iirc).

Btw, I think BITMAP1 etc are ignored, but I may be mistaken.