Home
last modified time | relevance | path

Searched refs:game_screen (Results 1 – 25 of 112) sorted by relevance

12345

/dports/games/easyrpg-player/Player-0.7.0/src/
H A Dweather.cpp37 auto rect = Main_Data::game_screen->GetScreenEffectsRect(); in Weather()
45 SetTone(Main_Data::game_screen->GetTone()); in Draw()
47 switch (Main_Data::game_screen->GetWeatherType()) { in Draw()
202 const auto& particles = Main_Data::game_screen->GetParticles(); in DrawParticles()
223 const auto shake_x = Main_Data::game_screen->GetShakeOffsetX(); in DrawParticles()
224 const auto shake_y = Main_Data::game_screen->GetShakeOffsetY(); in DrawParticles()
225 auto pan_rect = Main_Data::game_screen->GetScreenEffectsRect(); in DrawParticles()
271 const auto& particles = Main_Data::game_screen->GetParticles(); in DrawSandParticles()
332 const auto shake_x = Main_Data::game_screen->GetShakeOffsetX(); in DrawFogOverlay()
333 const auto shake_y = Main_Data::game_screen->GetShakeOffsetY(); in DrawFogOverlay()
[all …]
H A Dsprite_picture.cpp100 x -= Main_Data::game_screen->GetShakeOffsetX(); in Draw()
101 y -= Main_Data::game_screen->GetShakeOffsetY(); in Draw()
136 auto screen_tone = Main_Data::game_screen->GetTone(); in Draw()
142 SetFlashEffect(Main_Data::game_screen->GetFlashColor()); in Draw()
H A Dplane.cpp54 const int shake_x = Main_Data::game_screen->GetShakeOffsetX(); in Draw()
55 const int shake_y = Main_Data::game_screen->GetShakeOffsetY(); in Draw()
H A Dbattle_animation.cpp76 SetFlashEffect(Main_Data::game_screen->GetFlashColor()); in Update()
169 Game_Screen* screen = Main_Data::game_screen.get(); in ProcessAnimationTiming()
206 Main_Data::game_screen->FlashOnce(r, g, b, p, 0); in UpdateScreenFlash()
249 auto rect = Main_Data::game_screen->GetScreenEffectsRect(); in DrawGlobal()
375 Main_Data::game_screen->FlashOnce(r, g, b, p, 0); in UpdateScreenFlash()
H A Dmain_data.cpp67 std::unique_ptr<Game_Screen> game_screen; variable
173 game_screen.reset(); in Cleanup()
H A Dbackground.cpp120 dst_rect.x += Main_Data::game_screen->GetShakeOffsetX(); in Draw()
121 dst_rect.y += Main_Data::game_screen->GetShakeOffsetY(); in Draw()
H A Dscreen.cpp33 auto flash_color = Main_Data::game_screen->GetFlashColor(); in Draw()
H A Dspriteset_battle.cpp63 Tone new_tone = Main_Data::game_screen->GetTone(); in Update()
/dports/games/kartofel/kartofel-1.2/
H A Dplay.cc281 SDL_Surface* game_screen; variable
598 SDL_FreeSurface(game_screen); in SetVideoMode()
599 game_screen = game_screen_tmp; in SetVideoMode()
707 if (!game_screen) { in Init()
918 PrintAt(game_screen, msg_font, in MsgOutOfTime()
934 PrintAt(game_screen, msg_font, in MsgGameOver()
950 PrintAt(game_screen, msg_font, in MsgGameSuccess()
954 PrintAt(game_screen, info_font, in MsgGameSuccess()
958 PrintAt(game_screen, info_font, in MsgGameSuccess()
962 PrintAt(game_screen, info_font, in MsgGameSuccess()
[all …]
/dports/games/tecnoballz/tecnoballz-0.93.1/src/
H A Dright_panel_score.cc80 gauge_pixel = game_screen->get_pixel_data in first_init()
102 screen = game_screen; in draw_background()
127 draw (game_screen, SCORE_XCOORD * resolution, in text_refresh()
129 draw (game_screen, LIFES_XCOORD * resolution, in text_refresh()
131 draw (game_screen, BRICKS_XCOORD * resolution, in text_refresh()
209 Sint32 next = game_screen->get_width (); in draw_gigablizt_gauge()
H A Dhandler_display.cc61 if (NULL != game_screen) in ~handler_display()
63 delete game_screen; in ~handler_display()
64 game_screen = NULL; in ~handler_display()
93 game_screen = in initialize()
95 game_surface = game_screen->get_surface (); in initialize()
199 game_screen->lock_surface (); in lock_surfaces()
209 game_screen->unlock_surface (); in unlock_surfaces()
410 game_screen->set_palette (sdl_palette); in enable_palette()
426 game_screen->set_palette (pal); in enable_palette()
513 char *bkgd = game_screen->get_pixel_data (xcoord, ycoord); in clr_shadow()
H A Dsupervisor_shop.cc207 background_screen->blit_to_surface (game_screen); in first_init()
246 background_screen->blit_to_surface (game_screen, 290 * resolution, in main_loop()
254 display_text->draw (game_screen, 263 * resolution, 227 * resolution, in main_loop()
256 display_text->draw (game_screen, 263 * resolution, 183 * resolution, in main_loop()
730 game_screen->clear (0, x_pos, y_pos, 22 * 8 * resolution, 3 * yspac); in display_box_text()
731 display_text->draw (game_screen, x_pos, y_pos, current_text_displayed[0], in display_box_text()
733 display_text->draw (game_screen, x_pos, y_pos + yspac, current_text_displayed[1], in display_box_text()
735 display_text->draw (game_screen, x_pos, y_pos + yspac * 2, current_text_displayed[2], in display_box_text()
977 char *dest = game_screen->get_pixel_data (x, y); in draw_select_cursor()
978 Uint32 next_line = game_screen->get_row_size (); in draw_select_cursor()
H A Dsprite_mouse_pointer.cc65 Uint32 x = game_screen->get_width () / 2; in create_pointer_sprite()
66 Uint32 y = game_screen->get_height () / 2; in create_pointer_sprite()
H A Dsupervisor_map_editor.cc287 game_screen->clear (); in view_tiles()
288 game_screen->blit_surface (tiles_bitmap, 0, tiles_ycoord, 0, 0, in view_tiles()
560 screen = game_screen->get_pixel_data (x1, y1); in highlight_selection()
578 Uint32 rowsize = game_screen->get_row_size (); in highlight_selection()
579 screen = game_screen->get_pixel_data (x2 - 1, y1 + 1); in highlight_selection()
601 screen = game_screen->get_pixel_data (x1, y2); in highlight_selection()
618 screen = game_screen->get_pixel_data (x1, y2 - 1); in highlight_selection()
761 game_screen->blit_surface (brush_bitmap, 0, 0, xcoord, in draw_brush()
H A Dsprite_object.cc298 offscreen_pitch = game_screen->get_row_size (); in init_common()
310 offsetDest = game_screen->get_line_modulo (sprite_width); in init_common()
408 offsetDest = game_screen->get_line_modulo (sprite_width); in create_sprite()
1115 char *screen = game_screen->get_pixel_data (x_coord, y_coord); in draw_with_tables()
1180 char *screen = game_screen->get_pixel_data (x_coord, y_coord); in draw_cycling_color()
1209 char *screen = game_screen->get_pixel_data (x_coord, y_coord); in draw_capsule()
1247 screen_ptr = game_screen->get_pixel_data (x_coord, y_coord); in draw_vertically_repeated()
1441 (Sint32 *) game_screen->get_pixel_data (x_coord + ombredecax, in draw_shadow()
1465 char *screen = game_screen->get_pixel_data (x_coord + ombredecax, in draw_shadow()
1613 char *d = game_screen->get_pixel_data (x_coord, y_coord); in draw_copy_from_bitmap()
[all …]
H A Dtilesmap_scrolling.cc118 tiles_per_row = game_screen->get_width () / tile_width; in initialize()
231 game_screen->set_palette (tiles_bitmap); in enable_palette()
268 offscreen_surface *offscreen = game_screen; in draw()
345 game_screen->set_palette (brush); in alloc_brush()
H A Dshort_info_messages.cc97 dest_offset = game_screen->get_row_size (); in initialize()
99 screen = game_screen->get_pixel_data (XCOORD_MESSAGE * resolution, in initialize()
351 char *dest1 = game_screen->get_pixel_data (xcoord, ycoord); in clear_message()
H A Dsupervisor_bricks_level.cc106 game_screen->clear (); in first_init()
204 background_screen->blit_to_surface (game_screen); in first_init()
480 game_screen->clear (); in switch_background()
504 background_screen->blit_to_surface (game_screen); in switch_background()
H A Dcontroller_bricks.cc182 map->pixel_offset = game_screen->get_offset (i, j); in initialize()
248 offsDestin = game_screen->get_line_modulo (brick_width); in initialize()
250 adr_desti1 = (Sint32 *) game_screen->get_pixel_data (); in initialize()
582 Uint32 offs = game_screen->get_row_size () - brick_width; in save_background()
H A Ddisplay_text_bitmap.cc108 off_desti1 = game_screen->get_row_size (); //modulo destination in load_bitmap_fonts()
302 ptBob->offscreen_pitch = game_screen->get_row_size (); in string2bob()
H A Dtiles_background.cc181 map_width = (game_screen->get_width () - 64 * resolution) / tiles_width; in setup()
217 screen = game_screen; in draw_shadows()
436 draw (game_screen); in draw()
/dports/games/opentyrian/opentyrian-opentyrian-77a8715634e3/src/
H A Dvideo.c32 SDL_Surface *game_screen; variable
51 game_screen = SDL_CreateRGBSurface(SDL_SWSURFACE, vga_width, vga_height, 8, 0, 0, 0, 0); in init_video()
174 SDL_FreeSurface(game_screen); in deinit_video()
H A Dvideo.h32 extern SDL_Surface *game_screen;
/dports/games/easyrpg-player/Player-0.7.0/tests/
H A Dmock_game.cpp46 Main_Data::game_screen = std::make_unique<Game_Screen>(); in MockGame()
77 Main_Data::game_screen = {}; in DoReset()
H A Dtest_move_route.h85 Main_Data::game_screen = std::make_unique<Game_Screen>();
110 Main_Data::game_screen = {}; in ~MapGuard()

12345