Joined: 09 May 2003 Posts: 25806 Location: The netherlands
Posted: Sun Sep 27, 2020 8:35 am Post subject:
1: ^ means dereference the pointer that p points to
2: i have no idea what x is, what it points to
You can not use pointer in lua unless you use memory access functions like writeIntegerLocal, which defeats the purpose of using direct memory access to speed things up
If you want stuff to go faster, write a plugin for CE in whatever language you like(except lua) load it with CE, and then pass it the canvas handle(GDI) which you can then use to draw with in that other language _________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping
Thanks DB, for explanation and suggestion. Yes, the progress using get/set pixel on graphics in Lua is extremely slow because using direct memory access.
And sure, I start considering to use a plugin especially for graphics processing in CE. _________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum