smoke sprites hardcoded?

smoke sprites hardcoded?

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

smoke sprites hardcoded?

Post by smoth »

So, I was doing some cleanup and realized that spring includes both the alpha and bmp smoke files..

So I deleted mine

no big deal

Now, the TGAs on the other hand I wanted to replace with png files. so replace the lines with pngs. I like pngs, so before someone starts on photoshop or dxt, I can use whatever format I want.

Code: Select all

[resources]
{
	[graphics]
	{
		[smoke]
		{
			smoke00=smoke/smoke00.png;
			smoke01=smoke/smoke01.png;
			smoke02=smoke/smoke02.png;
			smoke03=smoke/smoke03.png;
			smoke04=smoke/smoke04.png;
			.......and so on
		}
However, spring outright ignores that part of resource tdf. When I start spring it errors out because it cannot find the tga file! I spent a few hours this morning trying to figure out what I did wrong and it was that spring still called the tga.

Is someone willing to write a fix for this?
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6242
Joined: 29 Apr 2005, 01:14

Re: smoke sprites hardcoded?

Post by FLOZi »

If noone else picks it up, bug me about it.
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Re: smoke sprites hardcoded?

Post by rattle »

If you or someone else wants to do this, adding in support for all supported graphic formats would be cool (well, DDS for me :P).
Post Reply

Return to “Engine”