Commit graph

100 commits

Author SHA1 Message Date
turleypol
7c77157d2e fixed smooth boat pkt (7.x clients) 2020-09-08 18:45:19 +02:00
turleypol
a81ddaf816 MultiDef min/max Vec3d 2020-05-31 19:11:42 +02:00
turleypol
fa8c47005b BoatShape Vec3d usage 2020-05-31 15:44:56 +02:00
turleypol
4edcd7fd31 MULTI_ELEM contains now Vec3d 2020-05-31 14:01:05 +02:00
Fernando Rozenblit
3bd040412f constexpr is not necessary here and causes compilation errors in VS 2017 2020-05-30 16:39:16 +02:00
turleypol
9040333c5e minimal solution for compilation of multis 2020-04-18 11:57:19 +02:00
Fernando Rozenblit
483cfe08fa Boats compile again (+ some cleanup of their code) 2020-04-13 21:43:44 +02:00
Fernando Rozenblit
ecb345d265 Partial fixes for boats. At least the absolute movement to x,y,z,Realm should be compiling. Only turns and relative movements left! 2020-04-12 00:17:30 +02:00
Fernando Rozenblit
c2178a34dc Changed UFACING namespace 2020-04-10 14:19:56 +02:00
turleypol
e63f1cd7b1 added getRealmParam, getPos4dParam, getPosXdParam error on invalid
coordinates for optionally given realm
boat::move_xy needs old/new pos
2020-04-10 12:01:01 +02:00
turleypol
cb98dedd17 added GetParam for Pos2d, Pos3d 2020-04-10 10:28:27 +02:00
turleypol
1e44fba92d shorter method names for Pos/Vec classes, fixed errors 2020-03-29 15:34:31 +02:00
turleypol
f64c1445e4 disallow +- between positions, - returns Vec2d 2020-03-29 13:31:53 +02:00
turleypol
da91c1eee9 +/- operations between Vec2d and the other Pos classes
baby step changed first spots
2020-03-29 11:37:00 +02:00
turleypol
9cfb4ec5a5 moved pkt headers into network folder 2018-12-30 21:35:54 +01:00
turleypol
25dae4fc21 fixed namespaces of moved files 2018-12-22 00:32:47 +01:00
turleypol
e1b14dcd00 moved polfile/uofile files into plib to cleanup atleast a bit the
compile dependencies
2018-12-21 20:27:05 +01:00
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
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
099c81d572 Fixed some variable names hiding class members 2016-08-28 15:38:35 +02:00
frozenblit
b933d4e326 Fixed crashes after removing boat components 2016-03-24 20:06:38 +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
Gabriele Tozzi
b2342339bf Doxygen fixes 2016-01-29 20:27:21 +01:00
Gabriele Tozzi
d1ac902926 Documentation: reformatted headers for DoxyGen 2016-01-28 14:52:40 +01:00
Gabriele Tozzi
4a02fa110d Fix: usage of assert() in my previous commits due to inexperience
Also fixed a rval issue in recently modified house components code.
2016-01-21 18:43:45 +01:00
Gabriele Tozzi
a5efaa4fa6 Merge branch 'master' of https://github.com/polserver/polserver into cmake 2015-12-05 09:41:51 +01:00
frozenblit
b3b9bb1fb6 Removing dependence on useless includes.
Preparing to reorganize the uofile code by removing useless includes
from the rest ;)
2015-12-04 00:50:14 +01:00
Gabriele Tozzi
24eee9ecf4 Merge branch 'master' of https://github.com/polserver/polserver into cmake
Conflicts solved, still need to test and review it before merging into master.
2015-11-27 06:26:46 +01:00
turley
dfd65e30cd Moved plib realm to pol 2015-09-18 19:11:46 +02:00
Gabriele Tozzi
b69cb9032a Fixed: Bug in loading POL098 and older data files
Boats were rotated leaving dynamic elements like plank and
tillerman on the old position.
2015-09-12 18:49:05 +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
65fe073971 Gotten by pointer for items and chars made optional 2015-05-16 11:09:26 +02:00
frozenblit
a4c91921ce Avoid crashing if someone moves a boat component away 2015-03-15 12:43:51 +01:00
turley
7a531357fe Updated Memoryusage profiler 2015-01-19 18:18:21 +01:00
turley
33df133d98 Removed old realm sizes before someone uses them.
Separated WorldIterator declaration and definition
2015-01-02 20:21:53 +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
frozenblit
4a99af3932 Fixed client crash when sending boat packet
New pre-HSA (7.0.0.0 - 7.0.9.0) clients were crashing because of a wrong
packet size.
2014-12-09 08:51:56 +01:00
turley
122f8fd25f Cleanup of Remove Object pkt
Added override and final makro
2014-11-22 12:28:15 +01:00
turley
dd4d4c0f9a Added new WorldIteratorFilter for active client only players
Fixed warning during pkt write of sound effects.
2014-11-21 21:28:09 +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
c4cb100279 Some more stl_inc.h cleanups 2014-11-01 19:16:13 +01:00
turley
845a54251d Removed some duplicate error strings, fixed some warnings. 2014-10-31 18:15:56 +01:00
turley
e0b722a93b fixed several uninitialized variables 2014-08-30 12:25:08 +02: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