Spicy Invaders v.1.0.0
A TUI Space Invader
Loading...
Searching...
No Matches
Ch.Etml.Play.Program Class Reference

Entry point of the program. https://stackoverflow.com/questions/38426338/ for details about the removing of buttons. More...

Public Member Functions

static int DeleteMenu (IntPtr hMenu, int nPosition, int wFlags)
 

Static Public Member Functions

static void Start ()
 Sets all components up and opens the main menu.
 

Static Public Attributes

const int SC_MINIMIZE = 0xF020
 Address of the minimize button.
 
const int SC_MAXIMIZE = 0xF030
 Address of the maximize button.
 
const int SC_SIZE = 0xF000
 Address of the resizing cursor.
 

Private Member Functions

static IntPtr GetSystemMenu (IntPtr hWnd, bool bRevert)
 
static IntPtr GetConsoleWindow ()
 

Static Private Member Functions

static void Main (string[] args)
 Sets up the console and starts the game.
 

Static Private Attributes

const int MF_BYCOMMAND = 0x00000000
 Empty command.
 

Detailed Description

Entry point of the program. https://stackoverflow.com/questions/38426338/ for details about the removing of buttons.

Member Function Documentation

◆ DeleteMenu()

static int Ch.Etml.Play.Program.DeleteMenu ( IntPtr hMenu,
int nPosition,
int wFlags )

◆ GetConsoleWindow()

static IntPtr Ch.Etml.Play.Program.GetConsoleWindow ( )
private

◆ GetSystemMenu()

static IntPtr Ch.Etml.Play.Program.GetSystemMenu ( IntPtr hWnd,
bool bRevert )
private

◆ Main()

static void Ch.Etml.Play.Program.Main ( string[] args)
staticprivate

Sets up the console and starts the game.

Parameters
argsLaunch arguments.

◆ Start()

static void Ch.Etml.Play.Program.Start ( )
static

Sets all components up and opens the main menu.

Member Data Documentation

◆ MF_BYCOMMAND

const int Ch.Etml.Play.Program.MF_BYCOMMAND = 0x00000000
staticprivate

Empty command.

◆ SC_MAXIMIZE

const int Ch.Etml.Play.Program.SC_MAXIMIZE = 0xF030
static

Address of the maximize button.

◆ SC_MINIMIZE

const int Ch.Etml.Play.Program.SC_MINIMIZE = 0xF020
static

Address of the minimize button.

◆ SC_SIZE

const int Ch.Etml.Play.Program.SC_SIZE = 0xF000
static

Address of the resizing cursor.


The documentation for this class was generated from the following file: