Fernando Rozenblit
c49f5b4abb
Reorganize regions and realms ( #228 )
...
* Moved realms.h and realms.cpp to realms/..
* Moved regions into their own folder
2020-08-17 22:29:07 +02:00
GIB
3be93a523f
Clangification as always!
2020-04-18 22:52:33 +08:00
GIB
d5b578c896
Added ShowWarningCursorSequence to pol.cfg to allow players to silence cursor out of sequence errors. - Requested by Tercio
2020-04-18 22:38:53 +08:00
turleypol
9cfb4ec5a5
moved pkt headers into network folder
2018-12-30 21:35:54 +01:00
esdete
dc2d29b433
NULL to nullptr
2018-07-31 14:30:29 +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
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
turley
ed7b16b233
normalized lineendings
2016-02-11 22:54:43 +01:00
Gabriele Tozzi
d1ac902926
Documentation: reformatted headers for DoxyGen
2016-01-28 14:52:40 +01: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
dc3c54d3f0
misc stuff:
...
explicit initialization of some members
fixed a define
target cursor ids are now send 1-based instead of 0-based
clean up refpointers in sellhandlers after use (and not before)
iostats changed to atomics
2015-03-15 13:39:34 +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
frozenblit
ed679dba3d
Moved message handling code into its own cpp
...
Created a new file (msghandl.cpp) and moved the code from pol.cpp there.
Moved related files to the "network" folder, where they belong. Fixed
include names... (we should make this relative to the project root!)
2014-10-01 21:10:32 +02:00
frozenblit
1acf93163b
Turns out that JusticeRegion::RunNoCombatCheck() is static and was being used as a non-static method the whole time. Cleaned the function up and added some checks for NULL client. Fixed where it was being used as non-static.
2014-06-11 19:32:03 +00:00
turley
31ee263a45
activated new logging facility
2014-01-18 13:29:38 +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
dsourc
460dae5b0e
Pol doesnt send "I am frozen" messages anymore when paralyzed, now it sends in all those cases "I am paralyzed" messages
2013-09-21 14:46:49 +00:00
dsourc
3b8c76edf5
Changed: UO::TargetMultiPlacement( character, objtype, flags := 0, xoffset := 0, yoffset := 0, hue := 0 );
...
New optional hue parameter to show hued multis which are supprted by clients >= 7.0.9 ( HSA )
Older clients ignores this option
2013-07-27 11:37:26 +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
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
796d4992f9
finished refactoring of pkthelper
2011-12-17 12:05:57 +00:00
turley
440e57bced
hsa mul support
...
changed objtype to max 0x20000
splitted pkt transmit
needs more testing
2011-06-14 15:20:00 +00:00
turley
823f18b0cc
Added: pol.cfg AccountDataSafe (default -1)
...
Values:
-1 : old behaviour, saves accounts.txt immediately after an account change
0 : saves only during worldsave (if needed)
>0 : saves every X seconds and during worldsave (if needed)
removed debugging stuff for pkts
2011-03-10 12:57:50 +00:00
turley
5398f728da
missed to commit some HSA packet changes
...
year 2011
2011-01-05 18:17:23 +00:00
turley
88c18237bd
some pkt fixes + several debugtests (will be removed later)
2010-04-24 07:35:19 +00:00
turley
602c881c46
pktbi 0x2c-0x9a
2010-04-16 12:54:31 +00:00
turley
e10cd27cea
sync: shini - long to int (prerequisit for 64-bit)
2010-03-29 14:52:03 +00:00
muaddib_pol
631ed68c4a
+ All projects now using literal paths for includes.
...
+ Disabled Compiler warning 4244 in VS for str.cpp and strutil.cpp due to fact they are false warnings there.
2009-09-12 23:51:20 +00:00
muaddib_pol
5740a51281
+ Partial Network and Item code moved
2009-09-08 01:42:26 +00:00
muaddib_pol
6a73041445
+ Network Code organized some. Baby steps, baby steps
2009-09-07 20:37:38 +00:00
muaddib_pol
49072c3c41
+ To-Do file updates
...
+ Beginning of Mobile and Module source file organization
+ Makefile.Gcc updates
2009-09-06 14:11:24 +00:00
muaddib_pol
d5e678bdd6
+ Organization updates.
...
* Account and Multi related pol-2008.vcproj organized.
2009-09-04 06:37:13 +00:00
muaddib_pol
d032ee448f
+ POL is now, open source.
2009-09-03 19:44:42 +00:00