turleypol
9eef9e9c29
removed pol_distance, removed setposition in character for equipped
...
items. left securecont to lazy to check how its used.
2020-04-05 21:17:38 +02:00
Kevin Eady
b0747f5b93
add Guild::get_members()
2020-03-22 20:13:21 +01:00
Kevin Eady
7b6e02af8b
remove unnecessary special handling of leader
2020-03-19 12:40:09 +01:00
Kevin Eady
9b1b7b8563
add Party::get_members()
2020-03-19 12:14:17 +01:00
turleypol
8b085e86ef
dont assume a tainted string by default
...
cfgfiles (which includes savefiles, datafiles) get sanizized on read,
filemod::readfile, xml module, sql handled
old ascii speech packets handled
2019-01-12 17:14:05 +01:00
turleypol
04066c309d
moved unicode sanitize functions to clib as a preparation to sanitize
...
only once
renamed mklower/mkupper to make it clear that it should only be used
for pure ascii texts
compiler triggers only once a warning about invalid unicode file
2019-01-12 11:46:30 +01:00
turleypol
d0b74d6da6
added first docs, cleanup of first todos
2019-01-03 18:58:13 +01:00
turleypol
3257cda6ab
cleanup of cliloc unicode functions
2019-01-03 17:21:55 +01:00
turleypol
ac792d4c66
cleanup of party unicode code
2019-01-03 13:09:50 +01:00
turleypol
cc27bb611f
removed last usage of convertUCtoArray
2019-01-03 11:00:46 +01:00
turleypol
67030da9e3
get rid of convertUCtoArray in packet scriptobject and party, they
...
return/use now strings instead of old unicode array
2019-01-01 19:17:02 +01:00
turleypol
ab89708107
completly converted all uses of convertArrayToUC, so all
...
functions/methods now accept arrays and strings
2018-12-31 16:25:34 +01:00
turleypol
9cfb4ec5a5
moved pkt headers into network folder
2018-12-30 21:35:54 +01:00
esdete
b9a31d3560
clang formatting
2018-07-31 16:16:19 +02:00
esdete
dc2d29b433
NULL to nullptr
2018-07-31 14:30:29 +02:00
turleypol
6107184258
only one global config include exists now
2018-06-17 18:31:55 +02:00
Gabriele Tozzi
b72f725e02
Whitespace fixes
2018-04-03 04:13:03 +02:00
turleypol
dbb25bdb62
Include and buildsystem cleanup ( #45 )
...
Include cleanup
Reworked buildsystem (Linux only)
Removed dynamic libs, Linux now again uses static linking (like windows)
2018-01-29 21:55:48 +01:00
turleypol
798eda5b63
Cleanup of header includes.
2018-01-01 21:52:14 +01:00
turley
c855a27815
Added new baseclass for uobject
...
contains only minimum data and can be created with arbritary data.
This reduces memory overhead for each los-check.
Plus minor cleanup
2016-12-12 22:21:59 +01:00
turley
a983d25e4e
removed bool members and replaced them with flags.
...
Further decrease memory foodprint.
2016-12-07 23:34:16 +01:00
turley
a402b53df9
fixed stamina pkt of party members
2016-09-25 13:38:19 +02:00
turley
189cad3479
Formating everything
...
Authors are not forced to use the clang-format setting, but should
atleast be inspired by the style.
The only thing which is now not allowed are tabs for ident/alignment!
2016-02-19 19:26:35 +01:00
Gabriele Tozzi
53c2ba78c6
Added: CProp profiler, helps detecting unused CProps
...
It can be enabled by using the new pol.cfg option "ProfileCProps".
For better results, should be enabled before startup.
Impacts on performance very slightly, but consumes an average of
300 bytes of extra RAM for every CProp used.
New polsys.em function LogCPropProfile() can be called to dump
the profiling information into cpprofile.log.
2016-01-31 15:06:56 +01:00
Gabriele Tozzi
d1ac902926
Documentation: reformatted headers for DoxyGen
2016-01-28 14:52:40 +01:00
turley
6de0c7e1c0
added define to use boost regex (older gcc has bug in std version)
...
added define for the git revision and centralized others
2016-01-19 21:04:40 +01:00
turley
0d9d13bdb9
moved unicode from clib to pol
2015-09-19 10:55:48 +02:00
turley
dfd65e30cd
Moved plib realm to pol
2015-09-18 19:11:46 +02:00
Thomas Volkert
1dd2200c6b
Renamed endian.h to clib_endian.h to avoid redefinition problems in
...
system files and the general hiding of the endian.h from the system
2015-08-31 20:01:31 +02:00
turley
da3e2291d0
Equipment has a fixed member for quality
...
Moved the 3 pointers for parties and the guild pointer into the dynprops.
2015-05-16 10:30:34 +02:00
turley
7a531357fe
Updated Memoryusage profiler
2015-01-19 18:18:21 +01:00
turley
79dff37246
Splitted gamestate external.
2015-01-02 14:46:44 +01:00
turley
88ec380941
Moved globals into separate directory.
2014-12-30 15:20:59 +01:00
turley
2737393f2a
Tried to put all global vars into centralized structures.
...
Currently plib/systemstate, pol/uvars, pol/ucfg, pol/multi/multidef
Next step should be to split them based on usage, since its currently a bit of include hell...
2014-12-30 14:14:41 +01:00
turley
a08b5e4e4a
Packet writer improvement
...
parameter can now have different type, only allow integer and enums, same sign
added runtimecheck for max value
2014-11-14 17:54:41 +01:00
frozenblit
943b820eba
More and more cleanups
...
Added some missing include guards, corrected wrong include guard names.
Removed more stl_inc.h includes.
2014-11-02 19:40:40 +01:00
turley
e0b722a93b
fixed several uninitialized variables
2014-08-30 12:25:08 +02:00
turley
05c5b2d60b
removed old code
...
testing a threadpool
added chr.last_textcolor member which returns the clientside chatcolor
2014-06-01 09:59:12 +00:00
turley
fb873de803
decoupled headers to optimize a bit the build time
2014-05-03 09:06:19 +00:00
turley
31ee263a45
activated new logging facility
2014-01-18 13:29:38 +00:00
turley
4227fae36d
fixed logoff of party leader with enabled RemoveMemberOnLogoff
...
fixed namespaces and debug build
some code cleanup
2013-12-28 09:51:37 +00:00
turley
99d7dc3037
namespaces...finally :)
...
Hard part is finished every file is touched. Namespaces are currently rough named by directory name.
Maybe we could split it more
2013-12-21 09:10:46 +00:00
turley
7085a8470f
new StreamSaver class used for saving
2013-10-06 14:45:10 +00:00
turley
4c7f70fc79
first version of a generic message_queue (currently not lockfree, need to test more)
...
replaced old auto_ptr with unique_ptr
2013-09-13 18:07:19 +00:00
turley
fd30a1b750
some more codecleanup
2012-10-06 09:18:17 +00:00
turley
11ce4da294
changed pkt writer
...
generic definition, but gives linker error if unsupported type used, and compiler error if <..> is missing. Damn argument deduction
hopefully with this last pkt error in tooltips will never happen.
Chances that i broke a pkt .... high :P
2012-02-19 20:40:44 +00:00
turley
4e7e400254
64bit compilation..
2011-12-23 13:28:38 +00:00
turley
b35cbd463d
finished pkt refactoring
...
gave threads names under windows for better debugging
fixed memoryleak in ItemGivenEvent
2011-12-19 16:34:21 +00:00
turley
bb74c945d3
started to replace PacketOut...
2011-12-17 15:52:02 +00:00
turley
796d4992f9
finished refactoring of pkthelper
2011-12-17 12:05:57 +00:00