From c3ef149618a56fa4fc031b68f2a1dd0f0c8c1f69 Mon Sep 17 00:00:00 2001 From: spartanj Date: Thu, 8 Jul 2010 02:37:47 -0300 Subject: [PATCH] Fixed some bugs on Texture Factory. Removed useless functions on Texture Factory. Reordered load functions on Texture Factory. Moved Draw calls to cTexture instead of Drawing inside the Texture Factory. Added GetNumGPUs function on utils. Renamed soil files. Added optional compilation with LLVM. Added TODOs, and defined the future of the developing of the library ( ordered by priority, starting the most important from the top ). --- ee.linux.cbp | 8 +- src/base.hpp | 4 +- src/gaming/cisomap.cpp | 6 +- src/graphics/cbatchrenderer.cpp | 16 +- src/graphics/cbatchrenderer.hpp | 5 +- src/graphics/cconsole.cpp | 7 +- src/graphics/cprimitives.cpp | 16 +- src/graphics/cscrollparallax.cpp | 10 +- src/graphics/cscrollparallax.hpp | 3 +- src/graphics/cshape.cpp | 14 +- src/graphics/csprite.cpp | 15 +- src/graphics/ctexture.cpp | 268 +++++++++-- src/graphics/ctexture.hpp | 134 ++++-- src/graphics/ctexturefactory.cpp | 435 ++++-------------- src/graphics/ctexturefactory.hpp | 172 +++---- src/graphics/ctexturefont.cpp | 70 +-- src/graphics/cttffont.cpp | 50 +- src/helper/SOIL/SOIL.c | 2 +- .../SOIL/{stb_image_aug.c => stb_image.c} | 6 +- .../SOIL/{stb_image_aug.h => stb_image.h} | 0 .../SOIL/{stbi_DDS_aug.h => stbi_DDS.h} | 0 .../SOIL/{stbi_DDS_aug_c.h => stbi_DDS_c.h} | 0 src/test/ee.cpp | 59 ++- src/utils/utils.cpp | 53 ++- src/utils/utils.hpp | 3 + 25 files changed, 702 insertions(+), 654 deletions(-) rename src/helper/SOIL/{stb_image_aug.c => stb_image.c} (99%) rename src/helper/SOIL/{stb_image_aug.h => stb_image.h} (100%) rename src/helper/SOIL/{stbi_DDS_aug.h => stbi_DDS.h} (100%) rename src/helper/SOIL/{stbi_DDS_aug_c.h => stbi_DDS_c.h} (100%) diff --git a/ee.linux.cbp b/ee.linux.cbp index e9e600c14..3b9656363 100644 --- a/ee.linux.cbp +++ b/ee.linux.cbp @@ -130,12 +130,12 @@