FOV/LOS shape can now be altered by modules using a simple:...
FOV/LOS shape can now be altered by modules using a simple: core.fov.set_vision_shape("circle") . The parameter can be one of "circle", "circle_floor", "circle_ceil", "circle_plus1", "diamond", "octagon", "square" git-svn-id: http://svn.net-core.org/repos/t-engine4@4404 51575b47-30f0-44d4-a5cc-537603b46e54
Showing
- game/engines/default/engine/Module.lua 4 additions, 0 deletionsgame/engines/default/engine/Module.lua
- game/engines/default/engine/utils.lua 22 additions, 0 deletionsgame/engines/default/engine/utils.lua
- src/fov.c 167 additions, 94 deletionssrc/fov.c
- src/fov/fov.c 88 additions, 44 deletionssrc/fov/fov.c
- src/fov/fov.h 8 additions, 5 deletionssrc/fov/fov.h
Please register or sign in to comment