1 | #include <iostream> |
2 | #include <fmt/core.h> |
3 |
|
4 | using std::cout; |
5 | using std::endl; |
6 |
|
7 | #include "ZydecoCommon.hpp" |
8 | #include "Window.hpp" |
9 | static Logger LOGGER("MAIN"); |
10 |
|
11 | static const char *ZYDECO_TERMOUT[] = { |
12 | "Zydeco v0.1.0 Copyright (c) Joshua Stockin 2023", |
13 | "<https://joshstock.in> <josh@joshstock.in>", |
14 | }; |
15 |
|
16 | int 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 |
|