turleypol
983c6a3c73
first round for scripted object class methods
2018-10-13 00:03:40 +02:00
esdete
dc2d29b433
NULL to nullptr
2018-07-31 14:30:29 +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
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
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
79dff37246
Splitted gamestate external.
2015-01-02 14:46:44 +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
b2572d69f7
fixed size estimation. MoveObjectToLocation on a boat now unregisteres the boat first thus small changes are also possible.
2014-07-05 09:40:15 +00:00
turley
331792c755
added more memoryusage estimation
2014-06-07 09:00:37 +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
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
frozenblit
eca7477429
Fixed duplicated items being saved. Changed the wrapper to call its own class, avoiding confusion because of the virtuals.
2013-09-22 19:58:22 +00:00
frozenblit
d7b7deabf7
Changed a few serializations to use the new format library. Things should still be working, but be REALLY careful with the save files until we have more tests!!
2013-09-21 21:06:30 +00:00
turley
49b6d30aaa
Some code cleanups
...
fixed possible crash with speech tokens
2012-09-28 16:58:05 +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
frozenblit
c4996d3441
Fixed: spellnumber wasn't being checked, and could end up larger than 64.
2011-12-30 23:57:09 +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
dsourc
12ff9a8582
polcfg.max_objtype changes and more objtype changes again
2011-12-01 16:36:08 +00:00
dsourc
0ad8656881
Fixed: Old style spellbooks
2011-11-30 18:27:44 +00:00
dsourc
5209aacdbd
Added: Support for Mysticism and BardMasteries spell books
...
Mysticism Spell ID's 678 -> 693 and BardMasteries spell ID's 701+
2011-11-24 21:55:51 +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
88c18237bd
some pkt fixes + several debugtests (will be removed later)
2010-04-24 07:35:19 +00:00
turley
4b4f25d334
0xbf subs
2010-04-13 15:15:44 +00:00
turley
93b37c5862
pkt 0xA9,0xAA
...
some fixes
added PolCore().pkt_status array of structs{pkt,sub,count} (currently a bit senseless due to critical pkt handling)
2010-04-09 14:00:47 +00:00
turley
c69a519a85
Work in Process:
...
central pkt class with char buffer instead of structs (pkt 0x0b - 0x55 done)
get rid of critical handling during pkt receive
2010-04-03 11:32:12 +00:00
turley
e10cd27cea
sync: shini - long to int (prerequisit for 64-bit)
2010-03-29 14:52:03 +00:00
turley
4bf7f8f3e1
Added spellbook.addspell() & .removespell() methods
2009-10-10 08:26:56 +00:00
turley
ee1efa4757
spellschool fixes
2009-10-09 10:36:30 +00:00
turley
b2bb1c096b
Fixed DestroyItem call in CanInsertScript
...
vartype cleanup
misc cleanup
misc optimizations
2009-10-07 07:41:56 +00:00
muaddib_pol
404c276b15
+ Spellbooks now destroy scrolls that are inserted, after adding it to the Spellbits
2009-10-05 15:42:55 +00:00
muaddib_pol
39ee8439c7
+ Updated to-do and notes.
2009-09-18 20:38:36 +00:00
muaddib_pol
8072a64203
+ Spellbooks no longer rely on scroll contents to work. Work 100% off bitflags for each circle.
2009-09-18 15:59:00 +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
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
d032ee448f
+ POL is now, open source.
2009-09-03 19:44:42 +00:00