[nostalgia] Remove dynamic library usage
Will make dynamically loaded Modules impossible, but they add complexity and really aren't that useful...
This commit is contained in:
@@ -194,6 +194,12 @@ void draw(Context *ctx) {
|
||||
SDL_RenderPresent(id->renderer);
|
||||
}
|
||||
|
||||
void puts(Context *ctx, int column, int row, const char *str) {
|
||||
for (int i = 0; str[i]; i++) {
|
||||
setTile(ctx, 0, column + i, row, static_cast<uint8_t>(charMap[static_cast<int>(str[i])]));
|
||||
}
|
||||
}
|
||||
|
||||
void setTile(Context *ctx, int layer, int column, int row, uint8_t tile) {
|
||||
auto id = ctx->implData<SdlImplData>();
|
||||
auto z = static_cast<unsigned>(layer);
|
||||
|
||||
Reference in New Issue
Block a user