20 Commits

Author SHA1 Message Date
Sven Balzer
19e75d3807 add day/night color tints 2025-03-20 19:45:19 +01:00
Sven Balzer
3a2b156951 change back from atlas texture for tiles to array texture
add callback support for imgui sdlgpu3 backend
2025-03-20 12:22:21 +01:00
Sven Balzer
cdf6cf00a8 make other sampling the default 2025-03-16 21:23:34 +01:00
Sven Balzer
5b6d83ed90 add other filtering option for comparison 2025-03-16 21:04:00 +01:00
Sven Balzer
6a7f54ca5a convert indentation to spaces 2025-03-16 18:56:40 +01:00
Sven Balzer
93708f37b8 make dual grid always be active 2025-03-16 07:49:19 +01:00
Sven Balzer
b9a52da265 add a dual grid toggle 2025-03-13 05:55:17 +01:00
Sven Balzer
2ad30458bf add camera tilt 2025-03-11 09:16:17 +01:00
Sven Balzer
88da989ad7 major refactor and add a camera
change asset loading of images to be sRGB
use wayland by default on linux unless we are running under renderdoc
changed shaders to be combined vertex and fragment in a single file
require Vulkan 1.3 and enable shaderDrawParameters
2025-03-08 19:39:48 +01:00
Sven Balzer
0d875d23ae make tiles rotatable 2025-02-28 16:05:51 +01:00
Sven Balzer
1c8a65e8ad change tiles from a texture array to a texture atlas 2025-02-27 18:01:06 +01:00
Sven Balzer
74e0d78a4c change build system to CMake and use SDL3 for everything 2025-02-24 19:56:47 +01:00
mikeb
efc6477180 Anpassung Window Größe und Spielfeld
-> gleiche Ratio (16:9);
Neue math_graphics.h Funktionen (Aufräumen);

git-svn-id: svn://ammerhai.com/home/mike/pokemon_repo@20 24008968-59e6-ed4c-a10b-0b2c954b24ab
2021-07-26 16:28:42 +00:00
mikeb
b603d997cf Glyph output -> single Glyphs;
read bmp file (via stb, m_header is coming later)
 -> stb_image.h;
added monochrom imagetype (load_tga_file); 

git-svn-id: svn://ammerhai.com/home/mike/pokemon_repo@19 24008968-59e6-ed4c-a10b-0b2c954b24ab
2021-07-18 13:09:44 +00:00
mikeb
1f91eb9cf1 font_creator project for font loading;
init font_main + "stbtt_InitFont";
Lexend-Regular.ttf as normal font;


git-svn-id: svn://ammerhai.com/home/mike/pokemon_repo@17 24008968-59e6-ed4c-a10b-0b2c954b24ab
2021-07-03 17:31:05 +00:00
mikeb
ce923a77fb UV Texturkoordinaten ergaenzt;
V2 struct fuer UV Koordinaten ergaenzt;

git-svn-id: svn://ammerhai.com/home/mike/pokemon_repo@16 24008968-59e6-ed4c-a10b-0b2c954b24ab
2021-06-30 16:00:14 +00:00
mikeb
5ccc22deae added defer.h for better free() use;
to create multiple textures in one array is now possible;
swapping textures with mouseclick;
added some textures;

git-svn-id: svn://ammerhai.com/home/mike/pokemon_repo@7 24008968-59e6-ed4c-a10b-0b2c954b24ab
2021-02-27 17:13:03 +00:00
mikeb
7a8abc6af9 added buffer for tiles and player, added +=, -= to math_graphics.h
git-svn-id: svn://ammerhai.com/home/mike/pokemon_repo@4 24008968-59e6-ed4c-a10b-0b2c954b24ab
2021-02-25 14:43:27 +00:00
mikeb
685fdf3fa9 added tga file output, noch funktion ergaenzen, um mehrere files auszugeben
git-svn-id: svn://ammerhai.com/home/mike/pokemon_repo@3 24008968-59e6-ed4c-a10b-0b2c954b24ab
2021-02-24 20:09:21 +00:00
mikeb
c9a741df87 create window, added directx rendering, assets folder: shader, load files, include math, log and string header
git-svn-id: svn://ammerhai.com/home/mike/pokemon_repo@2 24008968-59e6-ed4c-a10b-0b2c954b24ab
2021-02-23 18:18:32 +00:00