From b0716309242334f7993a5ae86d8f82c1690d89bc Mon Sep 17 00:00:00 2001 From: spartanj Date: Fri, 1 Oct 2010 04:49:36 -0300 Subject: [PATCH] Removed boost dependency ( now use PlusCallback for callbacks, and use my own lexical cast ). With this improved a lot the compiling time. As far as i could test, PlusCallback is faster than boos::function too. I added a couple of checks to avoid rendering problems on fonts. And added some minor fixes. --- ee.linux.cbp | 10 + ee.win.cbp | 8 + src/base.hpp | 5 +- src/graphics/cconsole.cpp | 117 +- src/graphics/cconsole.hpp | 2 +- src/graphics/cfont.cpp | 254 +-- src/graphics/cparticlesystem.cpp | 5 +- src/graphics/cparticlesystem.hpp | 3 +- src/helper/PlusCallback/callback.hpp | 2446 ++++++++++++++++++++++++++ src/helper/libzip/config.h | 2 +- src/helper/libzip/zip_close.c | 2 +- src/helper/libzip/zip_fdopen.c | 2 +- src/helper/zlib/zconf.h | 2 +- src/system/cobjectloader.cpp | 12 +- src/system/cobjectloader.hpp | 8 +- src/system/cresourceloader.cpp | 6 +- src/system/cresourceloader.hpp | 6 +- src/test/ee.cpp | 28 +- src/ui/cuicontrol.hpp | 2 +- src/ui/cuicontrolanim.hpp | 8 +- src/ui/cuimanager.cpp | 2 +- src/ui/cuitextinput.cpp | 6 +- src/ui/cuitextinput.hpp | 21 +- src/utils/cinterpolation.cpp | 6 +- src/utils/cinterpolation.hpp | 4 +- src/utils/cwaypoints.cpp | 4 +- src/utils/cwaypoints.hpp | 4 +- src/utils/string.cpp | 6 +- src/utils/string.hpp | 8 +- src/utils/utils.cpp | 95 + src/utils/utils.hpp | 8 +- src/window/cengine.cpp | 7 +- src/window/cinput.cpp | 4 +- src/window/cinput.hpp | 4 +- src/window/cinputtextbuffer.cpp | 11 +- src/window/cinputtextbuffer.hpp | 39 +- 36 files changed, 2885 insertions(+), 272 deletions(-) create mode 100644 src/helper/PlusCallback/callback.hpp diff --git a/ee.linux.cbp b/ee.linux.cbp index 8dcceac53..a8f82b574 100644 --- a/ee.linux.cbp +++ b/ee.linux.cbp @@ -163,6 +163,7 @@ + @@ -566,6 +567,15 @@ + + + + + + + + + diff --git a/ee.win.cbp b/ee.win.cbp index 57ff900d8..0dcefd929 100644 --- a/ee.win.cbp +++ b/ee.win.cbp @@ -94,6 +94,8 @@ + + @@ -150,6 +152,8 @@ + + @@ -162,6 +166,7 @@ + @@ -200,9 +205,11 @@ + +