summaryrefslogtreecommitdiff
path: root/src/map/mob.cpp
AgeCommit message (Collapse)AuthorFilesLines
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
2013-05-18Tweak a little memory management in char-serverBen Longbons1-9/+7
2013-05-14Add SHAREXP distinction, create UNKNOWNXP defaultFreeyorp1-1/+2
Previously, KILLXP was being set as the catchall, which caused false positives for XP sharing. Update documentation accordingly. log version incremented to 4.
2013-04-27Force timers to be managedBen Longbons1-49/+41
2013-04-06Figure out what that code was supposed to doBen Longbons1-10/+5
I talked with the eathena people about this. It was probably never executed anyway - it indicates mob_db errors.
2013-02-23Replace struct dbt with typesafe std::map wrappersBen Longbons1-8/+6
Also fix broken save/accreg.txt reading.
2013-02-20Strictify map cellsBen Longbons1-17/+20
Also fix a small but major bug in map_randfreecell.
2013-02-12Replace mt_rand with <random>Ben Longbons1-429/+127
Also add some utility methods and classes.
2013-02-12Strictify timersBen Longbons1-233/+210
2013-02-07Remove some macrosBen Longbons1-225/+227
2013-02-07Remove some more Skill-related stuffBen Longbons1-409/+92