1 /** @file gl_special.h Special color effects for the game view. 2 * 3 * @authors Copyright (c) 2018 Jaakko Keränen <jaakko.keranen@iki.fi> 4 * 5 * @par License 6 * GPL: http://www.gnu.org/licenses/gpl.html 7 * 8 * <small>This program is free software; you can redistribute it and/or modify 9 * it under the terms of the GNU General Public License as published by the 10 * Free Software Foundation; either version 2 of the License, or (at your 11 * option) any later version. This program is distributed in the hope that it 12 * will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty 13 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General 14 * Public License for more details. You should have received a copy of the GNU 15 * General Public License along with this program; if not, see: 16 * http://www.gnu.org/licenses</small> 17 */ 18 19 #ifndef LIBCOMMON_REFRESH_SPECIAL_H 20 #define LIBCOMMON_REFRESH_SPECIAL_H 21 22 #include <de/libcore.h> 23 24 DENG2_EXTERN_C void R_SpecialFilterRegister(void); 25 26 DENG2_EXTERN_C void R_InitSpecialFilter(void); 27 28 /** 29 * Draws a special filter over the screen (e.g. the Doom inversing filter used 30 * when in god mode). 31 */ 32 DENG2_EXTERN_C void R_UpdateSpecialFilter(int player); 33 34 DENG2_EXTERN_C void R_UpdateSpecialFilterWithTimeDelta(int player, float delta); 35 36 #endif // LIBCOMMON_REFRESH_SPECIAL_H 37