module power.experiments.svo

Code Map

module power.experiments.svo;


class SvoLoader : tui.WindowScene
{
public:
	enum NumLevels;


public:
	app: App;


public:
	this(app: App, filename: string, useTest: bool) { }
	fn render(t: gfx.Target, viewInfo: gfx.ViewInfo) { }
	fn logic() { }
	fn loadFile(filename: string, c: svo.Create, frames: u32[], data: void[]) bool { }
	fn loadMagica(fileData: void[], c: svo.Create, frames: u32[], data: void[]) bool { }
	fn loadChalmers(fileData: void[], c: svo.Create, frames: u32[], data: void[]) bool { }
	fn doGen(arg: string, c: svo.Create, frames: u32[], data: void[]) bool { }
	fn genOne(c: svo.Create, frames: u32[], data: void[]) bool { }
	fn genFlatY(c: svo.Create, frames: u32[], data: void[]) bool { }
	fn doError(str: string) { }


protected:
	mFilename: string;
	mHasRendered: bool;
	mUseTest: bool;
}

class ErrrorMessageScene : tui.MessageScene
{
public:
	app: App;


public:
	this(app: App, str: string) { }
	fn pressedOk(button: tui.Button) { }
}

class SvoViewer : Viewer
{
public:
	data: svo.Data;
	obj: svo.Entity;
	animate: bool;
	pipes: old.Pipeline[];
	pipeId: u32;


public:
	this(m: scene.Manager, data: svo.Data, obj: svo.Entity) { }
	fn switchRenderer() { }
	fn resetPosition(pos: i32) { }
	fn close() { }
	fn keyDown(device: ctl.Keyboard, keycode: i32) { }
	fn logic() { }


protected:
	mTimeClear: gfx.TimeTracker;


protected:
	fn checkQuery(t: gfx.Target) { }
}

class NewSvoViewer : SvoViewer
{
public:
	objs: svo.Entity[];


public:
	this(m: scene.Manager, data: svo.Data, obj: svo.Entity) { }
	fn renderScene(t: gfx.Target, viewInfo: gfx.ViewInfo) { }
}

class OldSvoViewer : SvoViewer
{
public:
	this(m: scene.Manager, data: svo.Data, obj: svo.Entity) { }
	fn renderScene(t: gfx.Target, viewInfo: gfx.ViewInfo) { }
}