Coding > FPC Valkyrie

Where's the vision code?


Assuming it's part of the engine, of course.
Couldn't seem to find it.

Kornel Kisielewicz:
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.


While I'm at it, then, where's it in Berserk!.?

Kornel Kisielewicz:
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 :)


[0] Message Index

Go to full version