top of page
Search

[61] Oops!

  • Writer: Conlan Walker
    Conlan Walker
  • Dec 16, 2022
  • 1 min read

It is 3:33 AM, and I remembered that I was supposed to make this like 20 minutes ago. As such, I make no guarantees about the quality of my descriptions for these screenshots.


Firstly, the auto-bind functions. There are 2 subsystems/categories that I put in the auto-binds for, which is the window category and timer subsystem:

ree

The main difference between the two is the timer one lacks the 'flags' for-loop:

ree

Only 1 function from the timer subsystem has been added, though it was very easy to make, as it takes 1 integer and returns nothing:

ree

This is how that delay function is used in Lua:

ree


To keep track of the size of the global SDL table, I made a Lua function called printTable that can walk through and print not only the SDL table, but any Lua table:

ree

It isn't often that I get to make a function with recursion, but this necessitates it for tables that contain tables, like the global SDL table.










Finally, this is what the output for printTable(SDL) looks like:

ree

That's it for this week, and I can now sleep.

 
 
 

Comments


bottom of page