mirror of
https://github.com/haya3218/SDfmL.git
synced 2024-08-14 23:57:09 +00:00
Update some comments
This commit is contained in:
parent
1606f4d22b
commit
aca3c7bda8
2 changed files with 16 additions and 4 deletions
18
src/Main.cpp
18
src/Main.cpp
|
@ -1,6 +1,16 @@
|
|||
#define SDL_MAIN_HANDLED // needs to be here or linker fucking dies
|
||||
#define SDL_STBIMAGE_IMPLEMENTATION
|
||||
#undef _HAS_STD_BYTE
|
||||
/**
|
||||
* @file Main.cpp
|
||||
* @author haya3218
|
||||
* @brief This is an example on how to use SDfmL. Code may suck. beware
|
||||
* @version 0.1
|
||||
* @date 2022-02-11
|
||||
*
|
||||
* @copyright Copyright (c) 2022
|
||||
*
|
||||
*/
|
||||
#define SDL_MAIN_HANDLED // needs to be here so that SDL doesnt hijack our main function
|
||||
#define SDL_STBIMAGE_IMPLEMENTATION // to use sdl_stbimage
|
||||
#undef _HAS_STD_BYTE // avoid std::byte hijacking native byte type
|
||||
#include <iostream>
|
||||
#include "SDL2/SDL.h"
|
||||
#include "Render.hpp"
|
||||
|
@ -132,7 +142,7 @@ class SplashScreen : public State {
|
|||
SplashScreen m;
|
||||
|
||||
int main() {
|
||||
if (!Init("SDLflixel :)))))")){
|
||||
if (!Init("SDfmL :))))))")){
|
||||
return ERROR_CODE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue