updated .todo

git-svn-id: svn://anubis/anaglym/trunk@187 99a6e188-d820-4881-8870-2d33a10e2619
This commit is contained in:
Josh Holtrop 2009-11-17 23:08:24 +00:00
parent 2472e9ee4d
commit 72173f9fa0
3 changed files with 3 additions and 2 deletions

1
.todo
View File

@ -1,2 +1 @@
- add functions to draw 2d graphics (lines, rectangles)
- fix bug with wfobj objects changing appearance of managed objects

View File

@ -993,6 +993,8 @@ void Engine::Object::createManagedObject()
/* prerequisite: m_args->size() is big enough */
void Engine::Object::render()
{
if (!m_is_managed)
return;
GLUquadric * quad = gluNewQuadric();
if (m_display_list <= 0)
m_display_list = glGenLists(1);

View File

@ -56,7 +56,7 @@ end
function update_overlay_event(width, height)
local tw, th = ag.getTextSize("Hi there", 18)
ag.drawText("Hi there", 1, 1, 1, 18, width - tw - 4, height - th - 4)
ag.drawText("Hi there", 1, 1, 0, 18, width - tw - 40, height - th - 40)
-- ag.drawLine(1, 0, 0.3, 10, 10, 40, 60)
-- ag.drawLine(1, 0.7, 1, 50, 10, 100, 60, 5)
-- ag.drawRect(0, 1, 0, 40, 40, width / 2, height / 2)