Fixed typedef-related warnings from compiler.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/1/head
Michele Calgaro 6 years ago
parent 77cbbb9f34
commit fcdbdffa69
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -26,7 +26,7 @@
*@author The Knights Team
*/
typedef struct sprite
struct sprite
{
bool Restore;
int Steps;

@ -234,7 +234,7 @@ const char ICS_Examine = 1;
const char ICS_Observe = 2;
const char ICS_Movelist = 3;
typedef struct ThemeHeader
struct ThemeHeader
{
TQString name;
TQString version;
@ -244,7 +244,7 @@ typedef struct ThemeHeader
TQString notes;
};
typedef struct ChessMove
struct ChessMove
{
char fromFile;
char fromRank;
@ -263,7 +263,7 @@ unsigned char NAG;
bool ICS_ClockTicking;
};
typedef struct Chessman
struct Chessman
{
bool Army;
char Type;
@ -271,7 +271,7 @@ typedef struct Chessman
char Rank;
};
typedef struct Position
struct Position
{
char File;
char Rank;
@ -280,7 +280,7 @@ typedef struct Position
};
/* Time Control Period */
typedef struct TCP
struct TCP
{
int Moves;
int Seconds;

@ -30,7 +30,7 @@ class KnightsMap
public:
typedef Key KeyType;
typedef T DataType;
typedef struct Pair
struct Pair
{
KeyType key;
DataType data;

@ -26,7 +26,7 @@
*@author Troy Corbin Jr.
*/
typedef struct cacheItem
struct cacheItem
{
TQString label;
TQPixmap item;

@ -37,7 +37,7 @@
*@author Troy Corbin Jr.
*/
typedef struct Annotation
struct Annotation
{
int RAV;
TQString text;

@ -44,7 +44,7 @@ class KnightsPixCache;
class TabManager;
class Accel;
typedef struct engineResource
struct engineResource
{
TQListViewItem *Item;
TQString Name;
@ -58,7 +58,7 @@ typedef struct engineResource
int CurrentRef;
};
typedef struct serverResource
struct serverResource
{
TQListViewItem *Item;
TQString Name;

Loading…
Cancel
Save