OpenTTD Source: src/os/windows/win32_main.cpp File Reference

OpenTTD Source 15.3

Functions
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 "../../core/string_consumer.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 (std::string_view 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 110 of file win32.cpp.

## ◆ ParseCommandLine()

static auto ParseCommandLine | ( | std::string_view | line | ) |
| static

Definition at line 22 of file win32_main.cpp.

## ◆ WinMain()

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

Definition at line 47 of file win32_main.cpp.