• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
testbed
#8
[CODE=csharp]using System;
using System.Globalization;
using System.IO;
using PixelVision8.Player;

namespace PixelVision8.Runner
{
public static class Program
{

[STAThread]
public static void Main(string[] args)
{
// Fix a bug related to parsing numbers in Europe, among other things
CultureInfo.DefaultThreadCurrentCulture = CultureInfo.InvariantCulture;
CultureInfo.DefaultThreadCurrentUICulture = CultureInfo.InvariantCulture;

var root = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Content");

// TODO there is a bug where this will not go to the boot error
using (var game = new CSharpRunner(root, typeof(CustomGameChip).ToString()))
{
game.Run();
}

}
}

}[/CODE]
  Reply


Messages In This Thread
testbed - by BigPete - 02-15-2026, 12:52 AM
testbed - by BigPete - 02-17-2026, 07:31 PM
testbed - by BigPete - 02-19-2026, 01:41 PM
testbed - by BigPete - 02-22-2026, 11:29 PM
testbed - by BigPete - 02-22-2026, 11:59 PM
testbed - by BigPete - 02-26-2026, 08:28 PM
testbed - by BigPete - 02-26-2026, 09:26 PM
testbed - by BigPete - 02-26-2026, 09:27 PM
testbed - by BigPete - 02-26-2026, 09:29 PM
testbed - by BigPete - 02-26-2026, 09:32 PM
testbed - by BigPete - 02-26-2026, 09:40 PM



Users browsing this thread: 1 Guest(s)