MCPcopy Create free account
hub / github.com/EasyRPG/Player / FlashOnce

Method FlashOnce

src/game_screen.cpp:110–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110void Game_Screen::FlashOnce(int r, int g, int b, int s, int frames) {
111 data.flash_red = r;
112 data.flash_green = g;
113 data.flash_blue = b;
114 flash_sat = s;
115 data.flash_current_level = s;
116 data.flash_time_left = frames;
117 data.flash_continuous = false;
118 flash_period = 0;
119}
120
121void Game_Screen::FlashBegin(int r, int g, int b, int s, int frames) {
122 FlashOnce(r, g, b, s, frames);

Callers 4

CommandFlashScreenMethod · 0.80
UpdateScreenFlashMethod · 0.80
StartMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected