summaryrefslogtreecommitdiff
path: root/src/map/battle.cpp
AgeCommit message (Collapse)AuthorFilesLines
2015-01-23Use generated config for mapBen Longbons1-360/+13
2015-01-22Use Spanned<T> while parsing configBen Longbons1-36/+14
2015-01-22Remove unsupportable config settingsBen Longbons1-8/+0
2015-01-03Switch MATCH to separate begin/end macrosBen Longbons1-2/+6
The for loop trick turned out to be very prone to infinite loops at runtime. It's better to force compiler errors even if it's ugly.
2015-01-03Merge remote-tracking branch 'origin/hotfix'Ben Longbons1-2/+2
Conflicts: src/map/chrif.cpp
2015-01-03Document every network packet's pre, post, and descBen Longbons1-11/+0
With pretty pictures (not a submodule because large images). Part of this commit was originally made by Rawng.
2014-11-19Magically allow "break" within WITH_VARBen Longbons1-2/+2
2014-11-04Remove sc_countBen Longbons1-10/+0
It was a negligible performance gain during death, but a lot of bugs.
2014-10-26Fix header rankingBen Longbons1-1/+3
2014-10-13Convert container lookups to use Option<Borrowed<T>>Ben Longbons1-5/+15
2014-10-06Remove vestigial support for offhanded weaponsBen Longbons1-155/+17
2014-09-30Rename enum Option to Opt0Ben Longbons1-1/+1
2014-08-05Enums are not usually integers, sorryBen Longbons1-0/+1
2014-06-30Finally get around to decoupling the warning systemBen Longbons1-6/+6
2014-06-30It's about time I did thisBen Longbons1-10/+10
2014-06-26Stick everything in a namespaceBen Longbons1-0/+3
2014-06-26Low hanging fruitBen Longbons1-57/+57
2014-06-26specialize inventory/storage indicesBen Longbons1-11/+11
2014-05-20:%s/^\( *\)\([^ ].*\)\?\(LOG\|PRINTF\)[A-Z_]*(\(.*,\n\)\+\zs\(\1 [^ ↵Ben Longbons1-15/+15
]\)\@! */\1 /
2014-04-24Header cleanupBen Longbons1-2/+2
2014-04-22Use strict ID typesBen Longbons1-24/+24
Possibly some missing for the far side of the network. AccountId and BlockId are still terribly entangled.
2014-04-19Wouldn't it be nice to have some integers too?Ben Longbons1-2/+2
2014-04-14Ditch gcc 4.6 supportBen Longbons1-15/+12
2014-04-09Add all the missing copyright headersBen Longbons1-0/+21
2014-03-31Check the equip index arrayBen Longbons1-16/+17
2014-03-31Be stricter about most arraysBen Longbons1-22/+22
2014-03-16Clean up header organizationBen Longbons1-3/+6
2014-03-15Remove unused fields to shrink character structBen Longbons1-17/+0
2014-03-15Split out the keys from character data to have better paging performanceBen Longbons1-4/+4
2014-02-22Make mapflags bitmask instead of bitfieldBen Longbons1-2/+2
2014-02-08Implement AStringBen Longbons1-3/+3
2014-01-25Implement unified config parsing (mostly)Ben Longbons1-14/+32
2013-11-15Another step towards proper header orderingBen Longbons1-1/+1
2013-11-15Use new IO classesBen Longbons1-5/+4
2013-10-12Disallow unchecked being castsBen Longbons1-107/+107
Despite the fact that that's what the code always did, it was sometimes wrong.
2013-10-05Remove owning slicesBen Longbons1-4/+2
They were hardly ever used, hid errors, and were obsoleted by baseful x'es.
2013-10-05Split string header into piecesBen Longbons1-0/+5
2013-09-09Use IP4 classes and rename conf variablesBen Longbons1-142/+20
2013-08-01Poison std::string and use the various string classesBen Longbons1-167/+171
2013-06-26Hopefully don't crashBen Longbons1-2/+0
2013-06-18Also poison memcpy, memmove, and memsetBen Longbons1-6/+3
2013-06-11Allegedly remove all manual memory managementBen Longbons1-10/+9
2013-05-25Switch block_list and subclasses to dumb_ptrBen Longbons1-199/+199
Now we're well-defined, since we're actually calling ctors and dtors. Most of this code will not survive long ...
2013-05-23Make block_list a base classBen Longbons1-2/+2
2013-05-23Rename fields of block_list in preparation for subclassingBen Longbons1-143/+143
This is necessary because at least some of the subclasses overlap names.
2013-05-22RAII-ify some arrays of block_listBen Longbons1-3/+1
2013-04-27Enumize ItemLookBen Longbons1-8/+11
2013-02-12Replace mt_rand with <random>Ben Longbons1-213/+47
Also add some utility methods and classes.
2013-02-12Strictify timersBen Longbons1-231/+112
2013-02-07Remove some macrosBen Longbons1-231/+235