Files
vgstation13/code
baloh.matevz 7144a1fdb6 This commit adds nothing new to the game whatsoever, the only thing it contains is comments about how the DblClick() proc works. It took me a few hours to decipher it, so hopefully the comments will save you some time.
DblClick() is the proc which determines what proc will be called when you click on the screen. (Single clicking also calls this proc btw, in case you're confused.)

So DblClick() is the proc which then calls attack_hand(), attack_ai(), attack_paw(), attackby(), afterattack() and the hand_h(), hand_ai() and simmilar proc for when you're restrained. 

In case you noticed one common proc missing, attack() is called in a mob's attackby() proc, which originates from here. So the cascade for that is
Click() > DblClick() > attackby() > attack()

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2251 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-22 19:56:16 +00:00
..
2011-09-13 14:18:59 +00:00
2011-09-09 06:15:38 +00:00