Sven Balzer
|
d3be9552c9
|
fix cast to __m128i
|
2025-03-27 20:48:25 +01:00 |
|
Sven Balzer
|
e5d90533dd
|
make a SameLineOrWrap helper and fix wrapping bug introduced by switching to the docking branch of imgui
|
2025-03-27 12:45:45 +01:00 |
|
Sven Balzer
|
e19a13c354
|
remove leftover debug logging
|
2025-03-27 12:45:20 +01:00 |
|
Sven Balzer
|
9480d4e2a7
|
add #include <bit> for rotl and rotr
|
2025-03-26 22:44:21 +01:00 |
|
Sven Balzer
|
e129469b08
|
add basic autotiling
|
2025-03-26 22:04:53 +01:00 |
|
Sven Balzer
|
db55a510a6
|
remove unnecessary uv_min and uv_max from tile_info
|
2025-03-26 22:04:36 +01:00 |
|
Sven Balzer
|
382ef67895
|
move shaders from assets to src
|
2025-03-26 19:25:38 +01:00 |
|
Sven Balzer
|
914cbf13f4
|
move shader dep files to binary dir
|
2025-03-26 19:19:21 +01:00 |
|
Sven Balzer
|
06ddce6f81
|
factor out PixelArtSample into common.slang
|
2025-03-26 19:17:52 +01:00 |
|
Sven Balzer
|
31c4bde4bf
|
cleanup: remove load_entire_file and m_string
|
2025-03-25 21:19:54 +01:00 |
|
Sven Balzer
|
1db5440767
|
change asset loading paths to not include the leading "../assets/"
move "../assets/map/*" to "../assets/maps/*"
|
2025-03-25 21:17:05 +01:00 |
|
Sven Balzer
|
9810331253
|
remove old map_save_file
|
2025-03-25 20:22:07 +01:00 |
|
Ammerhai
|
6f9108d563
|
move overworld map files
|
2025-03-25 19:58:00 +01:00 |
|
Sven Balzer
|
f7915b63c7
|
save the load path and gpu buffer in the map struct
|
2025-03-25 19:33:13 +01:00 |
|
Sven Balzer
|
0575989142
|
load maps into a struct instead of a global to allow for multiple to be loaded at once
|
2025-03-25 18:46:35 +01:00 |
|
Sven Balzer
|
bec0f06e59
|
fix grid appearing deselected when dragging a selection outside the map
|
2025-03-25 17:55:43 +01:00 |
|
Sven Balzer
|
d71daba073
|
pass view_projection matrix directly to the shaders instead of constructing it each time
|
2025-03-25 17:49:30 +01:00 |
|
Sven Balzer
|
b48b5f0339
|
always show grid when tile picker is open
|
2025-03-23 18:19:59 +01:00 |
|
Ammerhai
|
3f380adb0a
|
add diagonal corner grass_ground texture
|
2025-03-23 18:12:25 +01:00 |
|
Ammerhai
|
ea47ade7b3
|
update map
|
2025-03-23 15:47:16 +01:00 |
|
Sven Balzer
|
a7635a0abf
|
save time tints into imgui.ini and allow changing the number of tint points
|
2025-03-23 14:16:22 +01:00 |
|
Ammerhai
|
2292c049b7
|
add texture variations
update map and character shadow texture
|
2025-03-23 13:50:12 +01:00 |
|
Sven Balzer
|
5aba854534
|
deselect tile when tile picker is closed
|
2025-03-22 20:48:11 +01:00 |
|
Sven Balzer
|
f33ce18429
|
fix for minimized window
|
2025-03-22 20:46:19 +01:00 |
|
Sven Balzer
|
e774305829
|
add grid and highlighting of selected tiles when picking
|
2025-03-22 20:39:36 +01:00 |
|
Sven Balzer
|
4c84899084
|
add settings menu
remove time_offset
|
2025-03-22 17:08:37 +01:00 |
|
Sven Balzer
|
ea31729a74
|
change max anisotropy to 16
|
2025-03-22 16:12:32 +01:00 |
|
Sven Balzer
|
002bbcd097
|
add a MainMenuBar and make Tile Picker and Demo Window hidden by default
use dockspace for positioning Tile Picker
|
2025-03-21 21:35:45 +01:00 |
|
Sven Balzer
|
dc7c424d7f
|
update dear imgui from 1.91.8 to 1.91.9b and switch to docking branch
|
2025-03-21 12:35:00 +01:00 |
|
Ammerhai
|
fe1561d8c8
|
update testmap with new textures
|
2025-03-20 20:31:25 +01:00 |
|
Sven Balzer
|
d9bf936f0d
|
add basic gamepad support
|
2025-03-20 20:25:59 +01:00 |
|
Sven Balzer
|
19e75d3807
|
add day/night color tints
|
2025-03-20 19:45:19 +01:00 |
|
|
|
d5b01e9f40
|
remove todo.txt
|
2025-03-20 18:19:18 +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
|
e87a66b984
|
rename biliear_sampler to pixel sampler and remove point_sampler
|
2025-03-18 06:06:13 +01:00 |
|
Sven Balzer
|
944c00b89e
|
add hotkey (R) for rotation
|
2025-03-17 17:05:35 +01:00 |
|
Sven Balzer
|
5ac98b6203
|
make globals static
|
2025-03-17 16:24:51 +01:00 |
|
Sven Balzer
|
fc88859eaf
|
only upload data to texture if *data is not NULL
refactor create_shader_texture(path) to use the other create_shader_texture(name, data, width. height, channels)
|
2025-03-17 08:17:54 +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 |
|
|
|
09b1f3943a
|
add image to readme
update the readme image
|
2025-03-16 18:05:40 +01:00 |
|
|
|
8d7a4e9a4a
|
change map files
add character shadow
|
2025-03-16 17:46:02 +01:00 |
|
|
|
fd11d177c1
|
rename corner code
|
2025-03-16 17:34:28 +01:00 |
|
|
|
e2a4eec761
|
rename grass_ground corners
|
2025-03-16 17:32:30 +01:00 |
|
|
|
65d79b8985
|
add sprout character tileset
rename map_scaled
|
2025-03-16 17:30:42 +01:00 |
|
|
|
98844b6094
|
add new sprites
|
2025-03-16 17:26:21 +01:00 |
|
Sven Balzer
|
31823101a5
|
add msaa toggle
|
2025-03-16 16:06:52 +01:00 |
|
Sven Balzer
|
45ca42df99
|
mark things as static
|
2025-03-16 12:14:40 +01:00 |
|
Sven Balzer
|
1220cf6e7a
|
add tracy memory tracking to SDL
|
2025-03-16 12:10:00 +01:00 |
|