Commits

Author Commit Message Labels Comments Date
Ilkka Halila
Made constructions check that all the required items for a product are avaiable _before_ spawning the job. This avoids goblins bringing in materials only to have to take them back when all of them aren't found, also avoids them spamming job cancelled messages.
Ilkka Halila
Made constructions block light properly, changed season's behaviour. Streamlined the job manager's method of giving out jobs.
Ilkka Halila
Removed .vcxproj.filters, not supposed to be in the repo.
Ilkka Halila
Added running/walking so that NPC's will only walk when guarding a spot etc. Made plant growth smarter. Added Camp class to handle Camp specifics.
Ilkka Halila
Decoupled moving from thinking
Ilkka Halila
Implemented proper MOVENEAR
Ilkka Halila
Enhanced nearby npc checking. Implemented monster escort behaviour. Closes issue 15
Ilkka Halila
Added squad modification. Closes issue 29
Ilkka Halila
Fixed Squad menu display and usage issue, fixed ESCORT behaviour.
Ilkka Halila
Finished basic squad functionality. Squads can be created, their member limits set and Guard & Escort orders work (sort of, still needs to be worked on).
Ilkka Halila
Added Squads menu, made squad creation possible.
Ilkka Halila
Continued Squad implemention, wip.
Ilkka Halila
Added Squad.cpp/.hpp, begun implementation.
Ilkka Halila
NPC's now hit back at attacker's even though they aren't aggressive themselves. Fixed bug that made dead npc's leave multiple corpses. Added more comments to code.
Ilkka Halila
Fixed bug causing npc's to not notice others south-east of them. Made corpses of dead creatures have their name.
Ilkka Halila
Implemented primitive combat and aggressive behaviour.
Ilkka Halila
Reduced sidebar size for constructions, left space for efficiency data. Closes issue 1.
Ilkka Halila
StatusEffects now display properly, and cooldowns work. Also the sidebar displays active effects on the chosen npc.
Ilkka Halila
Added *.dll to .hgignore
Ilkka Halila
Removed .dll files from repo
Ilkka Halila
Added StatusEffect class, begun implementing.
genericcontainer
Implemented the side bar, still needs work.
genericcontainer
Changed drawing functions to use topleft coordinate of the screen instead of the center, and to blit to a TCODConsole* given as a parameter
genericcontainer
Renamed GameMap -> Map Renamed GameEntity -> Entity
Generic Container
Added NPC::needsNutrition to signal if the npc feels hunger and thirst. Closes issue 47
Generic Container
Added a check when taking an item to see if the item still exists. Re-added line to actually create filth when an item decays, apparently it disappeared at some point.
Generic Container
Removed log file from repo, unnecessary.
Generic Container
Made creatures die properly, requires that an item named Corpse exists. Closes issue 36.
Generic Container
Added basic keyboard support. Numberpad for moving cursor around, shift moves in increments of 10. NumPadEnter = left-click, NumPad0 = right-click, numbers 1-9 = selections in menu, h = help. Closes #43. Also fixed a bug in ~Construction().
Generic Container
Implemented pausing, closes #44
  1. Prev
  2. Next