Commit graph

170 commits

Author SHA1 Message Date
turleypol
6a2bd7c705 Merge remote-tracking branch 'origin/master' into vector_classes
* origin/master: (93 commits)
  Add support for dictionary creation (#277)
  Add do-while statement (#276)
  Add foreach loops (#275)
  New compiler: array initialization (#274)
  Disambiguator: figure out if label is a case statement dispatch selector, or should apply to a statement within the case dispatch group's block. (#273)
  New compiler: Add support for case statements (#272)
  Change "logical" to "bitwise". (#258)
  Fix divide-by-zero errors, and mask FormatError if it were thrown in a destructor. (#271)
  Add break and continue statements. (#270)
  New compiler: assignment to local and global variables. (#269)
  Add support for while loops (#268)
  Optimize if statements, and emit module functions in legacy order (#267)
  Optimizations: binary operators (#266)
  Add binary operators (#265)
  Add support for const declarations (#264)
  Handle default parameter values, pass-by-name, and return statements in functions. (#263)
  Add limited support for user functions (#262)
  New compiler: add return and exit statements (#261)
  Add support for if-then-else statements (#259)
  OG compiler: set module to Mod_Basic when a token is an identifier (#257)
  ...
2020-09-06 20:14:26 +02:00
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
Kevin Eady
5bbc53ab6c
Add exit_code to uo::Shutdown() (#176)
* Add exit_code to uo::Shutdown()

Co-authored-by: Eric Swanson <eric.the.unicorn@gmail.com>
2020-08-03 20:30:27 +02:00
turleypol
ef21af3e0c realm functions like walkheight now expect and return s8 for z level 2020-04-19 12:46:57 +02:00
turleypol
eab9710f98 fixed realms
moved getPosNdParam to uoexecutor
2020-04-13 15:45:19 +02:00
Fernando Rozenblit
1d256c6886 Removed one use of inet_ntoa, need to remove the rest later. There may be compatibility issues with older windows. 2019-03-08 00:12:47 +01:00
Fernando Rozenblit
073f5a8407 Reorganizing and cleaning up 2019-03-07 23:15:41 +01:00
Fernando Rozenblit
bc79dc046e Moved basic network files to clib 2019-03-04 21:41:27 +01:00
turleypol
c4b229938f removed useless header 2019-02-24 16:30:21 +01:00
turleypol
d2034347e7 removed more dead singlethread functions 2019-02-22 21:02:55 +01:00
Fernando Rozenblit
0c077678df Removed option "Multithread" from pol.cfg. POL for a long time has defaulted to using multiple threads. 2019-02-22 19:24:23 +01:00
Fernando Rozenblit
088cd594fc Removed "ListenPort" from pol.cfg 2019-02-22 18:57:56 +01:00
turleypol
b541f64c6f more network specific code moved 2018-12-30 21:58:07 +01:00
turleypol
9cfb4ec5a5 moved pkt headers into network folder 2018-12-30 21:35:54 +01:00
turleypol
0d4cca785d cleanup of compilerspecifics, ancient compilers arent supported.
ran tidy to use bools instead of ints
2018-11-03 13:14:53 +01:00
turleypol
4f40aa7997 removed Clib::decint and used Clib::tostring, changed Clib::hexint to
template function for all integers
2018-10-28 09:31:58 +01:00
turleypol
1f53191218 fixed critical bug in the internal clock system which prevents uptimes greater 20 days without
undefined behaviour.
Changed ReadMilliSecondClock() to return a double.
2018-10-22 20:29:55 +02:00
esdete
dc2d29b433 NULL to nullptr 2018-07-31 14:30:29 +02:00
turleypol
c71c4965c8 git revision fetch is now part of the build process instead of
configure step
2018-06-18 10:27:01 +02:00
turleypol
ee59a46b70 try to make someone happy 2018-04-29 19:51:50 +02:00
turleypol
5c0c611617 Worldsave is now also changed to use task pool, thus completly removed
openmp dependency
2018-04-29 19:13:11 +02:00
Gabriele Tozzi
b72f725e02 Whitespace fixes 2018-04-03 04:13:03 +02:00
Gabriele Tozzi
25bbcc8f01 Updating copyright message 2018-04-02 20:19:07 +02:00
Gabriele Tozzi
94cd6c4f60 Merge branch 'master' of https://github.com/polserver/polserver
Finally starting to align code base :)

Conflicts:
	cmake/env/pol_global_config.h.in
	docs/docs.polserver.com/pol100/corechanges.xml
	pol-core/clib/Debugging/ExceptionParser.cpp
	pol-core/clib/pol_global_config_win.h
	pol-core/clib/strexcpt.cpp
	pol-core/doc/core-changes.txt
	pol-core/pol/module/filemod.cpp
	pol-core/pol/module/uomod2.cpp
	pol-core/pol/pol.cpp
	pol-core/pol/uimport.cpp
2018-04-02 17:05:50 +02:00
turleypol
1a776e7711 fixed debug build linux, changed appveyor to build debug, to see whats
missing on windows
2018-02-04 13:18:30 +01: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
1da37b2523 Fixed program args parsing of runecl
Reenabled and fixed testmode for pol
2016-12-14 17:05:34 +01:00
turley
a983d25e4e removed bool members and replaced them with flags.
Further decrease memory foodprint.
2016-12-07 23:34:16 +01:00
frozenblit
fd411f7c18 Added new option "ThreadStacktracesWhenStuck" to pol.cfg 2016-03-27 15:36:18 +02:00
frozenblit
510dc3b633 Getting ready to remove singlethreaded POL
Singlethreading is now deprecated (should have been for a long time now)
and will be removed in the next version of POL.
2016-03-02 23:31:48 +01:00
Gabriele Tozzi
dcd1991bdd Merging POL_BUILD_DATE and POL_BUILD_TIME
Together into POL_BUILD_DATETIME.
Breaks bakcward compatibility on a minor feature, nobody should notice.
Updated the changelog anyway.
2016-02-23 23:40:17 +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
d1ac902926 Documentation: reformatted headers for DoxyGen 2016-01-28 14:52:40 +01:00
Gabriele Tozzi
dd9985322d Happy New Year :) 2016-01-20 22:28:41 +01:00
Gabriele Tozzi
b5c6e6cf55 Revert "Fixed: theoretical fix on boost::flyweight initialization"
This reverts commit 7472222151.
2015-12-27 11:32:09 +01:00
Gabriele Tozzi
7472222151 Fixed: theoretical fix on boost::flyweight initialization
No practical effects observed, but this should be the correct way
2015-12-26 11:08:36 +01:00
Gabriele Tozzi
9bb3e16345 Merge branch 'master' of https://github.com/polserver/polserver
Conflicts:
- pol-core/bin-build/build_linux.sh
2015-12-18 23:45:59 +01:00
Thomas Volkert
691715dac1 Improved release signature 2015-12-17 14:28:30 +01:00
Gabriele Tozzi
a5efaa4fa6 Merge branch 'master' of https://github.com/polserver/polserver into cmake 2015-12-05 09:41:51 +01:00
Gabriele Tozzi
7593188ff7 Merge branch 'master' into cmake 2015-12-05 09:17:28 +01:00
Gabriele Tozzi
05b2a3a6bc Buff Bar Support
The buff status is held in a new buffs_ property of Character. It is
modified via Character.addBuff(), Character.delBuff(),
Character.clearBuffs() functions. (Maybe also a readBuffs() function
could be useful in future?). Packets are automatically sent when on
a "when needed" basis.
2015-12-05 09:06:40 +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
Thomas Volkert
483fcc7071 Avoid compiler confusion (caused by file name pollution) 2015-11-15 19:52:18 +01:00
Thomas Volkert
a3dfbc5bd9 Reworked code structure as preparation for Windows support 2015-11-10 23:47:36 +01:00
Thomas Volkert
98bac9485c Removed polver.cpp/.h and use POL_BUILD_TARGET instead 2015-11-06 20:21:32 +01:00
Thomas Volkert
70eaa3d5cc Removed deprecated progver.cpp/.h 2015-11-06 18:37:45 +01:00
Thomas Volkert
626aae0e10 Introduced POL_BUILD_DATE and POL_BUILD_TIME 2015-11-06 17:36:07 +01:00
Thomas Volkert
bc1bcaa539 Removed global variable "progverstr" 2015-11-06 17:16:34 +01:00