summaryrefslogtreecommitdiff
path: root/src/map/npc.cpp
AgeCommit message (Collapse)AuthorFilesLines
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.
2012-12-12Remove guilds, finallyBen Longbons1-12/+0
If anyone in the future wonders why I did this, just look at how many lines of code this eliminates.
2012-12-05Change some unused int returns to voidBen Longbons1-7/+6
Also clean up a little formatting in script.cpp This is what passes for "minimally invasive" in tmwa ...
2012-09-03Fix compiler errors of C++ conversionBen Longbons1-19/+41
2012-08-30Rename files for C++ conversion. Does not compile.Ben Longbons1-0/+2378
After updating, you can remove these files, as shown in 'git status': Untracked files: (use "git add <file>..." to include in what will be committed) src/map/magic-interpreter-lexer.c src/map/magic-interpreter-parser.c src/map/magic-interpreter-parser.h