Default explosion bitmaps in COB

Default explosion bitmaps in COB

Discuss game development here, from a distinct game project to an accessible third-party mutator, down to the interaction and design of individual units if you like.

Moderator: Moderators

Post Reply
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Default explosion bitmaps in COB

Post by Beherith »

Where does bitmap1-bitmap5 and bitmapnuke point to? Where is it defined and can it be overwritten?
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6243
Joined: 29 Apr 2005, 01:14

Re: Default explosion bitmaps in COB

Post 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.
Post Reply

Return to “Game Development”