Jump to content

Blogs

Robust LuaJIT integration in Topaz Game Toolkit!

Topaz has a robust LuaJIT integration feature. With just two interfaces, you can interface the Lua programming language to Delphi with relative ease. Bind Delphi to Lua:   type Color = class class procedure AutoSetup(aLua: ILua); class procedure Make(aContext: ILuaContext); class procedure Makef(aContext: ILuaContext); end; class procedure Color.AutoSetup(aLua: ILua); begin RegColor(aLua, 'WHITE', 255, 255, 255, 255); RegColor(aLua, 'RED', 255, 0, 0, 255);

Enhanced Command Line Processing for Delphi

The TCmdLine class gives you enhanced processing of command line parameters over the built-in Delphi routines. With it you can: Access the default command line visible to your running application like normal Define custom command line argument at runtime. Especially useful when debugging/testing Check if an argument exists Get the index of an argument Get the argument value And more You can download the code from the link below. Enjoy! 😎 TCm

Jarrod Davis

Jarrod Davis in Code

  • Blog Statistics

    1
    Total Blogs
    5
    Total Entries
×
×
  • Create New...