Upssss
Long time without news...
I've moved to a new city, so I've been very busy. I'll be back soon.
This project is not (still) dead.
Long time without news...
Happy 2007!
While I'm finishing my exams (and I hope my degree with them), I think it's time to make a "final" design for the first version of Schranz VT.
I need a graphical designer in order to start creating the GUI for the application.
I'm currently finishing my degree, so I have little time at the moment.
Now it's ready!
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.DirectX;
using Microsoft.DirectX.Direct3D;
using System.Windows.Forms;
using System.Drawing;
using SVTPlugin;
namespace SchranzVT
{
public class myPlugin : SchranzVTPlugin
{
// Local variables go here
private string svtpName;
private string svtpAuthor;
private string svtpVersion;
private Device device;
// Constructor
public myPlugin()
{
// Assigns name, author and version
// This is used just for information
svtpName = "myPlugin";
svtpAuthor = "lazyUser";
svtpVersion = "6.9";
// Initializes directx device
device = null;
// Inits the plugin
this.init();
}
// Name
public string Name
{
get { return svtpName; }
set { svtpName = value; }
}
// Author
public string Author
{
get { return svtpAuthor; }
set { svtpAuthor = value; }
}
// Version
public string Version
{
get { return svtpVersion; }
set { svtpVersion = value; }
}
// Device
public Device dev
{
get { return device; }
set { device = value; }
}
// Makes some plugin initialization
public void init()
{
// Let's set name, author and version of this plugin
Name = svtpName;
Author = svtpAuthor;
Version = svtpVersion;
// Here goes your initialization code
}
// Go!
public void run()
{
// Let's make this plugin work!
device.BeginScene();
// Let's paint something
// Ends our scene
device.EndScene();
}
}
}
I've uploaded an initial version of the plugin assembly that is needed to develop plugins for Schranz VT.
I didn't realize how difficult (or should I say "strange"?) could be to implement a plugin based application in C#.
Let's set up our development environment.
Welcome! I've had to create another blog for the development of Schranz Visuals Tool because my other blog is just for my thoughts and including all the Schranz VT stuff there would be a source of confusion :-)