mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
29 lines
896 B
C#
29 lines
896 B
C#
using System;
|
|
using System.Windows.Forms;
|
|
using System.IO;
|
|
|
|
namespace FalloutClient {
|
|
static class Program {
|
|
/// <summary>
|
|
/// The main entry point for the application.
|
|
/// </summary>
|
|
[STAThread]
|
|
static void Main(string[] args) {
|
|
Application.EnableVisualStyles();
|
|
Application.SetCompatibleTextRenderingDefault(false);
|
|
|
|
if(args.Length==1&&args[0]=="-debugedit") {
|
|
Application.Run(new DebugEditor(new EditorConnection()));
|
|
} else {
|
|
throw new Exception("Multiplayer is no longer supported");
|
|
}
|
|
}
|
|
}
|
|
|
|
enum DataTypeSend {
|
|
Mouse=0, LMouseDown=1, LMouseUp=2, RMouseDown=3, RMouseUp=4, TakeChar=5, ReleaseChar=6,
|
|
SetGlobal=0, SetMapVar=1, RetrieveCritter=2, SetCritter=3, SetSGlobal=4, GetArray=9, SetArray=10,
|
|
Exit=254
|
|
}
|
|
}
|