summaryrefslogtreecommitdiff
path: root/src/map/mob.cpp
AgeCommit message (Collapse)AuthorFilesLines
2015-04-19Dynamic Xp percentage command @expratewushin1-24/+26
2015-01-23Use generated config for mapBen Longbons1-11/+14
2015-01-22Have I mentioned that I hate ADL?Ben Longbons1-4/+4
2015-01-03Switch MATCH to separate begin/end macrosBen Longbons1-1/+2
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.
2014-11-19Magically allow "break" within WITH_VARBen Longbons1-1/+1
2014-11-04Remove sc_countBen Longbons1-1/+0
It was a negligible performance gain during death, but a lot of bugs.
2014-10-26Fix header rankingBen Longbons1-2/+2
2014-10-13Convert container lookups to use Option<Borrowed<T>>Ben Longbons1-29/+27
2014-10-05Stupid bug in mob summonsBen Longbons1-1/+1
2014-09-30Rename enum Option to Opt0Ben Longbons1-2/+2
2014-08-05Enums are not usually integers, sorryBen Longbons1-6/+8
2014-07-16Revert bounds checks and go back to signed integersBen Longbons1-3/+0
2014-06-30Invulnerability should not be the defaultBen Longbons1-0/+7
2014-06-30It's about time I did thisBen Longbons1-18/+18
2014-06-26Stick everything in a namespaceBen Longbons1-0/+4
2014-06-26Low hanging fruitBen Longbons1-86/+86
2014-06-26specialize inventory/storage indicesBen Longbons1-2/+2
2014-06-24No one is .neutral() here (except IPv4 addresses)Ben Longbons1-3/+3
2014-05-27Generate the char server protocolBen Longbons1-4/+4
2014-05-20:%s/^\( *\)\([^ ].*\)\?\(LOG\|PRINTF\)[A-Z_]*(\(.*,\n\)\+\zs\(\1 [^ ↵Ben Longbons1-6/+6
]\)\@! */\1 /
2014-05-12Split net/ from mmo/Ben Longbons1-2/+3
2014-04-24Header cleanupBen Longbons1-2/+1
2014-04-22Use strict ID typesBen Longbons1-228/+234
Possibly some missing for the far side of the network. AccountId and BlockId are still terribly entangled.
2014-04-14Ditch gcc 4.6 supportBen Longbons1-44/+38
2014-04-09Add all the missing copyright headersBen Longbons1-1/+21
2014-03-31Be stricter about most arraysBen Longbons1-15/+15
2014-03-16Clean up header organizationBen Longbons1-6/+9
2014-03-15Remove unused fields to shrink character structBen Longbons1-1/+0
2014-02-22Make mapflags bitmask instead of bitfieldBen Longbons1-3/+3
2014-02-08Implement AStringBen Longbons1-3/+3
2014-02-06Wrap remaining FDs in a classBen Longbons1-3/+4
2014-01-25Implement unified config parsing (mostly)Ben Longbons1-48/+21
2013-11-15Another step towards proper header orderingBen Longbons1-1/+1
2013-11-15Use new IO classesBen Longbons1-8/+8
2013-10-12Disallow unchecked being castsBen Longbons1-30/+30
Despite the fact that that's what the code always did, it was sometimes wrong.
2013-10-10Enumify sexBen Longbons1-6/+0
It's amazing some of this code ever worked ...
2013-10-05Split string header into piecesBen Longbons1-0/+3
2013-09-30Fix bug in drop order assignmentBen Longbons1-3/+21
Originally, there was a bug that incorrectly assigned second and third. But when I fixed that I introduced this bug that incorrectly assigned all.
2013-09-29Fix bug where all monsters had neutral elementBen Longbons1-1/+1
2013-09-09Use IP4 classes and rename conf variablesBen Longbons1-6/+6
2013-08-28Fix bug with mapnames being falsyBen Longbons1-1/+1
Fixes #7
2013-08-07Fix a refactoring bug in mob_db parsing, give better errorsBen Longbons1-3/+6
2013-08-01Poison std::string and use the various string classesBen Longbons1-166/+213
2013-06-23add new stuff stuff (with tests!), poison memcmp and strncpyBen Longbons1-3/+0
2013-06-18Also poison memcpy, memmove, and memsetBen Longbons1-178/+145
2013-06-11Allegedly remove all manual memory managementBen Longbons1-189/+153
2013-05-25Switch block_list and subclasses to dumb_ptrBen Longbons1-140/+139
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-240/+240
2013-05-23Rename fields of block_list in preparation for subclassingBen Longbons1-230/+230
This is necessary because at least some of the subclasses overlap names.
2013-05-22RAII-ify some arrays of block_listBen Longbons1-7/+4