* 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)
...
* origin/master: (84 commits)
store skillid in the attributes if available
added docs for checkskill change
use the correct id as skillid
CheckSkill() accepts now also attribute name instead of skillid
Move StoredToken to its own cpp/h
Items can now be created with an assigned quality from an itemdescriptor (#161)
*** OG Compiler: decouple web script preprocessing from FileContents
fix optimizer bug: can stop optimizing prematurely if pre- or post-decrement operators are present
Fix a bug in the legacy compiler .ecl output
Move compiler to Legacy namespace
Allow discord notification to fail and still have a successful build. It will otherwise always fail on forks, because it needs a github secret.
Ensure textentry_uoemod is not overwritten
fixed potential out of bound read
escript_grammar.cmake from Turley
generated lib/EscriptGrammar from grammar
EscriptGrammar from escript-antlr repo commit ef133e3a3a3184936e93493c863b7b995cdf4737 (#162)
Incorporate ANTLR into the cmake build.
Fix luck mod being assigned to luck from itemdesc files Fixed swing speed increase being printed twice when saving items. Fixed spelling mistake in docs.
Style fix
- Fix up docs. - Change modifier calculation to correctly use double. - Change rounding calculation as per Turley's suggestion.
...
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!
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
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...
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!)
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
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