lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Here are some more patches, for supporting old-style
Macintosh (i.e. Mac OS 9 and Mac OS X with "CFM")
using luaglut and old-style Mac shared libraries...

http://www.algonet.se/~afb/lua/luaglut-0.2-mac.patch
Some diffs are duplicated from the earlier "macosx"
patch, sorry about that (should be simple to sort out?)

Hopefully these can all go in "luaglut-0.3" ? (or so)


In order to use these, you need a "MacLua" with support
for loading CFM shared libraries added (with the "newdl")
and convert all Lua files from UNIX to Mac line endings...

I've done some changes to make scripts accept an empty "arg",
such as when you are calling it with: dofile("glut_test1.lua") ?
It uses Carbon (1.6 or Mac OS X) and OpenGL 1.2 SDK from Apple.

Screenshot: http://www.algonet.se/~afb/lua/macluaglut.png

--anders

PS. Built using CodeWarrior, will post the projects later on.