public GPUDevice(string description) { m_description = description; m_graphics = new Graphics(); m_target = new LuaObjectRef <LuaImage>(); m_font = new LuaObjectRef <LuaFont>(); }
public DisplayDevice(string description, int width, int height, int colors) { m_description = description; Width = width; Height = height; Colors = colors; m_image = new LuaObjectRef <LuaImage>(); m_palette = new LuaObjectRef <LuaPalette>(); }
public MountInfo(FilePath location, LuaMount mount, FilePath subPath, bool readOnly) { m_luaMount = new LuaObjectRef <LuaMount>(mount); Location = location; SubPath = subPath; ReadOnly = readOnly; LastReadTime = DateTime.MinValue; LastWriteTime = DateTime.MinValue; }
public IOAPI(Computer computer, FileSystem fileSystem) : base("io") { m_fileSystem = fileSystem; stdin = new LuaFile(TextReader.Null, true); stdout = new LuaFile(computer.Output, true); stderr = new LuaFile(computer.ErrorOutput, true); m_input = new LuaObjectRef <LuaFile>(stdin.GetObject <LuaFile>()); m_output = new LuaObjectRef <LuaFile>(stdout.GetObject <LuaFile>()); }
public LuaCPUDevice(string description) { m_description = description; m_computer = null; m_isMainCPU = false; m_machine = null; m_mainRoutine = null; m_fileSystem = new FileSystem(); m_eventFilter = new HashSet <string>(); m_nextBootMount = new LuaObjectRef <LuaMount>(); }
private LuaBuffer(Buffer buffer, LuaBuffer parent) { Buffer = buffer; m_parent = new LuaObjectRef <LuaBuffer>(parent); }
public ROMDevice(string description, IMount mount) { m_description = description; m_mount = new LuaObjectRef <LuaMount>(new LuaMount(mount)); }
public Disk(IMount mount) { m_mount = new LuaObjectRef <LuaMount>( new LuaMount(mount) ); }
public LuaFont(Font font, LuaImage luaImage) { Font = font; m_luaImage = new LuaObjectRef <LuaImage>(luaImage); }
public LuaImage(Image image, LuaImage parent) { Image = image; m_parent = new LuaObjectRef <LuaImage>(parent); ReadOnly = parent.ReadOnly; }