Eduardo Bart
44bf4dcb6e
Fix ubuntu compile errors
2013-03-05 02:54:08 -03:00
Eduardo Bart
1dd558d57e
Revert "Use boost::thread instead of std::thread"
...
This reverts commit 71b5c5f2e4
.
2013-03-05 01:47:23 -03:00
Eduardo Bart
71b5c5f2e4
Use boost::thread instead of std::thread
2013-03-04 23:06:00 -03:00
Eduardo Bart
0be7bd5360
Implement async dispatcher #221
2013-03-04 18:56:22 -03:00
Eduardo Bart
c452e74e0c
Implement stdext::shared_ptr
...
It's an alternative to stdext::shared_object_ptr
with weak pointers support and some other functionallity, however
it's heavier, uses more memory, more allocation and slower,
this class should be used when really needed, prefer
stdext::shared_object_ptr
2013-03-04 13:14:35 -03:00
Eduardo Bart
bdbe065c23
Add thread safety for std::shared_object_ptr
2013-03-04 10:47:07 -03:00
Eduardo Bart
8314b84f69
Add live_textures_reload command
2013-03-01 05:46:55 -03:00
Eduardo Bart
69e762385e
Warn when shared_object_ptr misused
2013-02-28 12:19:42 -03:00
Eduardo Bart
ef20f59a98
Fix new line in utf8 conversion
2013-02-26 18:31:09 -03:00
Eduardo Bart
09c937998f
Dont use boost locale anymore
2013-02-22 18:49:36 -03:00
Eduardo Bart
cf77df05ca
Fix possible leaks in stdext::format
2013-02-05 20:00:28 -02:00
Eduardo Bart
86d06057ca
Fixes to compile with libc++
2013-02-05 18:30:16 -02:00
Eduardo Bart
4351f3c63f
More improvements in walk
2013-01-26 20:12:00 -02:00
Eduardo Bart
835adfb4ce
Fix a compile error
2013-01-26 15:17:32 -02:00
Eduardo Bart
50c2db100e
Use boost::chrono instead of std::chrono
2013-01-23 19:31:14 -02:00
Eduardo Bart
cce2976156
Many enhancements in client API
...
* Fix issues in item use
* Stack animated texts values
* Add utility functions for changing creature color and jumping
* Add some new extended functionality
* Improve map shader API
2013-01-09 17:29:58 -02:00
Eduardo Bart
fdcad184f9
Fix platform issues regarding charsets
...
* IMPORTANT: A new dependency is required, boost_locale, comes with boost 1.50.0 or later
* Copying and pasting special characters should now work
* Running otclient from filepaths with special characters should work now too
2013-01-08 18:45:27 -02:00
Eduardo Bart
9d5abb0243
Fix minor issues in item drawing
...
* Add some utilities functions
2013-01-08 17:40:25 -02:00
Eduardo Bart
122577a916
Just rename some files
...
* Fix a server ping issue
2013-01-08 16:32:05 -02:00
Eduardo Bart
8bb115d6d4
Fix issue #134
2012-10-24 18:03:15 -02:00
Eduardo Bart
affe641a1f
Add remove function to stdext storages
2012-08-17 18:19:51 -03:00
Henrique Santiago
93fdd2e326
Fix messagebox width, use boost in stdext net
2012-08-07 23:18:36 -03:00
Henrique Santiago
466d8e8820
Use custom upchar and lochar by default due to accents in font files.
2012-08-07 21:12:36 -03:00
Henrique Santiago
4919bdf1bc
Bind net functions
2012-08-07 14:05:55 -03:00
niczkx
6feaeff8cc
Fix NPC/Monster rendering for OTBM
2012-08-07 03:12:44 -06:00
Henrique Santiago
a2db210012
Create stdext net, changes to outfit and exit windows.
2012-08-06 22:11:42 -03:00
Eduardo Bart
5232501ecf
Optimize dynamic storage
2012-08-06 20:52:55 -03:00
Eduardo Bart
a01534e6a2
Add missing thread header
2012-08-04 13:07:21 -03:00
Eduardo Bart
521adc308b
Fix broken compilation in mingw32
2012-08-04 12:36:23 -03:00
Eduardo Bart
fa15c25951
Implement support for coroutines in C++
2012-08-04 01:46:04 -03:00
Eduardo Bart
6a68569319
Minor changes
2012-08-03 16:35:39 -03:00
Eduardo Bart
f103f3ee62
Minor fix in packed_vector
2012-08-02 08:43:49 -03:00
Eduardo Bart
ee4f155b92
Minor fix in std::packed_any
2012-08-02 06:27:16 -03:00
Eduardo Bart
103daa63e3
Fix compile issues with clang
2012-08-01 18:06:31 -03: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
f4641333f4
Fix a rare drag/drop issue
2012-07-31 06:34:45 -03:00
niczkx
4c369bc823
fix compiling on gcc 4.6 (too early to use 4.7.1...)
2012-07-30 18:52:30 -06:00
Eduardo Bart
03b8241bbc
Rename stdext::shared_object_ptr to compile in gcc 4.6
2012-07-30 12:08:21 -03:00
Eduardo Bart
73769c62e4
Just some refactoring
2012-07-29 07:32:54 -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
a11d6e501e
More refactoring and some changes
...
* Move protocol safeSend() to send()
* Bind some new functions
* Refactor lots of enums
2012-07-20 02:52:57 -03:00
niczkx
9dc88de6b0
missed something in last commit
2012-07-19 17:28:40 +02:00
niczkx
f74b013da2
ignore this
2012-07-19 15:55:10 +02:00
niczkx
c8d1d5ecf2
rewrite xml stuff #2 - will be testing the monsters xml code soon
2012-07-18 02:58:28 -03:00
niczkx
28825a3298
lalala
2012-07-18 00:03:46 +02:00
niczkx
02f89dd8be
fixes
2012-07-17 16:12:29 -03:00
niczkx
12d30f7355
monsters
2012-07-17 12:00:22 +03:00
Eduardo Bart
31612036fb
Fix issue #23
2012-07-09 10:30:41 -03:00
Eduardo Bart
f650b0e5bb
Restore and fix compile warnings
2012-06-17 18:47:05 -03:00