Commit Graph

  • 8bc6f68b3b convert gpu map format from buffer to texture2d master Sven Balzer 2026-05-01 19:55:39 +02:00
  • fa9190b0e5 remove vertex and index buffer from world shader Sven Balzer 2026-05-01 19:27:57 +02:00
  • 7cb6dbc3e6 remove rotation from world tiles and instead apply it on load into atlas Sven Balzer 2026-05-01 19:15:03 +02:00
  • 59cb6fb6c1 replace the name ground with dirt Sven Balzer 2026-05-01 18:31:16 +02:00
  • 3d85440aac stop recreating the framebuffer every frame if the aspect ratio is not 1:1 Sven Balzer 2026-05-01 18:25:15 +02:00
  • 2adf75973a update tracy from 11.0 to 13.1 and fix build with tracy enabled Sven Balzer 2026-05-01 18:24:04 +02:00
  • 7fa5294e02 move game settings into their own file Sven Balzer 2026-05-01 18:13:05 +02:00
  • 91a4a2079b decouple grid from tile picker and make it toggleable Sven Balzer 2026-05-01 17:53:55 +02:00
  • 2af0361ac5 fix mouse wheel zooming map when hovering imgui windows Sven Balzer 2026-05-01 17:49:10 +02:00
  • 7e1894984c add zoom to editor Sven Balzer 2026-04-18 14:52:11 +02:00
  • 53a7ed7890 make editor camera independent of player camera Sven Balzer 2026-04-18 13:33:01 +02:00
  • 6305d0b096 split editor and game Sven Balzer 2026-04-17 17:22:50 +02:00
  • ae9571d270 replace log.c/h with SDL_Log* Sven Balzer 2026-04-15 13:29:47 +02:00
  • ba39a0e5eb replace map width/height and player pos_x/pos_y with i32vec2 size and position respectively Sven Balzer 2026-04-15 11:27:08 +02:00
  • 4ec664c8db replace math_graphics with glm version 1.0.3 Sven Balzer 2026-04-15 10:50:41 +02:00
  • 07af9deb6a update wgpu-native from v25.0.2.2 to v29.0.0.0 Sven Balzer 2026-04-14 14:06:00 +02:00
  • 6dc54f9ef6 change map.name to be an array Sven Balzer 2026-04-14 09:37:23 +02:00
  • 6ac2b1fde0 set SDLMIXER_VENDORED to ON and vendor the required libraries into libs/SDL3_mixer/external disable SDLMIXER_VORBIS_VORBISFILE add ogg v1.3.5-SDL add opus v1.4.x-SDL add opusfile v0.13-git-SDL Sven Balzer 2026-04-13 11:20:08 +02:00
  • 85d1832a0c update dear imgui from 1.92.6-docking to 1.92.7-docking Sven Balzer 2026-04-02 20:22:14 +02:00
  • b549728a24 change world tiles texture from texture_2d_array to an atlas texture_2d Sven Balzer 2026-04-02 17:52:28 +02:00
  • 9dd37f6d40 replace the x64 specific change_map_tile() with a generic c implementation Sven Balzer 2026-04-02 17:02:16 +02:00
  • 8a5caf5c0d update SDL_mixer to SDL3_mixer 3.2.0 Sven Balzer 2026-04-02 16:52:07 +02:00
  • 05b19704f8 update SDL3 from 3.2.20 to 3.4.2 Sven Balzer 2026-04-01 18:25:03 +02:00
  • 1daf4d79f1 update dear imgui from 1.92.2b-docking to 1.92.6-docking Sven Balzer 2026-04-01 18:20:04 +02:00
  • 3b7d593f4e switch to reverse z and get rid of tilt sign flip Sven Balzer 2026-04-01 18:01:39 +02:00
  • 538849e607 Update README.md Ammerhai 2025-10-10 23:10:09 +02:00
  • d4c3f59921 mark functions as static Sven Balzer 2025-10-05 11:51:11 +02:00
  • 617a4fbfb6 allow disabling time based tinting Sven Balzer 2025-10-04 14:21:23 +02:00
  • 5a1ea421f6 refactor webgpu initialization into init_webgpu() Sven Balzer 2025-10-04 13:57:16 +02:00
  • 0d3bfaf12d start at 50% volume for all channels to allow for more user control Sven Balzer 2025-09-29 07:09:07 +02:00
  • 5a77a4aacb try to change to working directory on startup so assets can be found Sven Balzer 2025-09-29 06:24:58 +02:00
  • c3c0f8adf7 add F5 hotkey to reload tile assets Sven Balzer 2025-09-28 07:03:41 +02:00
  • a5c0db824b add a version to map files Sven Balzer 2025-09-27 08:38:46 +02:00
  • 434abdc9a7 get rid of tile_infos buffer for world shader and instead just use the vertex uvs Sven Balzer 2025-09-26 07:22:08 +02:00
  • dcd40b6394 add uv to vertex format and remove it from instance Sven Balzer 2025-09-25 08:04:16 +02:00
  • 8633cff3cb switch front faces to be CCW instead of CW Sven Balzer 2025-09-25 06:01:16 +02:00
  • ec34b2df61 replace SDL_GPU renderer with wgpu Sven Balzer 2025-09-06 12:02:38 +02:00
  • 883e13cdf5 update dear imgui from 1.91.9b to 1.92.2b Sven Balzer 2025-08-28 05:58:03 +02:00
  • ad651462df Update SDL3 from 3.2.4 to 3.2.20 Sven Balzer 2025-08-27 21:24:05 +02:00
  • 6283160467 remove unnecesary initializers Sven Balzer 2025-08-27 21:14:33 +02:00
  • c806c1a67d Update README.md Ammerhai 2025-04-27 17:17:03 +02:00
  • 6efb964399 add SDLMIXER_DEPS_SHARED OFF Ammerhai 2025-04-13 13:05:06 +02:00
  • 932d5f629d automatically play setting_off_piano.opus when no other music is playing Sven Balzer 2025-04-03 21:38:01 +02:00
  • 14728d17f5 add SDL_mixer Sven Balzer 2025-04-03 03:50:59 +02:00
  • 90d167857e Update README.md Ammerhai 2025-04-02 19:54:52 +02:00
  • 3630965ff5 Update README.md Ammerhai 2025-04-02 19:29:46 +02:00
  • 9763955288 Update README.md Ammerhai 2025-04-02 19:29:35 +02:00
  • d32b99e814 change audio files to opus Ammerhai 2025-04-02 18:58:01 +02:00
  • 41048fc43e change ogg file type Ammerhai 2025-04-01 22:24:32 +02:00
  • 3bf7cf7a17 get rid of __VA_OPT__ Sven Balzer 2025-03-31 22:09:47 +02:00
  • 832c23f85c fix for new pipewire headers Sven Balzer 2025-03-31 17:28:23 +02:00
  • 716f5fc11c fix condition for grid size Sven Balzer 2025-03-30 17:33:09 +02:00
  • 36d69e7fa0 make TileKind grid overlap the edge of the map to allow changing edge kinds Sven Balzer 2025-03-30 17:23:43 +02:00
  • 59f61591e1 add first music track Ammerhai 2025-03-27 21:33:08 +01:00
  • ebffc3f32d change order of textures for autotiling Ammerhai 2025-03-27 21:17:03 +01:00
  • d3be9552c9 fix cast to __m128i Sven Balzer 2025-03-27 20:48:25 +01:00
  • e5d90533dd make a SameLineOrWrap helper and fix wrapping bug introduced by switching to the docking branch of imgui Sven Balzer 2025-03-27 12:45:45 +01:00
  • e19a13c354 remove leftover debug logging Sven Balzer 2025-03-27 12:45:20 +01:00
  • 9480d4e2a7 add #include <bit> for rotl and rotr Sven Balzer 2025-03-26 22:44:21 +01:00
  • e129469b08 add basic autotiling Sven Balzer 2025-03-26 22:04:53 +01:00
  • db55a510a6 remove unnecessary uv_min and uv_max from tile_info Sven Balzer 2025-03-26 22:04:36 +01:00
  • 382ef67895 move shaders from assets to src Sven Balzer 2025-03-26 19:25:38 +01:00
  • 914cbf13f4 move shader dep files to binary dir Sven Balzer 2025-03-26 19:19:21 +01:00
  • 06ddce6f81 factor out PixelArtSample into common.slang Sven Balzer 2025-03-26 19:17:52 +01:00
  • 31c4bde4bf cleanup: remove load_entire_file and m_string Sven Balzer 2025-03-25 21:19:54 +01:00
  • 1db5440767 change asset loading paths to not include the leading "../assets/" Sven Balzer 2025-03-25 21:15:58 +01:00
  • 9810331253 remove old map_save_file Sven Balzer 2025-03-25 20:22:07 +01:00
  • 6f9108d563 move overworld map files Ammerhai 2025-03-25 19:58:00 +01:00
  • 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