summaryrefslogtreecommitdiff
path: root/src/map/npc.cpp
AgeCommit message (Collapse)AuthorFilesLines
2014-03-31Be stricter about most arraysBen Longbons1-9/+9
2014-03-25Add deprecation warnings for script syntax changesBen Longbons1-2/+2
2014-03-25Mapflag to override savepoint (ported from wushin)Ben Longbons1-0/+9
2014-03-24Implement new magic frontend using sexprBen Longbons1-1/+1
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-2/+2
2014-02-13Name and number mapflags betterBen Longbons1-91/+13
2014-02-08Implement AStringBen Longbons1-12/+12
2014-01-25Implement unified config parsing (mostly)Ben Longbons1-8/+11
2013-11-15Another step towards proper header orderingBen Longbons1-1/+1
2013-11-15Use new IO classesBen Longbons1-20/+15
2013-10-12Disallow unchecked being castsBen Longbons1-24/+24
Despite the fact that that's what the code always did, it was sometimes wrong.
2013-10-05Split string header into piecesBen Longbons1-3/+8
2013-10-02Remove asserts in npc_checknearv13.10.2Ben Longbons1-2/+5
Somebody is calling this with an invalid ID somewhere. I really need to get the pointer-hoisting done ...
2013-09-29Silence a warning for temporary NPCsBen Longbons1-0/+2
2013-08-20Add some braces to appease certain gcc versionsBen Longbons1-4/+4
2013-08-20Refactor npc event timers to have an expired stateBen Longbons1-52/+67
This is needed for setnpctimer 0; to work in the ultimate OnTimer#: label.
2013-08-19Make some npc errors betterBen Longbons1-10/+47
2013-08-01Poison std::string and use the various string classesBen Longbons1-310/+261
2013-06-27Make callfunc/callsub in an if an errorBen Longbons1-0/+6
Also make all errors fatal and clean up messages a bit.
2013-06-25Fix bugsBen Longbons1-2/+2
2013-06-23add new stuff stuff (with tests!), poison memcmp and strncpyBen Longbons1-6/+3
2013-06-18Also poison memcpy, memmove, and memsetBen Longbons1-46/+30
2013-06-11Allegedly remove all manual memory managementBen Longbons1-375/+236
2013-05-25Switch block_list and subclasses to dumb_ptrBen Longbons1-199/+189
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-82/+82
2013-05-23Rename fields of block_list in preparation for subclassingBen Longbons1-82/+82
This is necessary because at least some of the subclasses overlap names.
2013-05-18Tweak a little memory management in char-serverBen Longbons1-2/+1
2013-04-27Enumize ItemLookBen Longbons1-0/+1
2013-04-27Force timers to be managedBen Longbons1-15/+13
2013-04-11Also implement x32 supportBen Longbons1-10/+9
2013-02-23Replace struct dbt with typesafe std::map wrappersBen Longbons1-83/+41
Also fix broken save/accreg.txt reading.
2013-02-20Strictify map cellsBen Longbons1-8/+14
Also fix a small but major bug in map_randfreecell.
2013-02-12Replace mt_rand with <random>Ben Longbons1-35/+0
Also add some utility methods and classes.
2013-02-12Strictify timersBen Longbons1-131/+41
2013-02-07Remove some macrosBen Longbons1-36/+36
2013-02-07Remove some more Skill-related stuffBen Longbons1-24/+24
2013-02-01Remove unnecessary includes, speeding up recompilationBen Longbons1-5/+1
2013-01-19Remove hard-coded mob stuff, make mode enumBen Longbons1-2/+2
2013-01-17Clean up some things after declassizationBen Longbons1-2/+4
2013-01-17Remove all non-NPC skillsBen Longbons1-54/+4
2013-01-09Make incoming packets read-onlyBen Longbons1-4/+6
2013-01-08Improve warning management moreBen Longbons1-1/+1
2013-01-07Use cxxstdioBen Longbons1-47/+45
2012-12-24Enumify some more things ... maybe even everythingBen Longbons1-2/+4
2012-12-24Purge some unused functionsBen Longbons1-52/+9
2012-12-24Enumify option, opt1, opt2, and opt3Ben Longbons1-14/+14
2012-12-24Cleanup headers and remove all uses of va_list except loggingBen Longbons1-220/+62
2012-12-14Some formatting fixes before I go insaneBen Longbons1-599/+599
Also delete the French translation from ladmin.