uMod2 Alpha Version:

known bugs: I disabled the remove device function inside the gui, because something in the event handling goes terrible wrong.

Changes:
- hashing algorithm is now a CRC64 value
- changed CRC32 algorithm to a faster one
- in save single texture mode, the selected texture can now be displayed
- the way how uMod get the raw data of the texture was changed
This commit is contained in:
code@koerner-de.net
2012-08-04 19:30:29 +00:00
parent 0bc7eebede
commit 071ac3ece5
41 changed files with 1126 additions and 1108 deletions
+8 -1
View File
@@ -61,7 +61,6 @@ public:
*/
virtual int SaveSingleTexture(bool val) = 0;
/**
* Enable/Disable the string in the left upper corner during save single texture mode (called from the mainloop).
* @param[in] val
@@ -69,6 +68,13 @@ public:
*/
int ShowTextureString(bool val) {BoolShowTextureString = val; return (RETURN_OK);}
/**
* Enable/Disable the string in the left upper corner during save single texture mode (called from the mainloop).
* @param[in] val
* @return
*/
int ShowSingleTexture(bool val) {BoolShowSingleTexture = val; return (RETURN_OK);}
/**
* Enable/Disable the hashing with CRC32, which is needed to support also tpf mods (called from the mainloop).
* @param[in] val
@@ -172,6 +178,7 @@ public:
bool BoolSaveAllTextures; //!< true if all textures should be saved
bool BoolSaveSingleTexture; //!< true if "save single texture" mode is enabled
bool BoolShowTextureString; //!< true if a string should be displayed during "save single texture" mode is enabled
bool BoolShowSingleTexture; //!< true if the texture should be displayed during "save single texture" mode is enabled
bool BoolComputeCRC; //!< if true also the crc32 is calculated, which is need to support tpf
int KeyBack; //!< key value for going to the previous texture