Commit da1132eb authored by Gerhard Stein's avatar Gerhard Stein

Added python dll

parent e7dc134e
......@@ -32,7 +32,7 @@ string(REGEX REPLACE "[\r\n]" "" CG_VERSION "${CG_VERSION}")
# Since shell script get_version is not processed properly on windows, we have to define manually here.
# TODO: Better system for defining the version
IF(WIN32)
set(CG_VERSION "2.2.4")
set(CG_VERSION "2.2.5")
endif()
# Generate the README file with the correct version string
......
v2.2.5:
-------
- Audio Setting fixes
- Many Virtual Pad improvements
- Some AI fixes
- Foot fix with multiple players
- Save game fixes
v2.2.3:
-------
- Video/Display change fixes
......
......@@ -268,8 +268,9 @@ if(WIN32)
target_link_libraries(CGeniusExe mingw32)
target_link_libraries(CGeniusExe user32)
target_link_libraries(CGeniusExe gdi32)
target_link_libraries(CGeniusExe SDL2Main SDL2)
target_link_libraries(CGeniusExe SDL2_image)
#target_link_libraries(CGeniusExe SDL2Main SDL2)
target_link_libraries(CGeniusExe SDL2Main)
#target_link_libraries(CGeniusExe SDL2_image)
target_link_libraries(CGeniusExe winmm)
target_link_libraries(CGeniusExe Imm32)
target_link_libraries(CGeniusExe Version)
......
......@@ -371,7 +371,7 @@ void GalaxyEngine::pumpEvent(const CEvent *evPtr)
{
switchToPassive();
}
gSaveGameController.convertAllOldFormats();
//gSaveGameController.convertAllOldFormats();
}
else if( dynamic_cast<const EventEndGamePlay*>(evPtr) )
{
......
......@@ -222,7 +222,7 @@ void VorticonEngine::pumpEvent(const CEvent *evPtr)
if( dynamic_cast<const FinishedLoadingResources*>(evPtr) )
{
switchToPassiveMode();
gSaveGameController.convertAllOldFormats();
//gSaveGameController.convertAllOldFormats();
}
else if( const NewGamePlayersEvent* pNewGame = dynamic_cast<const NewGamePlayersEvent*>(evPtr) )
{
......
......@@ -204,13 +204,15 @@ int CSaveGameController::getOldSGVersion(const std::string& fname)
}
// This function converts savegame all files from old versions of CG to the new format
void CSaveGameController::convertAllOldFormats()
/*void CSaveGameController::convertAllOldFormats()
{
#ifndef ANDROID
for(size_t slot=0 ; slot<=9 ; slot++ )
convertOldFormat(slot);
#endif
}
}*/
/**
* This function loads the savegame of the 5th version
......
......@@ -45,8 +45,8 @@ public:
bool readSlotList(std::vector<std::string> &list);
bool convertOldFormat(size_t slot);
void convertAllOldFormats();
//bool convertOldFormat(size_t slot);
//void convertAllOldFormats();
void readOldHeader(FILE *fp, byte *episode, byte *level, byte *lives, byte *num_players);
Uint32 getSlotNumber(const std::string &filename);
std::string getExtension(const std::string &filename);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment