Index

zydeco / 0dc574e

Experiment in graphics programming, C++, OpenGL, simulation techniques.

Latest Commit

{#}TimeHashSubjectAuthor#(+)(-)GPG?
203 Aug 2023 22:030dc574eC++ bringup; SDL window creationJosh Stockin1320G

Blob @ zydeco / src / main.cpp

text/plain704 bytesdownload raw
1#include <iostream>
2#include <fmt/core.h>
3
4using std::cout;
5using std::endl;
6
7#include "ZydecoCommon.hpp"
8#include "Window.hpp"
9static Logger LOGGER("MAIN");
10
11static const char *ZYDECO_TERMOUT[] = {
12 "Zydeco v0.1.0 Copyright (c) Joshua Stockin 2023",
13 "<https://joshstock.in> <josh@joshstock.in>",
14};
15
16int main(int argc, char *argv[])
17{
18 // Print boilerplate copyright output
19 for (const char *line : ZYDECO_TERMOUT)
20 {
21 cout << line << endl;
22 }
23
24 Logger::InitializeLogging(Logger::TRACE, &std::cout);
25 LOGGER.Log(Logger::INFO, "Entering main routine");
26
27 LOGGER.Log(Logger::INFO, "Creating SDL window");
28 Window w = Window("Zydeco");
29
30 while(1){}
31 return 0;
32}
33