Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2003:
[Freeciv-Dev] (PR#2759) Weird message
Home

[Freeciv-Dev] (PR#2759) Weird message

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: rf13@xxxxxxxxxxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#2759) Weird message
From: "Jason Short via RT" <rt@xxxxxxxxxxxxxx>
Date: Fri, 10 Jan 2003 19:46:18 -0800
Reply-to: rt@xxxxxxxxxxxxxx

[rfalke - Wed Jan  8 09:20:19 2003]:

> 
> I get this
>   2: Don't have graphics tags  or  for tech_type None
> for both trident and isotrident.

Currently the client tries to load a sprite for every technology.  It
will print this warning message if no sprite is available.

The sprite name is specified in the server ruleset file.  Thus there is
no name for A_NONE.  Likewise, there will also be no sprite name for
A_FUTURE, A_UNSET, A_ROOT (unless we do something about this; A_FUTURE
is the only tech that might need a sprite).

In fact, some of the sprites that do exist are "empty" - just a colored
square.  It would be better to remove these entries from the specfile so
thee client doesn't try to use them (it will check for a NULL value). 
But this results in getting the warning from above.

The warning is generated deep in tilespec.c.  The function that is
called to load the sprite prints it out if there is no sprite available.

jason



[Prev in Thread] Current Thread [Next in Thread]