Commit Graph

  • f7915b63c7 save the load path and gpu buffer in the map struct Sven Balzer 2025-03-25 19:33:13 +01:00
  • 0575989142 load maps into a struct instead of a global to allow for multiple to be loaded at once Sven Balzer 2025-03-25 18:36:11 +01:00
  • bec0f06e59 fix grid appearing deselected when dragging a selection outside the map Sven Balzer 2025-03-25 17:55:43 +01:00
  • d71daba073 pass view_projection matrix directly to the shaders instead of constructing it each time Sven Balzer 2025-03-25 17:49:30 +01:00
  • b48b5f0339 always show grid when tile picker is open Sven Balzer 2025-03-23 18:19:59 +01:00
  • 3f380adb0a add diagonal corner grass_ground texture Ammerhai 2025-03-23 18:12:25 +01:00
  • ea47ade7b3 update map Ammerhai 2025-03-23 15:41:40 +01:00
  • a7635a0abf save time tints into imgui.ini and allow changing the number of tint points Sven Balzer 2025-03-23 14:16:22 +01:00
  • 2292c049b7 add texture variations Ammerhai 2025-03-23 13:50:12 +01:00
  • 5aba854534 deselect tile when tile picker is closed Sven Balzer 2025-03-22 20:48:11 +01:00
  • f33ce18429 fix for minimized window Sven Balzer 2025-03-22 20:46:19 +01:00
  • e774305829 add grid and highlighting of selected tiles when picking Sven Balzer 2025-03-22 20:39:36 +01:00
  • 4c84899084 add settings menu Sven Balzer 2025-03-22 17:08:37 +01:00
  • ea31729a74 change max anisotropy to 16 Sven Balzer 2025-03-22 16:12:32 +01:00
  • 002bbcd097 add a MainMenuBar and make Tile Picker and Demo Window hidden by default Sven Balzer 2025-03-21 21:35:45 +01:00
  • dc7c424d7f update dear imgui from 1.91.8 to 1.91.9b and switch to docking branch Sven Balzer 2025-03-21 12:35:00 +01:00
  • fe1561d8c8 update testmap with new textures Ammerhai 2025-03-20 20:31:25 +01:00
  • d9bf936f0d add basic gamepad support Sven Balzer 2025-03-20 20:22:23 +01:00
  • 19e75d3807 add day/night color tints Sven Balzer 2025-03-20 18:54:01 +01:00
  • d5b01e9f40 remove todo.txt Ammerhai 2025-03-20 18:19:18 +01:00
  • 3a2b156951 change back from atlas texture for tiles to array texture Sven Balzer 2025-03-20 12:10:23 +01:00
  • e87a66b984 rename biliear_sampler to pixel sampler and remove point_sampler Sven Balzer 2025-03-18 06:06:13 +01:00
  • 944c00b89e add hotkey (R) for rotation Sven Balzer 2025-03-17 17:05:35 +01:00
  • 5ac98b6203 make globals static Sven Balzer 2025-03-17 16:24:51 +01:00
  • fc88859eaf only upload data to texture if *data is not NULL Sven Balzer 2025-03-17 08:17:54 +01:00
  • cdf6cf00a8 make other sampling the default Sven Balzer 2025-03-16 21:23:34 +01:00
  • 5b6d83ed90 add other filtering option for comparison Sven Balzer 2025-03-16 21:04:00 +01:00
  • 6a7f54ca5a convert indentation to spaces Sven Balzer 2025-03-16 18:56:40 +01:00
  • 09b1f3943a add image to readme Ammerhai 2025-03-16 17:56:08 +01:00
  • 8d7a4e9a4a change map files Ammerhai 2025-03-16 17:46:02 +01:00
  • fd11d177c1 rename corner code Ammerhai 2025-03-16 17:34:28 +01:00
  • e2a4eec761 rename grass_ground corners Ammerhai 2025-03-16 17:32:30 +01:00
  • 65d79b8985 add sprout character tileset Ammerhai 2025-03-16 17:30:42 +01:00
  • 98844b6094 add new sprites Ammerhai 2025-03-16 17:26:21 +01:00
  • 31823101a5 add msaa toggle Sven Balzer 2025-03-16 16:06:52 +01:00
  • 45ca42df99 mark things as static Sven Balzer 2025-03-16 12:14:40 +01:00
  • 1220cf6e7a add tracy memory tracking to SDL Sven Balzer 2025-03-16 12:10:00 +01:00
  • f1ffbbcfda change camera defaults Sven Balzer 2025-03-16 08:08:41 +01:00
  • ad37f333ae remove atlas_item from tile info Sven Balzer 2025-03-16 08:07:31 +01:00
  • 93708f37b8 make dual grid always be active Sven Balzer 2025-03-16 07:49:19 +01:00
  • 4b3ca3e673 inline PI for msvc Sven Balzer 2025-03-15 16:22:50 +01:00
  • 755befb89d destroy tile atlas structure after it is not needed anymore Sven Balzer 2025-03-15 11:27:02 +01:00
  • ce90ecdaea add tracy Sven Balzer 2025-03-15 11:25:17 +01:00
  • 592e1f39f3 put custom sdl changes into patches/ Sven Balzer 2025-03-14 08:50:59 +01:00
  • b9a52da265 add a dual grid toggle Sven Balzer 2025-03-13 05:55:17 +01:00
  • 57f6926d6f make tile border 4 wide and enable anisotropic filtering Sven Balzer 2025-03-12 06:26:52 +01:00
  • 0043563f7d add the ability to drag tile changes Sven Balzer 2025-03-11 11:31:08 +01:00
  • 2ad30458bf add camera tilt Sven Balzer 2025-03-11 09:16:17 +01:00
  • e77086601b clean up math_graphics.h Sven Balzer 2025-03-09 20:31:27 +01:00
  • 5016f906ea fix projection of mouse into view space Sven Balzer 2025-03-09 06:01:19 +01:00
  • 88da989ad7 major refactor and add a camera Sven Balzer 2025-03-08 19:39:40 +01:00
  • d80ffe7c79 fix pixel bug Ammerhai 2025-03-07 19:25:06 +01:00
  • ebddc0dfe2 add random rotation option Sven Balzer 2025-02-28 16:16:21 +01:00
  • 0d875d23ae make tiles rotatable Sven Balzer 2025-02-28 16:05:51 +01:00
  • 611c1afcb6 add new tiles part 4 Ammerhai 2025-02-27 18:44:15 +01:00
  • 1b75448163 add new tiles part 3 Ammerhai 2025-02-27 18:28:43 +01:00
  • 7b9db0b16b add grass_ground_1 tile Sven Balzer 2025-02-27 18:22:05 +01:00
  • 3c02064f2b make new map tiles be empty by default and only expand map by one row/column Sven Balzer 2025-02-27 18:15:35 +01:00
  • 08e3dfd9d3 add tile selector Sven Balzer 2025-02-27 18:00:28 +01:00
  • 1c8a65e8ad change tiles from a texture array to a texture atlas Sven Balzer 2025-02-27 14:22:03 +01:00
  • 2d583d8f72 put the player in the same tile that gets collision checked Sven Balzer 2025-02-27 11:14:01 +01:00
  • 095f94b098 make the imgui window not be focused by default and put math_graphics into a namespace Sven Balzer 2025-02-26 14:16:48 +01:00
  • a872bede2c add new tiles part 2 Ammerhai 2025-02-27 18:00:38 +01:00
  • 526316a928 center player in tile again Sven Balzer 2025-02-25 20:03:52 +01:00
  • 5b29a2bd5b fix crash on minimize Sven Balzer 2025-02-25 19:34:24 +01:00
  • 920f93ea7a change tiles to be actually square Sven Balzer 2025-02-25 19:26:54 +01:00
  • 97ff0726c9 change tile structure Ammerhai 2025-02-25 19:16:18 +01:00
  • 2d5b36bbef change colorspace of sprites back to linear Sven Balzer 2025-02-25 18:49:35 +01:00
  • a3ca31948b add SDL3 dependency to imgui Ammerhai 2025-02-25 18:39:50 +01:00
  • 59c55ac092 add png files Ammerhai 2025-02-25 18:29:42 +01:00
  • f4418d94d9 remove quad_instance Sven Balzer 2025-02-25 17:25:36 +01:00
  • b1e657abc3 remove typedefs in favor of SDL ones Sven Balzer 2025-02-25 16:56:12 +01:00
  • 3e32ebd62b convert assets to png and switch to srgb color loading Sven Balzer 2025-02-25 14:09:25 +01:00
  • 2e2572a769 get rid of glyphs Sven Balzer 2025-02-25 13:28:33 +01:00
  • f2b992a39d add imgui Sven Balzer 2025-02-25 13:23:17 +01:00
  • a6a6761e9f update stb libs Sven Balzer 2025-02-25 12:58:06 +01:00
  • c70a9a245b fix for c++20 on linux Sven Balzer 2025-02-25 12:56:10 +01:00
  • 85d653db29 add first map iteration Ammerhai 2025-02-24 21:17:06 +01:00
  • 74e0d78a4c change build system to CMake and use SDL3 for everything Sven Balzer 2025-02-24 19:47:40 +01:00
  • e6a5a00dcb README.md aktualisiert Ammerhai 2025-02-18 19:37:02 +01:00
  • 9a06173a7c add stone and grass/ground assets Ammerhai 2025-02-17 19:04:57 +01:00
  • 61713bb10f add gitignore 0.0.1 Ammerhai 2024-07-16 22:21:51 +02:00
  • 5058054f3c extend readme Ammerhai 2024-05-26 21:06:39 +02:00
  • 5cf457561c README.md hinzugefügt Ammerhai 2024-05-26 20:52:21 +02:00
  • 61bef68b40 template tiles; mikeb 2024-02-03 13:46:36 +00:00
  • 5ce2942e71 git svn test mikeb 2024-02-03 13:40:16 +00:00
  • c7a9c2f78f math_graphics.h angepasst; lerp angepasst; mikeb 2021-07-27 16:28:15 +00:00
  • efc6477180 Anpassung Window Größe und Spielfeld -> gleiche Ratio (16:9); Neue math_graphics.h Funktionen (Aufräumen); mikeb 2021-07-26 16:28:42 +00:00
  • b603d997cf Glyph output -> single Glyphs; read bmp file (via stb, m_header is coming later) -> stb_image.h; added monochrom imagetype (load_tga_file); mikeb 2021-07-18 13:09:44 +00:00
  • 70a9074415 glyphs_project for text rendering -> render text image -> gylp_map -> stb_image_write.h und stb_rect_pack.h; mikeb 2021-07-17 11:16:57 +00:00
  • 1f91eb9cf1 font_creator project for font loading; init font_main + "stbtt_InitFont"; Lexend-Regular.ttf as normal font; mikeb 2021-07-03 17:31:05 +00:00
  • ce923a77fb UV Texturkoordinaten ergaenzt; V2 struct fuer UV Koordinaten ergaenzt; mikeb 2021-06-30 16:00:14 +00:00
  • 0f6bfcdc4b added render_quad -> button + text rendering; how to draw with directX; mikeb 2021-03-04 15:16:57 +00:00
  • d416f6d36e created gamedesign folder; changed map_layout.tga path to gamedesign/map_layout; mikeb 2021-03-04 12:40:06 +00:00
  • b4c0efa748 new bin, svnserve activated; test commit mikeb 2021-03-03 16:38:15 +00:00
  • 00d9c03843 refactoring -> change_map_size mikeb 2021-03-02 16:13:32 +00:00
  • 63088db2a9 replaced load_shaders(); Funktion zur Vergroeßerung/Verkleinerung der Map hinzugefuegt; mikeb 2021-03-02 14:58:13 +00:00
  • bfae037947 added map_layout -> first Village; mikeb 2021-02-28 17:48:48 +00:00
  • 27b795cd74 map update; added player struct; added increase_map and new tiles for map creation mikeb 2021-02-28 14:12:35 +00:00
  • f489f4e3ee added load und save function + map folder; new Tile type for map mikeb 2021-02-28 11:27:29 +00:00