mirror of
https://github.com/usysrc/LICK.git
synced 2024-11-24 16:44:21 +00:00
added rukanos new classes, see docs
This commit is contained in:
parent
f6fe4f2fc7
commit
c7e0435862
@ -1 +1 @@
|
||||
<HTML><HEAD><TITLE>live_libs_doc</TITLE><style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Helvetica}p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 18.0px Helvetica; min-height: 22.0px}p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px}p.p5 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco}p.p6 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; min-height: 12.0px}p.p7 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; color: #9d1c12}p.p8 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Monaco; min-height: 16.0px}span.s1 {font: 18.0px Helvetica}span.s2 {color: #0026b4}span.Apple-tab-span {white-space:pre}</style></HEAD><BODY><h3>live_libs documentation</h3><a href="guidelines.html">Guidelines for new classes and commenting</a><h4>Classes:</h4><a href="classes/Object.html">Object</a> <br><a href="classes/SCObject.html">SCObject</a> <br><a href="classes/SCSynth.html">SCSynth</a> <br><a href="classes/Drawable.html">Drawable</a> <br><a href="classes/Circle.html">Circle</a> <br><a href="classes/Line.html">Line</a> <br></BODY></HTML>
|
||||
<HTML><HEAD><TITLE>live_libs_doc</TITLE><style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Helvetica}p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 18.0px Helvetica; min-height: 22.0px}p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px}p.p5 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco}p.p6 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; min-height: 12.0px}p.p7 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; color: #9d1c12}p.p8 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Monaco; min-height: 16.0px}span.s1 {font: 18.0px Helvetica}span.s2 {color: #0026b4}span.Apple-tab-span {white-space:pre}</style></HEAD><BODY><h3>live_libs documentation</h3><a href="guidelines.html">Guidelines for new classes and commenting</a><h4>Classes:</h4><a href="classes/Object.html">Object</a> <br><a href="classes/SCObject.html">SCObject</a> <br><a href="classes/SCSynth.html">SCSynth</a> <br><a href="classes/Drawable.html">Drawable</a> <br><a href="classes/Circle.html">Circle</a> <br><a href="classes/Line.html">Line</a> <br><a href="classes/Image.html">Image</a> <br><a href="classes/Point.html">Point</a> <br><a href="classes/Sequencer.html">Sequencer</a> <br><a href="classes/Polygon.html">Polygon</a> <br><a href="classes/Rect.html">Rect</a> <br><a href="classes/Triangle.html">Triangle</a> <br><a href="classes/Text.html">Text</a> <br></BODY></HTML>
|
@ -35,7 +35,8 @@ function generate()
|
||||
local output = ""
|
||||
|
||||
end
|
||||
dp,ep = string.find(line, ":")
|
||||
local dp,ep = string.find(line, ":")
|
||||
if dp then
|
||||
name = line:sub(e+1, dp-1 or 0)
|
||||
print(name)
|
||||
table.insert(classes,name)
|
||||
@ -44,6 +45,7 @@ function generate()
|
||||
output = output .._newclasstitle .. name..tab..tab..line:sub(dp+1) ..newclasstitle_
|
||||
found_methods = 0
|
||||
found_classes = found_classes + 1
|
||||
end
|
||||
elseif b1 and e1 and not string.find(line,"require") then
|
||||
output = output .."<h4>"..tab..line:sub(e1+2).."</h4>"..tab..tab.."<i> Constructor</i>"
|
||||
|
||||
@ -84,8 +86,9 @@ end
|
||||
|
||||
function writeClassFile(name, output)
|
||||
dir = love.filesystem.getWorkingDirectory( )
|
||||
print(dir)
|
||||
--print("touch "..dir.."/"..help_filename)
|
||||
local path = dir.."/live_testproject/"..help_filename.."classes/"..name..".html"
|
||||
local path = dir.."/shittygames/"..help_filename.."classes/"..name..".html"
|
||||
os.execute("touch "..path)
|
||||
|
||||
local helpfile = io.open(path, "w" )
|
||||
@ -97,7 +100,7 @@ end
|
||||
function writeFile(name, output)
|
||||
dir = love.filesystem.getWorkingDirectory( )
|
||||
--print("touch "..dir.."/"..help_filename)
|
||||
local path = dir.."/live_testproject/"..help_filename..name..".html"
|
||||
local path = dir.."/shittygames/"..help_filename..name..".html"
|
||||
os.execute("touch "..path)
|
||||
|
||||
local helpfile = io.open(path, "w" )
|
||||
|
Loading…
Reference in New Issue
Block a user