a hell of a lot changed.

ported from gtk to sdl
added entire font
added keyboard control
added cursor

TODO: backspace works on every char of every line, make aware of newline
add colour to drawChar
This commit is contained in:
luke zeller
2020-04-28 15:06:11 -04:00
parent ea0dd8a141
commit 84dcb2bd50
74 changed files with 1954 additions and 133 deletions

17
spriteconvert/program.cpp Normal file
View File

@@ -0,0 +1,17 @@
#include <SDL2/SDL.h>
#include <iostream>
#include <string>
using namespace std;
int main(int argc, char* argv[]) {
//initialize SDL2
if (SDL_Init() < 0) {
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "SDL_Init failed: %s", SDL_GetError());
SDL_Quit();
return 3;
};
}