3 Commits

Author SHA1 Message Date
dobbry-vechur c306363d82 Remove SDL2 code paths from the game sources
- collapsed the SDL version conditionals to their SDL3 arms
- deleted the SDL2 sound and ImGui backends
- kept the SDL2-era graphics options registered and hidden
2026-08-12 05:44:00 +04:00
dumb-kevin df590c6239 Add MEMORY_MAP_MODE hot-swap via per-preset shaders
- new memory_darken/sepia_light/sepia_dark/blue_dark shaders
- variant_pass loads + probes one state per memory_preset
- select_memory_preset switches active state, no atlas rebuild
- on_options_changed pushes preset to variant_pass
- draw_sprite_at lets MEMORY through the shader gate
2026-05-15 15:21:32 +04:00
dumb-kevin 0f1084b2d1 Gate draw_sprite_at variants on cata_shader::variant_pass
- cata_tiles owns a lazily-probed variant_pass under USE_SDL3
- compute_variant_kind maps (lit_level, use_night_vision_tiles) to enum
- shader path: bind variant state, draw from main atlas, unbind
- atlas variant lookup runs only when shader path is unsupported or inert
- retained-atlas fallback intact (loader still builds all 6 variants)
- memory variant stays on pre-baked atlas path
2026-05-14 10:50:29 -07:00