From e95fcb09fc069a83b3c10c19c081873daba49831 Mon Sep 17 00:00:00 2001 From: zecke Date: Sun, 17 Oct 2004 18:38:39 +0000 Subject: G++ 4.0 compiler fixes -Remove anonymous structures and name them -Include 'card.h' to cardpile to make 'Card' known to QList so deleteItem will work -cast 'enum' to char in event.cpp and opimevent.cpp --- (limited to 'noncore/games/qasteroids/view.cpp') diff --git a/noncore/games/qasteroids/view.cpp b/noncore/games/qasteroids/view.cpp index 352c63b..3a4d410 100644 --- a/noncore/games/qasteroids/view.cpp +++ b/noncore/games/qasteroids/view.cpp @@ -55,13 +55,14 @@ #define M_PI 3.141592654 #endif -struct +struct kas_animations_t { int id; const char *path; int frames; -} -kas_animations [] = +}; + +static const kas_animations_t kas_animations [] = { // { ID_ROCK_LARGE, "rock1/rock1\%1.png", 32 }, { ID_ROCK_MEDIUM, "rock2/rock2\%1.png", 32 }, -- cgit v0.9.0.2