OpenTTD Source 20241224-master-gee860a5c8e
win32_main.cpp File Reference

Implementation main for Windows. More...

#include "../../stdafx.h"
#include <windows.h>
#include <mmsystem.h>
#include "../../openttd.h"
#include "../../core/random_func.hpp"
#include "../../string_func.h"
#include "../../crashlog.h"
#include "../../debug.h"
#include "../../safeguards.h"

Go to the source code of this file.

Functions

static auto ParseCommandLine (char *line)
 
void CreateConsole ()
 
int APIENTRY WinMain (HINSTANCE, HINSTANCE, LPSTR, int)
 

Detailed Description

Implementation main for Windows.

Definition in file win32_main.cpp.

Function Documentation

◆ CreateConsole()

void CreateConsole ( )

Definition at line 107 of file win32.cpp.

◆ ParseCommandLine()

static auto ParseCommandLine ( char *  line)
static

Definition at line 21 of file win32_main.cpp.

◆ WinMain()

int APIENTRY WinMain ( HINSTANCE  ,
HINSTANCE  ,
LPSTR  ,
int   
)

Definition at line 53 of file win32_main.cpp.