Chaosforge Forum
Coding => FPC Valkyrie => Topic started by: TFoN on January 11, 2007, 10:19
-
Assuming it's part of the engine, of course.
Couldn't seem to find it.
-
Unfortunately I didn't come up with a good way to abstract the vision code, so currently each game does it it's own way. If you want some pointers you can look at how berserk! handles it.
-
Thanks.
While I'm at it, then, where's it in Berserk!.?
-
Uh sorry, I missed this one. The vision code in Berserk! is in brlevel.pas in the TLevel class: procedure TLevel.DrawLOS(lx,ly,ldist : Word);. It's directly based on code by Isaac Kuo.
-
Thanks, though I had found it pretty much after I posted the question :)