no message

This commit is contained in:
BADIM-PC\Vadim 2018-02-12 19:51:12 +03:00
parent a7c28f0be3
commit 7a5cbc6b55
1 changed files with 1 additions and 19 deletions

View File

@ -61,26 +61,9 @@ static void drawGrid(World* world)
TIC_MAP_SCREEN_WIDTH+1, TIC_MAP_SCREEN_HEIGHT+1, (tic_color_red)); TIC_MAP_SCREEN_WIDTH+1, TIC_MAP_SCREEN_HEIGHT+1, (tic_color_red));
} }
// static void processKeydown(World* world, tic_keycode keycode)
// {
// switch(keycode)
// {
// case SDLK_TAB: setStudioMode(TIC_MAP_MODE); break;
// }
// }
static void tick(World* world) static void tick(World* world)
{ {
// SDL_Event* event = NULL; if(isKeyBeenPressed(tic_key_tab)) setStudioMode(TIC_MAP_MODE);
// while ((event = pollEvent()))
// {
// switch(event->type)
// {
// case SDL_KEYDOWN:
// processKeydown(world, event->key.keysym.sym);
// break;
// }
// }
memcpy(&world->tic->ram.vram, world->preview, PREVIEW_SIZE); memcpy(&world->tic->ram.vram, world->preview, PREVIEW_SIZE);
@ -128,6 +111,5 @@ void initWorld(World* world, tic_mem* tic, Map* map)
tic_tool_poke4(world->preview, i, max); tic_tool_poke4(world->preview, i, max);
} }
} }
} }