I see some recent activity here I didn't know :-)
The two parameters required are returned by the typical "lock" function in many systems to get direct pixel acces to a video surface. Check the source code of the built-in windowing based in SDL2. This is what it does at line 785 on a SDL-based surface backbuffer:How do I use this without the built-in windowing?
SetRenderTarget sounds like it might do the trick, but how do I get pointer to a framebuffer in VCL?
https://github.com/megamarc/Tilengin...c_lib/Window.c
Pascal wrapper
This wrapper was originally submitted by turrican, but as Tilengine evolves this wrapper is getting out of sync because it's not being updated anymore. It also lacks any example and build procedure for this language. To keep this language supported, someone should update the binding and provide a pascal version of any of the examples.
Support
Tilengine has its own dedicated forum, with threads in english and spanish. You can reach them here:
http://www.tilengine.org/forum/index.php
Bookmarks