Differences From Artifact [0a9cae30d2]:
- File src/Monster.m — part of check-in [5b7b7d2fc5] at 2025-03-24 22:14:24 on branch trunk — Convert player into a class (user: js, size: 13373) [annotate] [blame] [check-ins using]
To Artifact [96bb3308b2]:
- File src/Monster.m — part of check-in [0ee94739ce] at 2025-03-25 23:38:08 on branch trunk — Clean up Variable (user: js, size: 13394) [annotate] [blame] [check-ins using]
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | + | // monster.cpp: implements AI for single player monsters, currently client only #import "Monster.h" #include "cube.h" #import "Entity.h" #import "Player.h" #import "Variable.h" static OFMutableArray<Monster *> *monsters; static int nextmonster, spawnremain, numkilled, monstertotal, mtimestart; @implementation Monster + (void)initialize { |
︙ |