failed compiling

failed compiling

hi, i checkout out svn with
# svn checkout http://osare.googlecode.com/svn/trunk/ flare/

cd into flare/src & run
# g++ -I /usr/include/SDL/ *.cpp -o rpgdemo -lSDL -lSDL_image -lSDL_mixer instead i got

these error messages
[code]In file included from Avatar.cpp:10:
Avatar.h:15:23: error: SDL_mixer.h: No such file or directory
In file included from Avatar.h:18,
from Avatar.cpp:10:
MapIso.h:47: error: ISO C++ forbids declaration of ‘Mix_Music’ with no type
MapIso.h:47: error: expected ‘;’ before ‘*’ token
MapIso.h:50: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
MapIso.h:50: error: expected ‘;’ before ‘*’ token
In file included from Avatar.h:21,
from Avatar.cpp:10:
PowerManager.h:136: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:136: error: expected ‘;’ before ‘*’ token
PowerManager.h:137: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:137: error: expected ‘;’ before ‘*’ token
PowerManager.h:138: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:138: error: expected ‘;’ before ‘*’ token
PowerManager.h:139: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:139: error: expected ‘;’ before ‘*’ token
PowerManager.h:140: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:140: error: expected ‘;’ before ‘*’ token
PowerManager.h:141: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:141: error: expected ‘;’ before ‘*’ token
PowerManager.h:142: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:142: error: expected ‘;’ before ‘*’ token
PowerManager.h:143: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:143: error: expected ‘;’ before ‘*’ token
PowerManager.h:144: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:144: error: expected ‘;’ before ‘*’ token
In file included from Avatar.cpp:10:
Avatar.h:46: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
Avatar.h:46: error: expected ‘;’ before ‘*’ token
Avatar.h:47: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
Avatar.h:47: error: expected ‘;’ before ‘*’ token
Avatar.h:48: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
Avatar.h:48: error: expected ‘;’ before ‘*’ token
Avatar.h:49: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
Avatar.h:49: error: expected ‘;’ before ‘*’ token
Avatar.h:50: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
Avatar.h:50: error: expected ‘;’ before ‘*’ token
Avatar.h:51: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
Avatar.h:51: error: expected ‘;’ before ‘*’ token
Avatar.h:52: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
Avatar.h:52: error: expected ‘;’ before ‘*’ token
Avatar.cpp: In member function ‘void Avatar::loadSounds()’:
Avatar.cpp:89: error: ‘sound_melee’ was not declared in this scope
Avatar.cpp:89: error: ‘Mix_LoadWAV’ was not declared in this scope
Avatar.cpp:90: error: ‘sound_ranged’ was not declared in this scope
Avatar.cpp:91: error: ‘sound_hit’ was not declared in this scope
Avatar.cpp:92: error: ‘sound_die’ was not declared in this scope
Avatar.cpp:93: error: ‘sound_block’ was not declared in this scope
Avatar.cpp:94: error: ‘sound_steps’ was not declared in this scope
Avatar.cpp:98: error: ‘level_up’ was not declared in this scope
Avatar.cpp:101: error: ‘Mix_GetError’ was not declared in this scope
Avatar.cpp: In member function ‘void Avatar::logic(int)’:
Avatar.cpp:218: error: ‘level_up’ was not declared in this scope
Avatar.cpp:218: error: ‘Mix_PlayChannel’ was not declared in this scope
Avatar.cpp:314: error: ‘sound_steps’ was not declared in this scope
Avatar.cpp:314: error: ‘Mix_PlayChannel’ was not declared in this scope
Avatar.cpp:389: error: ‘sound_melee’ was not declared in this scope
Avatar.cpp:389: error: ‘Mix_PlayChannel’ was not declared in this scope
Avatar.cpp:435: error: ‘sound_ranged’ was not declared in this scope
Avatar.cpp:435: error: ‘Mix_PlayChannel’ was not declared in this scope
Avatar.cpp:481: error: ‘sound_die’ was not declared in this scope
Avatar.cpp:481: error: ‘Mix_PlayChannel’ was not declared in this scope
Avatar.cpp: In member function ‘bool Avatar::takeHit(Hazard)’:
Avatar.cpp:549: error: ‘sound_block’ was not declared in this scope
Avatar.cpp:549: error: ‘Mix_PlayChannel’ was not declared in this scope
Avatar.cpp:586: error: ‘sound_hit’ was not declared in this scope
Avatar.cpp:586: error: ‘Mix_PlayChannel’ was not declared in this scope
Avatar.cpp: In destructor ‘Avatar::~Avatar()’:
Avatar.cpp:620: error: ‘sound_melee’ was not declared in this scope
Avatar.cpp:620: error: ‘Mix_FreeChunk’ was not declared in this scope
Avatar.cpp:621: error: ‘sound_ranged’ was not declared in this scope
Avatar.cpp:622: error: ‘sound_hit’ was not declared in this scope
Avatar.cpp:623: error: ‘sound_die’ was not declared in this scope
Avatar.cpp:624: error: ‘sound_block’ was not declared in this scope
Avatar.cpp:625: error: ‘sound_steps’ was not declared in this scope
Avatar.cpp:629: error: ‘level_up’ was not declared in this scope
In file included from Enemy.cpp:9:
Enemy.h:16:23: error: SDL_mixer.h: No such file or directory
In file included from Enemy.h:19,
from Enemy.cpp:9:
MapIso.h:47: error: ISO C++ forbids declaration of ‘Mix_Music’ with no type
MapIso.h:47: error: expected ‘;’ before ‘*’ token
MapIso.h:50: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
MapIso.h:50: error: expected ‘;’ before ‘*’ token
In file included from Enemy.h:23,
from Enemy.cpp:9:
PowerManager.h:136: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:136: error: expected ‘;’ before ‘*’ token
PowerManager.h:137: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:137: error: expected ‘;’ before ‘*’ token
PowerManager.h:138: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:138: error: expected ‘;’ before ‘*’ token
PowerManager.h:139: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:139: error: expected ‘;’ before ‘*’ token
PowerManager.h:140: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:140: error: expected ‘;’ before ‘*’ token
PowerManager.h:141: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:141: error: expected ‘;’ before ‘*’ token
PowerManager.h:142: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:142: error: expected ‘;’ before ‘*’ token
PowerManager.h:143: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:143: error: expected ‘;’ before ‘*’ token
PowerManager.h:144: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:144: error: expected ‘;’ before ‘*’ token
In file included from EnemyManager.h:12,
from EnemyManager.cpp:9:
MapIso.h:18:23: error: SDL_mixer.h: No such file or directory
In file included from EnemyManager.h:12,
from EnemyManager.cpp:9:
MapIso.h:47: error: ISO C++ forbids declaration of ‘Mix_Music’ with no type
MapIso.h:47: error: expected ‘;’ before ‘*’ token
MapIso.h:50: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
MapIso.h:50: error: expected ‘;’ before ‘*’ token
In file included from Enemy.h:23,
from EnemyManager.h:13,
from EnemyManager.cpp:9:
PowerManager.h:136: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:136: error: expected ‘;’ before ‘*’ token
PowerManager.h:137: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:137: error: expected ‘;’ before ‘*’ token
PowerManager.h:138: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:138: error: expected ‘;’ before ‘*’ token
PowerManager.h:139: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:139: error: expected ‘;’ before ‘*’ token
PowerManager.h:140: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:140: error: expected ‘;’ before ‘*’ token
PowerManager.h:141: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:141: error: expected ‘;’ before ‘*’ token
PowerManager.h:142: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:142: error: expected ‘;’ before ‘*’ token
PowerManager.h:143: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:143: error: expected ‘;’ before ‘*’ token
PowerManager.h:144: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:144: error: expected ‘;’ before ‘*’ token
In file included from EnemyManager.cpp:9:
EnemyManager.h:33: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
EnemyManager.h:33: error: expected ‘;’ before ‘*’ token
EnemyManager.h:34: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
EnemyManager.h:34: error: expected ‘;’ before ‘*’ token
EnemyManager.h:35: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
EnemyManager.h:35: error: expected ‘;’ before ‘*’ token
EnemyManager.h:36: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
EnemyManager.h:36: error: expected ‘;’ before ‘*’ token
EnemyManager.h:37: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
EnemyManager.h:37: error: expected ‘;’ before ‘*’ token
EnemyManager.cpp: In member function ‘void EnemyManager::loadSounds(std::string)’:
EnemyManager.cpp:58: error: ‘sound_phys_melee’ was not declared in this scope
EnemyManager.cpp:58: error: ‘Mix_LoadWAV’ was not declared in this scope
EnemyManager.cpp:59: error: ‘sound_mag_melee’ was not declared in this scope
EnemyManager.cpp:60: error: ‘sound_hit’ was not declared in this scope
EnemyManager.cpp:61: error: ‘sound_die’ was not declared in this scope
EnemyManager.cpp:62: error: ‘sound_critdie’ was not declared in this scope
EnemyManager.cpp: In member function ‘void EnemyManager::handleNewMap()’:
EnemyManager.cpp:95: error: ‘sound_phys_melee’ was not declared in this scope
EnemyManager.cpp:95: error: ‘Mix_FreeChunk’ was not declared in this scope
EnemyManager.cpp:96: error: ‘sound_hit’ was not declared in this scope
EnemyManager.cpp:97: error: ‘sound_die’ was not declared in this scope
EnemyManager.cpp:98: error: ‘sound_critdie’ was not declared in this scope
EnemyManager.cpp: In member function ‘void EnemyManager::logic()’:
EnemyManager.cpp:134: error: ‘sound_phys_melee’ was not declared in this scope
EnemyManager.cpp:134: error: ‘Mix_PlayChannel’ was not declared in this scope
EnemyManager.cpp:135: error: ‘sound_mag_melee’ was not declared in this scope
EnemyManager.cpp:135: error: ‘Mix_PlayChannel’ was not declared in this scope
EnemyManager.cpp:136: error: ‘sound_hit’ was not declared in this scope
EnemyManager.cpp:136: error: ‘Mix_PlayChannel’ was not declared in this scope
EnemyManager.cpp:137: error: ‘sound_die’ was not declared in this scope
EnemyManager.cpp:137: error: ‘Mix_PlayChannel’ was not declared in this scope
EnemyManager.cpp:138: error: ‘sound_critdie’ was not declared in this scope
EnemyManager.cpp:138: error: ‘Mix_PlayChannel’ was not declared in this scope
EnemyManager.cpp: In destructor ‘EnemyManager::~EnemyManager()’:
EnemyManager.cpp:189: error: ‘sound_phys_melee’ was not declared in this scope
EnemyManager.cpp:189: error: ‘Mix_FreeChunk’ was not declared in this scope
EnemyManager.cpp:190: error: ‘sound_mag_melee’ was not declared in this scope
EnemyManager.cpp:191: error: ‘sound_hit’ was not declared in this scope
EnemyManager.cpp:192: error: ‘sound_die’ was not declared in this scope
EnemyManager.cpp:193: error: ‘sound_critdie’ was not declared in this scope
In file included from GameEngine.h:16,
from GameEngine.cpp:10:
Avatar.h:15:23: error: SDL_mixer.h: No such file or directory
In file included from Avatar.h:18,
from GameEngine.h:16,
from GameEngine.cpp:10:
MapIso.h:47: error: ISO C++ forbids declaration of ‘Mix_Music’ with no type
MapIso.h:47: error: expected ‘;’ before ‘*’ token
MapIso.h:50: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
MapIso.h:50: error: expected ‘;’ before ‘*’ token
In file included from Avatar.h:21,
from GameEngine.h:16,
from GameEngine.cpp:10:
PowerManager.h:136: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:136: error: expected ‘;’ before ‘*’ token
PowerManager.h:137: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:137: error: expected ‘;’ before ‘*’ token
PowerManager.h:138: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:138: error: expected ‘;’ before ‘*’ token
PowerManager.h:139: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:139: error: expected ‘;’ before ‘*’ token
PowerManager.h:140: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:140: error: expected ‘;’ before ‘*’ token
PowerManager.h:141: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:141: error: expected ‘;’ before ‘*’ token
PowerManager.h:142: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:142: error: expected ‘;’ before ‘*’ token
PowerManager.h:143: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:143: error: expected ‘;’ before ‘*’ token
PowerManager.h:144: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:144: error: expected ‘;’ before ‘*’ token
In file included from GameEngine.h:16,
from GameEngine.cpp:10:
Avatar.h:46: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
Avatar.h:46: error: expected ‘;’ before ‘*’ token
Avatar.h:47: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
Avatar.h:47: error: expected ‘;’ before ‘*’ token
Avatar.h:48: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
Avatar.h:48: error: expected ‘;’ before ‘*’ token
Avatar.h:49: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
Avatar.h:49: error: expected ‘;’ before ‘*’ token
Avatar.h:50: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
Avatar.h:50: error: expected ‘;’ before ‘*’ token
Avatar.h:51: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
Avatar.h:51: error: expected ‘;’ before ‘*’ token
Avatar.h:52: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
Avatar.h:52: error: expected ‘;’ before ‘*’ token
In file included from HazardManager.h:14,
from GameEngine.h:20,
from GameEngine.cpp:10:
EnemyManager.h:33: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
EnemyManager.h:33: error: expected ‘;’ before ‘*’ token
EnemyManager.h:34: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
EnemyManager.h:34: error: expected ‘;’ before ‘*’ token
EnemyManager.h:35: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
EnemyManager.h:35: error: expected ‘;’ before ‘*’ token
EnemyManager.h:36: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
EnemyManager.h:36: error: expected ‘;’ before ‘*’ token
EnemyManager.h:37: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
EnemyManager.h:37: error: expected ‘;’ before ‘*’ token
In file included from MenuInventory.h:16,
from MenuManager.h:17,
from GameEngine.h:23,
from GameEngine.cpp:10:
ItemDatabase.h:87: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
ItemDatabase.h:87: error: expected ‘;’ before ‘*’ token
In file included from GameEngine.h:23,
from GameEngine.cpp:10:
MenuManager.h:37: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
MenuManager.h:37: error: expected ‘;’ before ‘*’ token
MenuManager.h:38: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
MenuManager.h:38: error: expected ‘;’ before ‘*’ token
In file included from GameEngine.h:24,
from GameEngine.cpp:10:
LootManager.h:61: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
LootManager.h:61: error: expected ‘;’ before ‘*’ token
In file included from Hazard.cpp:11:
Hazard.h:16:23: error: SDL_mixer.h: No such file or directory
In file included from HazardManager.h:13,
from HazardManager.cpp:10:
Avatar.h:15:23: error: SDL_mixer.h: No such file or directory
In file included from Avatar.h:18,
from HazardManager.h:13,
from HazardManager.cpp:10:
MapIso.h:47: error: ISO C++ forbids declaration of ‘Mix_Music’ with no type
MapIso.h:47: error: expected ‘;’ before ‘*’ token
MapIso.h:50: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
MapIso.h:50: error: expected ‘;’ before ‘*’ token
In file included from Avatar.h:21,
from HazardManager.h:13,
from HazardManager.cpp:10:
PowerManager.h:136: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:136: error: expected ‘;’ before ‘*’ token
PowerManager.h:137: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:137: error: expected ‘;’ before ‘*’ token
PowerManager.h:138: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:138: error: expected ‘;’ before ‘*’ token
PowerManager.h:139: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:139: error: expected ‘;’ before ‘*’ token
PowerManager.h:140: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:140: error: expected ‘;’ before ‘*’ token
PowerManager.h:141: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:141: error: expected ‘;’ before ‘*’ token
PowerManager.h:142: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:142: error: expected ‘;’ before ‘*’ token
PowerManager.h:143: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:143: error: expected ‘;’ before ‘*’ token
PowerManager.h:144: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:144: error: expected ‘;’ before ‘*’ token
In file included from HazardManager.h:13,
from HazardManager.cpp:10:
Avatar.h:46: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
Avatar.h:46: error: expected ‘;’ before ‘*’ token
Avatar.h:47: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
Avatar.h:47: error: expected ‘;’ before ‘*’ token
Avatar.h:48: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
Avatar.h:48: error: expected ‘;’ before ‘*’ token
Avatar.h:49: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
Avatar.h:49: error: expected ‘;’ before ‘*’ token
Avatar.h:50: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
Avatar.h:50: error: expected ‘;’ before ‘*’ token
Avatar.h:51: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
Avatar.h:51: error: expected ‘;’ before ‘*’ token
Avatar.h:52: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
Avatar.h:52: error: expected ‘;’ before ‘*’ token
In file included from HazardManager.h:14,
from HazardManager.cpp:10:
EnemyManager.h:33: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
EnemyManager.h:33: error: expected ‘;’ before ‘*’ token
EnemyManager.h:34: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
EnemyManager.h:34: error: expected ‘;’ before ‘*’ token
EnemyManager.h:35: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
EnemyManager.h:35: error: expected ‘;’ before ‘*’ token
EnemyManager.h:36: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
EnemyManager.h:36: error: expected ‘;’ before ‘*’ token
EnemyManager.h:37: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
EnemyManager.h:37: error: expected ‘;’ before ‘*’ token
In file included from ItemDatabase.cpp:9:
ItemDatabase.h:17:23: error: SDL_mixer.h: No such file or directory
In file included from ItemDatabase.cpp:9:
ItemDatabase.h:87: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
ItemDatabase.h:87: error: expected ‘;’ before ‘*’ token
ItemDatabase.cpp: In member function ‘void ItemDatabase::loadSounds()’:
ItemDatabase.cpp:186: error: ‘sfx’ was not declared in this scope
ItemDatabase.cpp:186: error: ‘Mix_LoadWAV’ was not declared in this scope
ItemDatabase.cpp: In member function ‘void ItemDatabase::playSound(int)’:
ItemDatabase.cpp:220: error: ‘sfx’ was not declared in this scope
ItemDatabase.cpp:221: error: ‘Mix_PlayChannel’ was not declared in this scope
ItemDatabase.cpp: In member function ‘void ItemDatabase::playCoinsSound()’:
ItemDatabase.cpp:225: error: ‘sfx’ was not declared in this scope
ItemDatabase.cpp:225: error: ‘Mix_PlayChannel’ was not declared in this scope
ItemDatabase.cpp: In destructor ‘ItemDatabase::~ItemDatabase()’:
ItemDatabase.cpp:510: error: ‘sfx’ was not declared in this scope
ItemDatabase.cpp:511: error: ‘Mix_FreeChunk’ was not declared in this scope
In file included from LootManager.cpp:10:
LootManager.h:17:23: error: SDL_mixer.h: No such file or directory
In file included from LootManager.h:20,
from LootManager.cpp:10:
ItemDatabase.h:87: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
ItemDatabase.h:87: error: expected ‘;’ before ‘*’ token
In file included from EnemyManager.h:12,
from LootManager.h:22,
from LootManager.cpp:10:
MapIso.h:47: error: ISO C++ forbids declaration of ‘Mix_Music’ with no type
MapIso.h:47: error: expected ‘;’ before ‘*’ token
MapIso.h:50: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
MapIso.h:50: error: expected ‘;’ before ‘*’ token
In file included from Enemy.h:23,
from EnemyManager.h:13,
from LootManager.h:22,
from LootManager.cpp:10:
PowerManager.h:136: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:136: error: expected ‘;’ before ‘*’ token
PowerManager.h:137: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:137: error: expected ‘;’ before ‘*’ token
PowerManager.h:138: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:138: error: expected ‘;’ before ‘*’ token
PowerManager.h:139: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:139: error: expected ‘;’ before ‘*’ token
PowerManager.h:140: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:140: error: expected ‘;’ before ‘*’ token
PowerManager.h:141: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:141: error: expected ‘;’ before ‘*’ token
PowerManager.h:142: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:142: error: expected ‘;’ before ‘*’ token
PowerManager.h:143: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:143: error: expected ‘;’ before ‘*’ token
PowerManager.h:144: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:144: error: expected ‘;’ before ‘*’ token
In file included from LootManager.h:22,
from LootManager.cpp:10:
EnemyManager.h:33: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
EnemyManager.h:33: error: expected ‘;’ before ‘*’ token
EnemyManager.h:34: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
EnemyManager.h:34: error: expected ‘;’ before ‘*’ token
EnemyManager.h:35: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
EnemyManager.h:35: error: expected ‘;’ before ‘*’ token
EnemyManager.h:36: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
EnemyManager.h:36: error: expected ‘;’ before ‘*’ token
EnemyManager.h:37: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
EnemyManager.h:37: error: expected ‘;’ before ‘*’ token
In file included from LootManager.cpp:10:
LootManager.h:61: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
LootManager.h:61: error: expected ‘;’ before ‘*’ token
LootManager.cpp: In constructor ‘LootManager::LootManager(ItemDatabase*, MenuTooltip*, EnemyManager*, MapIso*)’:
LootManager.cpp:28: error: ‘loot_flip’ was not declared in this scope
LootManager.cpp:49: error: ‘Mix_LoadWAV’ was not declared in this scope
LootManager.cpp: In member function ‘void LootManager::addLoot(int, Point)’:
LootManager.cpp:305: error: ‘loot_flip’ was not declared in this scope
LootManager.cpp:305: error: ‘Mix_PlayChannel’ was not declared in this scope
LootManager.cpp: In member function ‘void LootManager::addGold(int, Point)’:
LootManager.cpp:315: error: ‘loot_flip’ was not declared in this scope
LootManager.cpp:315: error: ‘Mix_PlayChannel’ was not declared in this scope
LootManager.cpp: In destructor ‘LootManager::~LootManager()’:
LootManager.cpp:427: error: ‘loot_flip’ was not declared in this scope
LootManager.cpp:427: error: ‘Mix_FreeChunk’ was not declared in this scope
main.cpp:13:23: error: SDL_mixer.h: No such file or directory
In file included from Avatar.h:18,
from GameEngine.h:16,
from main.cpp:17:
MapIso.h:47: error: ISO C++ forbids declaration of ‘Mix_Music’ with no type
MapIso.h:47: error: expected ‘;’ before ‘*’ token
MapIso.h:50: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
MapIso.h:50: error: expected ‘;’ before ‘*’ token
In file included from Avatar.h:21,
from GameEngine.h:16,
from main.cpp:17:
PowerManager.h:136: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:136: error: expected ‘;’ before ‘*’ token
PowerManager.h:137: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:137: error: expected ‘;’ before ‘*’ token
PowerManager.h:138: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:138: error: expected ‘;’ before ‘*’ token
PowerManager.h:139: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:139: error: expected ‘;’ before ‘*’ token
PowerManager.h:140: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:140: error: expected ‘;’ before ‘*’ token
PowerManager.h:141: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:141: error: expected ‘;’ before ‘*’ token
PowerManager.h:142: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:142: error: expected ‘;’ before ‘*’ token
PowerManager.h:143: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:143: error: expected ‘;’ before ‘*’ token
PowerManager.h:144: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:144: error: expected ‘;’ before ‘*’ token
In file included from GameEngine.h:16,
from main.cpp:17:
Avatar.h:46: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
Avatar.h:46: error: expected ‘;’ before ‘*’ token
Avatar.h:47: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
Avatar.h:47: error: expected ‘;’ before ‘*’ token
Avatar.h:48: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
Avatar.h:48: error: expected ‘;’ before ‘*’ token
Avatar.h:49: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
Avatar.h:49: error: expected ‘;’ before ‘*’ token
Avatar.h:50: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
Avatar.h:50: error: expected ‘;’ before ‘*’ token
Avatar.h:51: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
Avatar.h:51: error: expected ‘;’ before ‘*’ token
Avatar.h:52: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
Avatar.h:52: error: expected ‘;’ before ‘*’ token
In file included from HazardManager.h:14,
from GameEngine.h:20,
from main.cpp:17:
EnemyManager.h:33: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
EnemyManager.h:33: error: expected ‘;’ before ‘*’ token
EnemyManager.h:34: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
EnemyManager.h:34: error: expected ‘;’ before ‘*’ token
EnemyManager.h:35: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
EnemyManager.h:35: error: expected ‘;’ before ‘*’ token
EnemyManager.h:36: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
EnemyManager.h:36: error: expected ‘;’ before ‘*’ token
EnemyManager.h:37: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
EnemyManager.h:37: error: expected ‘;’ before ‘*’ token
In file included from MenuInventory.h:16,
from MenuManager.h:17,
from GameEngine.h:23,
from main.cpp:17:
ItemDatabase.h:87: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
ItemDatabase.h:87: error: expected ‘;’ before ‘*’ token
In file included from GameEngine.h:23,
from main.cpp:17:
MenuManager.h:37: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
MenuManager.h:37: error: expected ‘;’ before ‘*’ token
MenuManager.h:38: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
MenuManager.h:38: error: expected ‘;’ before ‘*’ token
In file included from GameEngine.h:24,
from main.cpp:17:
LootManager.h:61: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
LootManager.h:61: error: expected ‘;’ before ‘*’ token
main.cpp: In function ‘void init()’:
main.cpp:47: error: ‘Mix_OpenAudio’ was not declared in this scope
main.cpp: In function ‘int main(int, char**)’:
main.cpp:108: error: ‘Mix_CloseAudio’ was not declared in this scope
In file included from MapIso.cpp:10:
MapIso.h:18:23: error: SDL_mixer.h: No such file or directory
In file included from MapIso.cpp:10:
MapIso.h:47: error: ISO C++ forbids declaration of ‘Mix_Music’ with no type
MapIso.h:47: error: expected ‘;’ before ‘*’ token
MapIso.h:50: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
MapIso.h:50: error: expected ‘;’ before ‘*’ token
MapIso.cpp: In constructor ‘MapIso::MapIso(SDL_Surface*)’:
MapIso.cpp:27: error: ‘sfx’ was not declared in this scope
MapIso.cpp: In member function ‘void MapIso::playSFX(std::string)’:
MapIso.cpp:76: error: ‘sfx’ was not declared in this scope
MapIso.cpp:76: error: ‘Mix_FreeChunk’ was not declared in this scope
MapIso.cpp:77: error: ‘sfx’ was not declared in this scope
MapIso.cpp:77: error: ‘Mix_LoadWAV’ was not declared in this scope
MapIso.cpp:80: error: ‘sfx’ was not declared in this scope
MapIso.cpp:80: error: ‘Mix_PlayChannel’ was not declared in this scope
MapIso.cpp: In member function ‘void MapIso::loadMusic()’:
MapIso.cpp:291: error: ‘music’ was not declared in this scope
MapIso.cpp:292: error: ‘Mix_HaltMusic’ was not declared in this scope
MapIso.cpp:293: error: ‘Mix_FreeMusic’ was not declared in this scope
MapIso.cpp:296: error: ‘music’ was not declared in this scope
MapIso.cpp:296: error: ‘Mix_LoadMUS’ was not declared in this scope
MapIso.cpp:298: error: ‘Mix_GetError’ was not declared in this scope
MapIso.cpp:302: error: ‘Mix_VolumeMusic’ was not declared in this scope
MapIso.cpp:303: error: ‘Mix_PlayMusic’ was not declared in this scope
MapIso.cpp: In destructor ‘MapIso::~MapIso()’:
MapIso.cpp:485: error: ‘music’ was not declared in this scope
MapIso.cpp:486: error: ‘Mix_HaltMusic’ was not declared in this scope
MapIso.cpp:487: error: ‘Mix_FreeMusic’ was not declared in this scope
MapIso.cpp:489: error: ‘sfx’ was not declared in this scope
MapIso.cpp:489: error: ‘Mix_FreeChunk’ was not declared in this scope
In file included from MenuActionBar.h:17,
from MenuActionBar.cpp:10:
MenuTooltip.h:13:23: error: SDL_mixer.h: No such file or directory
In file included from MenuActionBar.h:18,
from MenuActionBar.cpp:10:
PowerManager.h:136: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:136: error: expected ‘;’ before ‘*’ token
PowerManager.h:137: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:137: error: expected ‘;’ before ‘*’ token
PowerManager.h:138: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:138: error: expected ‘;’ before ‘*’ token
PowerManager.h:139: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:139: error: expected ‘;’ before ‘*’ token
PowerManager.h:140: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:140: error: expected ‘;’ before ‘*’ token
PowerManager.h:141: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:141: error: expected ‘;’ before ‘*’ token
PowerManager.h:142: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:142: error: expected ‘;’ before ‘*’ token
PowerManager.h:143: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:143: error: expected ‘;’ before ‘*’ token
PowerManager.h:144: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:144: error: expected ‘;’ before ‘*’ token
In file included from MenuCharacter.cpp:8:
MenuCharacter.h:13:23: error: SDL_mixer.h: No such file or directory
In file included from MenuExperience.cpp:10:
MenuExperience.h:15:23: error: SDL_mixer.h: No such file or directory
MenuExperience.cpp: In member function ‘void MenuExperience::loadGraphics()’:
MenuExperience.cpp:44: error: ‘Mix_CloseAudio’ was not declared in this scope
In file included from MenuInventory.cpp:8:
MenuInventory.h:13:23: error: SDL_mixer.h: No such file or directory
In file included from MenuInventory.h:16,
from MenuInventory.cpp:8:
ItemDatabase.h:87: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
ItemDatabase.h:87: error: expected ‘;’ before ‘*’ token
In file included from MenuLog.cpp:8:
MenuLog.h:13:23: error: SDL_mixer.h: No such file or directory
In file included from MenuManager.cpp:8:
MenuManager.h:13:23: error: SDL_mixer.h: No such file or directory
In file included from MenuInventory.h:16,
from MenuManager.h:17,
from MenuManager.cpp:8:
ItemDatabase.h:87: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
ItemDatabase.h:87: error: expected ‘;’ before ‘*’ token
In file included from MenuPowers.h:18,
from MenuManager.h:18,
from MenuManager.cpp:8:
PowerManager.h:136: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:136: error: expected ‘;’ before ‘*’ token
PowerManager.h:137: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:137: error: expected ‘;’ before ‘*’ token
PowerManager.h:138: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:138: error: expected ‘;’ before ‘*’ token
PowerManager.h:139: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:139: error: expected ‘;’ before ‘*’ token
PowerManager.h:140: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:140: error: expected ‘;’ before ‘*’ token
PowerManager.h:141: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:141: error: expected ‘;’ before ‘*’ token
PowerManager.h:142: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:142: error: expected ‘;’ before ‘*’ token
PowerManager.h:143: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:143: error: expected ‘;’ before ‘*’ token
PowerManager.h:144: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:144: error: expected ‘;’ before ‘*’ token
In file included from MenuManager.cpp:8:
MenuManager.h:37: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
MenuManager.h:37: error: expected ‘;’ before ‘*’ token
MenuManager.h:38: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
MenuManager.h:38: error: expected ‘;’ before ‘*’ token
MenuManager.cpp: In member function ‘void MenuManager::loadSounds()’:
MenuManager.cpp:55: error: ‘sfx_open’ was not declared in this scope
MenuManager.cpp:55: error: ‘Mix_LoadWAV’ was not declared in this scope
MenuManager.cpp:56: error: ‘sfx_close’ was not declared in this scope
MenuManager.cpp:59: error: ‘Mix_GetError’ was not declared in this scope
MenuManager.cpp: In member function ‘void MenuManager::logic()’:
MenuManager.cpp:99: error: ‘sfx_open’ was not declared in this scope
MenuManager.cpp:99: error: ‘Mix_PlayChannel’ was not declared in this scope
MenuManager.cpp:103: error: ‘sfx_close’ was not declared in this scope
MenuManager.cpp:103: error: ‘Mix_PlayChannel’ was not declared in this scope
MenuManager.cpp:112: error: ‘sfx_open’ was not declared in this scope
MenuManager.cpp:112: error: ‘Mix_PlayChannel’ was not declared in this scope
MenuManager.cpp:116: error: ‘sfx_close’ was not declared in this scope
MenuManager.cpp:116: error: ‘Mix_PlayChannel’ was not declared in this scope
MenuManager.cpp:124: error: ‘sfx_open’ was not declared in this scope
MenuManager.cpp:124: error: ‘Mix_PlayChannel’ was not declared in this scope
MenuManager.cpp:128: error: ‘sfx_close’ was not declared in this scope
MenuManager.cpp:128: error: ‘Mix_PlayChannel’ was not declared in this scope
MenuManager.cpp:136: error: ‘sfx_open’ was not declared in this scope
MenuManager.cpp:136: error: ‘Mix_PlayChannel’ was not declared in this scope
MenuManager.cpp:140: error: ‘sfx_close’ was not declared in this scope
MenuManager.cpp:140: error: ‘Mix_PlayChannel’ was not declared in this scope
MenuManager.cpp: In member function ‘void MenuManager::closeAll()’:
MenuManager.cpp:329: error: ‘sfx_close’ was not declared in this scope
MenuManager.cpp:329: error: ‘Mix_PlayChannel’ was not declared in this scope
MenuManager.cpp: In destructor ‘MenuManager::~MenuManager()’:
MenuManager.cpp:343: error: ‘sfx_open’ was not declared in this scope
MenuManager.cpp:343: error: ‘Mix_FreeChunk’ was not declared in this scope
MenuManager.cpp:344: error: ‘sfx_close’ was not declared in this scope
In file included from MenuPowers.cpp:8:
MenuPowers.h:13:23: error: SDL_mixer.h: No such file or directory
In file included from MenuPowers.h:18,
from MenuPowers.cpp:8:
PowerManager.h:136: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:136: error: expected ‘;’ before ‘*’ token
PowerManager.h:137: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:137: error: expected ‘;’ before ‘*’ token
PowerManager.h:138: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:138: error: expected ‘;’ before ‘*’ token
PowerManager.h:139: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:139: error: expected ‘;’ before ‘*’ token
PowerManager.h:140: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:140: error: expected ‘;’ before ‘*’ token
PowerManager.h:141: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:141: error: expected ‘;’ before ‘*’ token
PowerManager.h:142: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:142: error: expected ‘;’ before ‘*’ token
PowerManager.h:143: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:143: error: expected ‘;’ before ‘*’ token
PowerManager.h:144: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:144: error: expected ‘;’ before ‘*’ token
In file included from MenuTooltip.cpp:10:
MenuTooltip.h:13:23: error: SDL_mixer.h: No such file or directory
In file included from PowerManager.cpp:9:
PowerManager.h:14:23: error: SDL_mixer.h: No such file or directory
In file included from PowerManager.cpp:9:
PowerManager.h:136: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:136: error: expected ‘;’ before ‘*’ token
PowerManager.h:137: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:137: error: expected ‘;’ before ‘*’ token
PowerManager.h:138: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:138: error: expected ‘;’ before ‘*’ token
PowerManager.h:139: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:139: error: expected ‘;’ before ‘*’ token
PowerManager.h:140: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:140: error: expected ‘;’ before ‘*’ token
PowerManager.h:141: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:141: error: expected ‘;’ before ‘*’ token
PowerManager.h:142: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:142: error: expected ‘;’ before ‘*’ token
PowerManager.h:143: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:143: error: expected ‘;’ before ‘*’ token
PowerManager.h:144: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:144: error: expected ‘;’ before ‘*’ token
PowerManager.cpp: In member function ‘void PowerManager::loadSounds()’:
PowerManager.cpp:196: error: ‘sfx_warcry’ was not declared in this scope
PowerManager.cpp:196: error: ‘Mix_LoadWAV’ was not declared in this scope
PowerManager.cpp:197: error: ‘sfx_shock’ was not declared in this scope
PowerManager.cpp:198: error: ‘sfx_quake’ was not declared in this scope
PowerManager.cpp:199: error: ‘sfx_freeze’ was not declared in this scope
PowerManager.cpp:200: error: ‘sfx_burn’ was not declared in this scope
PowerManager.cpp:201: error: ‘sfx_heal’ was not declared in this scope
PowerManager.cpp:202: error: ‘sfx_shield’ was not declared in this scope
PowerManager.cpp:203: error: ‘sfx_teleport’ was not declared in this scope
PowerManager.cpp:204: error: ‘sfx_timestop’ was not declared in this scope
PowerManager.cpp: In member function ‘bool PowerManager::nonDamage(int, StatBlock*, Point)’:
PowerManager.cpp:285: error: ‘sfx_heal’ was not declared in this scope
PowerManager.cpp:285: error: ‘Mix_PlayChannel’ was not declared in this scope
PowerManager.cpp:297: error: ‘sfx_timestop’ was not declared in this scope
PowerManager.cpp:297: error: ‘Mix_PlayChannel’ was not declared in this scope
PowerManager.cpp:303: error: ‘sfx_shield’ was not declared in this scope
PowerManager.cpp:303: error: ‘Mix_PlayChannel’ was not declared in this scope
PowerManager.cpp:319: error: ‘sfx_warcry’ was not declared in this scope
PowerManager.cpp:319: error: ‘Mix_PlayChannel’ was not declared in this scope
PowerManager.cpp:357: error: ‘sfx_teleport’ was not declared in this scope
PowerManager.cpp:357: error: ‘Mix_PlayChannel’ was not declared in this scope
PowerManager.cpp: In member function ‘bool PowerManager::missile(int, StatBlock*, Point)’:
PowerManager.cpp:422: error: ‘sfx_shock’ was not declared in this scope
PowerManager.cpp:422: error: ‘Mix_PlayChannel’ was not declared in this scope
PowerManager.cpp: In member function ‘bool PowerManager::groundRay(int, StatBlock*, Point)’:
PowerManager.cpp:552: error: ‘sfx_freeze’ was not declared in this scope
PowerManager.cpp:552: error: ‘Mix_PlayChannel’ was not declared in this scope
PowerManager.cpp: In member function ‘bool PowerManager::single(int, StatBlock*, Point)’:
PowerManager.cpp:679: error: ‘sfx_burn’ was not declared in this scope
PowerManager.cpp:679: error: ‘Mix_PlayChannel’ was not declared in this scope
PowerManager.cpp:703: error: ‘sfx_quake’ was not declared in this scope
PowerManager.cpp:703: error: ‘Mix_PlayChannel’ was not declared in this scope
PowerManager.cpp: In destructor ‘PowerManager::~PowerManager()’:
PowerManager.cpp:755: error: ‘sfx_warcry’ was not declared in this scope
PowerManager.cpp:755: error: ‘Mix_FreeChunk’ was not declared in this scope
PowerManager.cpp:756: error: ‘sfx_shock’ was not declared in this scope
PowerManager.cpp:757: error: ‘sfx_freeze’ was not declared in this scope
PowerManager.cpp:758: error: ‘sfx_quake’ was not declared in this scope
PowerManager.cpp:759: error: ‘sfx_burn’ was not declared in this scope
PowerManager.cpp:760: error: ‘sfx_heal’ was not declared in this scope
PowerManager.cpp:761: error: ‘sfx_shield’ was not declared in this scope
PowerManager.cpp:762: error: ‘sfx_teleport’ was not declared in this scope
PowerManager.cpp:763: error: ‘sfx_timestop’ was not declared in this scope
In file included from GameEngine.h:16,
from SaveLoad.cpp:12:
Avatar.h:15:23: error: SDL_mixer.h: No such file or directory
In file included from Avatar.h:18,
from GameEngine.h:16,
from SaveLoad.cpp:12:
MapIso.h:47: error: ISO C++ forbids declaration of ‘Mix_Music’ with no type
MapIso.h:47: error: expected ‘;’ before ‘*’ token
MapIso.h:50: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
MapIso.h:50: error: expected ‘;’ before ‘*’ token
In file included from Avatar.h:21,
from GameEngine.h:16,
from SaveLoad.cpp:12:
PowerManager.h:136: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:136: error: expected ‘;’ before ‘*’ token
PowerManager.h:137: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:137: error: expected ‘;’ before ‘*’ token
PowerManager.h:138: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:138: error: expected ‘;’ before ‘*’ token
PowerManager.h:139: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:139: error: expected ‘;’ before ‘*’ token
PowerManager.h:140: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:140: error: expected ‘;’ before ‘*’ token
PowerManager.h:141: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:141: error: expected ‘;’ before ‘*’ token
PowerManager.h:142: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:142: error: expected ‘;’ before ‘*’ token
PowerManager.h:143: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:143: error: expected ‘;’ before ‘*’ token
PowerManager.h:144: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
PowerManager.h:144: error: expected ‘;’ before ‘*’ token
In file included from GameEngine.h:16,
from SaveLoad.cpp:12:
Avatar.h:46: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
Avatar.h:46: error: expected ‘;’ before ‘*’ token
Avatar.h:47: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
Avatar.h:47: error: expected ‘;’ before ‘*’ token
Avatar.h:48: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
Avatar.h:48: error: expected ‘;’ before ‘*’ token
Avatar.h:49: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
Avatar.h:49: error: expected ‘;’ before ‘*’ token
Avatar.h:50: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
Avatar.h:50: error: expected ‘;’ before ‘*’ token
Avatar.h:51: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
Avatar.h:51: error: expected ‘;’ before ‘*’ token
Avatar.h:52: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
Avatar.h:52: error: expected ‘;’ before ‘*’ token
In file included from HazardManager.h:14,
from GameEngine.h:20,
from SaveLoad.cpp:12:
EnemyManager.h:33: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
EnemyManager.h:33: error: expected ‘;’ before ‘*’ token
EnemyManager.h:34: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
EnemyManager.h:34: error: expected ‘;’ before ‘*’ token
EnemyManager.h:35: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
EnemyManager.h:35: error: expected ‘;’ before ‘*’ token
EnemyManager.h:36: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
EnemyManager.h:36: error: expected ‘;’ before ‘*’ token
EnemyManager.h:37: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
EnemyManager.h:37: error: expected ‘;’ before ‘*’ token
In file included from MenuInventory.h:16,
from MenuManager.h:17,
from GameEngine.h:23,
from SaveLoad.cpp:12:
ItemDatabase.h:87: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
ItemDatabase.h:87: error: expected ‘;’ before ‘*’ token
In file included from GameEngine.h:23,
from SaveLoad.cpp:12:
MenuManager.h:37: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
MenuManager.h:37: error: expected ‘;’ before ‘*’ token
MenuManager.h:38: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
MenuManager.h:38: error: expected ‘;’ before ‘*’ token
In file included from GameEngine.h:24,
from SaveLoad.cpp:12:
LootManager.h:61: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
LootManager.h:61: error: expected ‘;’ before ‘*’ token[/code]