/*

Copyright (C) 2015-2018 Night Dive Studios, LLC.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

*/
/*
 * $Source: r:/prj/lib/src/3d/RCS/detail.c $
 * $Revision: 1.1 $
 * $Author: kevin $
 * $Date: 1994/08/30 19:29:05 $
 *
 */

#include "3d.h"

void (*g3_tmap_func)() = (void (*)())g3_draw_tmap;
void (*g3_lit_tmap_func)() = (void (*)())g3_light_tmap;

void g3_set_tmaps_linear(void) {
    g3_tmap_func = (void (*)())g3_draw_lmap;
    g3_lit_tmap_func = (void (*)())g3_light_lmap;
}

void g3_reset_tmaps(void) {
    g3_tmap_func = (void (*)())g3_draw_tmap;
    g3_lit_tmap_func = (void (*)())g3_light_tmap;
}
