Update to SDL3 (#1283)

This commit is contained in:
Gustavo Ribeiro Croscato authored and GitHub committed 2026-08-22 12:09:53 -04:00
1 parent 75ceaec54e
commit a8cc0ec12a
68 files changed
+786 -704

No files matched your search

+3 -3
View File
@@ -5,7 +5,7 @@
#include "CustomLevels.h"
#include <map>
#include <SDL.h>
#include <SDL3/SDL.h>
#include <string>
#include <vector>
@@ -171,7 +171,7 @@ public:
void register_tilecol(EditorTilesets tileset, int index, const char* foreground_type, int foreground_base, const char* background_type, int background_base, bool direct);
void register_tilecol(EditorTilesets tileset, int index, const char* foreground_type, int foreground_base, const char* background_type, int background_base);
void register_tool(EditorTools tool, const char* name, const char* keychar, SDL_KeyCode key, bool shift);
void register_tool(EditorTools tool, const char* name, const char* keychar, SDL_Keycode key, bool shift);
void draw_tool(EditorTools tool, int x, int y);
@@ -230,7 +230,7 @@ public:
const char* tool_names[NUM_EditorTools];
const char* tool_key_chars[NUM_EditorTools];
SDL_KeyCode tool_keys[NUM_EditorTools];
SDL_Keycode tool_keys[NUM_EditorTools];
bool tool_requires_shift[NUM_EditorTools];
EditorTools current_tool;