Skip to content

Instantly share code, notes, and snippets.

@TrueBrain
Last active March 8, 2021 13:56
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save TrueBrain/8caed08f0b85d5d3db60e5cb54217f65 to your computer and use it in GitHub Desktop.
VSCode Windows
{
"configurations": [
{
"name": "Linux",
"includePath": [
"${workspaceFolder}/**"
],
"defines": [
"TTD_ENDIAN=TTD_LITTLE_ENDIAN",
"UNIX",
"WITH_ASSERT",
"WITH_PERSONAL_DIR",
"WITH_PNG",
"WITH_SDL2",
"WITH_ZLIB",
"WITH_OPENGL",
"WITH_ALLEGRO"
],
"compilerPath": "/usr/bin/gcc",
"cStandard": "gnu17",
"cppStandard": "gnu++14",
"intelliSenseMode": "gcc-x64"
}
],
"version": 4
}
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "(Windows) Launch",
"type": "cppvsdbg",
"request": "launch",
"program": "Debug/openttd.exe",
"args": ["-r 1024x768", "-ddriver=4", "-snull", "-mnull"],
"stopAtEntry": false,
"cwd": "${workspaceFolder}/build",
"environment": [],
"externalConsole": false
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment