Code

History

Commits on master to hack9.c35+
  1. add libbt context parametersmischief committed 8 years ago4467a98
  2. split behavior tree structure and statemischief committed 9 years ago1552b7e
  3. rearrange some level gen codemischief committed 9 years agodcb054e
  4. fix usage and add seed settingmischief committed 9 years agob2070de
  5. convert ai from old state machine to new behavior treesmischief committed 9 years agoef328b7
  6. implement wishing, fix buffer sizesmischief committed 9 years ago11c46d0
  7. set seed to 0 on debugmischief committed 9 years agof29cbe9
  8. fix paths data files are loaded frommischief committed 11 years ago225fd4e
  9. implement lists of items, and ability to spawn certain monsters with certain items according to a given probabilitymischief committed 11 years agob90525f
  10. implement items, weapon, armormischief committed 11 years ago348199a
  11. clean up and move level generation to levelgen.cmischief committed 11 years ago7cf66ce
  12. fix db open goofmischief committed 11 years ago3674a47
  13. convert monstdata array to ndb file, make monsters by name. make some types more consistentmischief committed 11 years ago4bbc7bc
  14. implement xp. gain maxhp when you get a level. various cleanup.mischief committed 11 years agocca5e33
  15. fix ref count for player on revivemischief committed 11 years ago0ca63d0
  16. player needs another ref, so that we dont get deleted when we diemischief committed 11 years ago487c993
  17. hopefully fix aimischief committed 11 years ago7481151
  18. dont embed ref so gcc/clang work under plan9port.mischief committed 11 years ago3a44e7b
  19. remove const nonsensemischief committed 11 years ago04330a0
  20. add spawns for levelsmischief committed 11 years ago89bd42a
  21. move ui code into ui.cmischief committed 11 years ago068d80d
  22. use priq instead of qsort for move ordermischief committed 11 years agoafe1f35
  23. make hp double, gain 1% hp per movemischief committed 11 years ago2818e60
  24. 'realtime' mode with A keymischief committed 11 years agocfbe089
  25. make gcc shut up about unnamed parametersmischief committed 11 years agob0d5f29
  26. use const in monsort to make glibc qsort happymischief committed 11 years agoa6d24c9
  27. implement movement speed; monster move priority sorts by move points; put player ui input inside monster loopmischief committed 11 years ago1683db7
  28. massively improved attack ai. so much improved, i had to slow all monsters down by 1/2 player speed to make it fair again.mischief committed 11 years agoef2c3c3
  29. fix cols boundsmischief committed 11 years ago8bc1171
  30. add usagemischief committed 11 years agof91da35
  31. slightly better pathfinding; kill counter; resizeable log in ui; special level in debug mode; beginnings of "special" attackmischief committed 11 years ago3c5f675
  32. only redraw ui on log updatemischief committed 11 years agod99f223
  33. better roll, miss, add crit, better map generation, portalsmischief committed 11 years ago878e3c2
  34. hooray! aimischief committed 11 years ago9b260ba
  35. simple ai state machine with idle wander routinemischief committed 11 years ago5620815