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 *@author The Knights Team
*/ */
typedef struct sprite struct sprite
{ {
bool Restore; bool Restore;
int Steps; int Steps;

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

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

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

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

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

Loading…
Cancel
Save