Difference between revisions of "Libfov"

From RogueBasin
Jump to navigation Jump to search
 
(8 intermediate revisions by 6 users not shown)
Line 1: Line 1:
== A field of view library ==
{{library| name = libfov
It can be found here:
|developer = blue.puyo
http://members.optusnet.com.au/puyo/libfov.html
|released =
|updated = Sep 19, 2009 (1.0.4)
|dependencies =  
|status =  
|licensing = MIT License
|language = [[C]]
|platforms =
|site = http://code.google.com/p/libfov/
}}{{stub}}


Some help from Radomir 'The Sheep' Dopieralski can be found on this rgrd thread:
Field of View library.  See the [http://code.google.com/p/libfov/ libfov homepage] for all your libfov documentation, support, bugs, etc.
http://groups.google.com/group/rec.games.roguelike.development/browse_thread/thread/986eee039aa6e279/719361fe8fc96645?hl=en
[[category:FOV]]
 
Read it if you don't understand what the map & light source data structures are all about.
 
 
== The API ==
http://members.optusnet.com.au/puyo/dev/libfov/html/index.html
 
 
== Bugs ==
in order to be able to "#include <fov/fov.h>" and compile as a c program rather then a c++ one, you need to add the following lines before including fov.h:
 
<pre><nowiki>
#define bool int
#include <math.h>
</nowiki></pre>
For instance:
<pre><nowiki>
#define bool int
#include <math.h>
#include <fov/fov.h>
 
int
main(){
    /*do stuff*/
    return 0;
}
</nowiki></pre>
 
 
--this page needs to be expanded!

Latest revision as of 22:55, 9 March 2011

libfov
Library project
Developer blue.puyo
Released
Updated Sep 19, 2009 (1.0.4)
Status
Licensing MIT License
P. Language C
Platforms
Dependencies
Official site of libfov


Field of View library. See the libfov homepage for all your libfov documentation, support, bugs, etc.