Commit graph

31 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
turleypol
fe301c82ea
Misc test preparation improvements and fixes (#196)
* uodir parameter for uoconvert tiles/landtiles/multis
limit decay sleeptime to 500ms
exit_code cannot be "fixed" with a later call
2020-08-09 15:10:52 +02:00
turleypol
abb4b49f38 less confusing member names for Area2d. Fixed decay atleast to a
minimum.
2020-04-18 23:25:06 +02:00
turleypol
532d6d06ca made realm::zone private and change layout to be cache friendly for
iteration
2020-04-17 19:17:05 +02:00
turleypol
b97e098e94 updated LosObj, this class should be removed, fixed decay 2020-04-05 11:33:38 +02:00
Fernando Rozenblit
6ae7095a9f Added supporting_multi() to UObject. Fixed a lot of code. Still too much to go. 2020-04-05 00:05:04 +02:00
turleypol
d2034347e7 removed more dead singlethread functions 2019-02-22 21:02:55 +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
turley
3151d3ba69 minor integer handling issues fixed 2016-12-09 20:12:12 +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
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
turley
dfd65e30cd Moved plib realm to pol 2015-09-18 19:11:46 +02:00
turley
28456ccaba new experimental setting pol.cfg SingleThreadDecay 1/0 (default 0)
new experimental setting pol.cfg ThreadDecayStatistics 1/0 (default 0)
SingleThreadDecay only spawns one thread for decay instead of one thread per realm (reduces thread switches)
ThreadDecayStatistics only works with active SingleThreadDecay log statistics about the decay cycles. Need to collect live data before starting the next step of optimizing decay.
2015-02-02 19:41:40 +01:00
turley
34de10d10c small interface cleanup of the realm class 2015-01-09 19:26:17 +01:00
turley
2104744458 Decay only in one thread instead of one thread per realm. (first experiment not activated by default) 2015-01-03 13:28:54 +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
a704a90208 Another round of stl_inc.h cleanups 2014-11-01 22:27:42 +01: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
10f6277683 msg_queue: new method to move the msg directly into the queue
streamsaver: changed the writer to unique_ptr and move directly into queue
clienttransmit: move transmitdata directly into the queue
itemdesc: removed several external maps, added save_on_exit member
items: added pointer to itemdesc and use it directly
2013-10-12 15:06:43 +00:00
turley
4e7e400254 64bit compilation.. 2011-12-23 13:28:38 +00:00
turley
007adac27e sync: shini: more 64bit stuff 2010-04-11 16:55:51 +00:00
turley
e10cd27cea sync: shini - long to int (prerequisit for 64-bit) 2010-03-29 14:52:03 +00:00
turley
15c2b312ae added CanDie SysHook 2009-11-26 08:30:42 +00:00
muaddib_pol
bc4448ed9a + SysHook::CanDecay(item) - Patch by Tomi 2009-10-03 21:55: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
d032ee448f + POL is now, open source. 2009-09-03 19:44:42 +00:00