diff options
| author | Paul Duncan <pabs@pablotron.org> | 2019-01-19 02:08:20 -0500 | 
|---|---|---|
| committer | Paul Duncan <pabs@pablotron.org> | 2019-01-19 02:08:20 -0500 | 
| commit | df5ca740fa8e438e6bc67fe1ed078aa983ffeed5 (patch) | |
| tree | 89a592a077d733c5d92e323f24611fb1ae1e1d83 /src/sdl/draw.h | |
| parent | fb0bdfed8ed7758e7f073ca85a5d1cefe4fea633 (diff) | |
| download | sok-df5ca740fa8e438e6bc67fe1ed078aa983ffeed5.tar.xz sok-df5ca740fa8e438e6bc67fe1ed078aa983ffeed5.zip | |
add fading, fix sounds
Diffstat (limited to 'src/sdl/draw.h')
| -rw-r--r-- | src/sdl/draw.h | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/src/sdl/draw.h b/src/sdl/draw.h index 919f362..b7e6caa 100644 --- a/src/sdl/draw.h +++ b/src/sdl/draw.h @@ -34,6 +34,9 @@ typedef struct {    game_state_t state;    solve_t *solve;    size_t solve_num_steps; + +  Uint32 fade_ticks; +  SDL_Texture *fade_tex;  } draw_ctx_t;  void draw(draw_ctx_t * const); | 
