Commit Graph

20 Commits

Author SHA1 Message Date
BenDol 547b18db9a Update copyright for 2014 2014-04-01 18:36:42 +13:00
Eduardo Bart 69e762385e Warn when shared_object_ptr misused 2013-02-28 12:19:42 -03:00
Eduardo Bart 122577a916 Just rename some files
* Fix a server ping issue
2013-01-08 16:32:05 -02:00
Eduardo Bart 3bac3dcbb4 Rework stdext classes
Implement new classes:
* stdext::any => ligher replacement for boost::any
* stdext::packed_any => like any but optimized to use less memory
* stdext::shared_object => ligher replacement for std::shared_ptr
* stdext::shared_object_ptr => replacement for boost::intrusive_ptr
* stdext::fast_storage => for storing dynamic data
* stdext::packed_storage => same but with less memory
* stdext::packed_vector => std::vector with less memory

Compiling should be a little faster now because global boost including
is not needed anymore
2012-08-01 09:23:35 -03:00
Eduardo Bart e0431021b5 Huge engine change, replace all std::shared_ptrs
Create a new shared pointer type stdext::shared_object_ptr and stdext::shared_obj
using boost::intrusive_ptr

Advantages:
 * half memory usage
 * faster and lightweight

Disadvantages:
 * using weak_ptr is not supported anymore
 * compiling seems slower
2012-07-29 00:34:40 -03:00
Eduardo Bart c9dce51458 Update otml and casts
Improve casts performance
OTML can now understand value escaped sequences
Use long instead of int for lua integer
2012-07-23 01:33:37 -03:00
Eduardo Bart ad04043a88 Lua binder compability changes
* A lot of changes in lua binder to compile with clang's libc++
* Add more portability to luabinder
* Remove const keyword from bound lua functions
* Deprecate std::bind usage with luabinder replace its usage with registerSingletonClass/bindSingletonFunction for binding singleton classes
* Fix a bug in lua binder where calling functions with bil object would make the client crash
* More fixes to compile with clang
2012-06-17 12:21:46 -03:00
Eduardo Bart c01b32b032 rework log function and protocol
* remove some protocol ifdefs, replace with game features system
2012-05-28 19:04:44 -03:00
Eduardo Bart 4c80d783d6 rewrite and reoganize tools functions
* create stdext namespace which contains additional C++ algorithms
* organize stdext in string, math, cast and exception utilities
2012-05-28 10:06:26 -03:00
Eduardo Bart 34f9ecb6c8 fixes in Settings/g_configs 2012-02-01 22:10:55 -02:00
Eduardo Bart c4b2dd18d6 restore terminal, rework console 2012-01-07 15:36:58 -02:00
Eduardo Bart 9104305f37 update copyright notice 2012-01-02 14:59:24 -02:00
Eduardo Bart 4afbe43e6f changes to prepare revgraphics 2011-12-01 17:38:46 -02:00
Eduardo Bart e87297c1b5 reorganize all constants and place them into namespaces 2011-08-28 13:02:26 -03:00
Eduardo Bart f7eac377e7 restore copyright notice 2011-08-28 10:17:58 -03:00
Eduardo Bart 033f14780d make otml simpler and easier to use, improve error handling/exceptions 2011-08-19 15:53:23 -03:00
Eduardo Bart d8cc37afdb reorganize sources 2011-08-15 11:06:15 -03:00
Eduardo Bart 55862b07ad merge total remake 2011-08-13 23:10:27 -03:00
Eduardo Bart 571801ae39 some refactoring 2011-07-16 21:13:53 -03:00
Eduardo Bart 8ef1b28546 many changes and refactoring 2011-07-13 18:12:36 -03:00