Skip to content

Commit

Permalink
FF7: Fix wrong rendering for timer boxes when using normal window mode
Browse files Browse the repository at this point in the history
  • Loading branch information
julianxhokaxhiu committed Aug 17, 2024
1 parent b5f45ca commit 0cbe95c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

## FF7
- Rendering: Fix wrong rendering for fonts in Field mode while scrolling.
- Rendering: Fix wrong rendering for timer boxes when using normal window mode.
- Widescreen: Added option to clip camera position during scripted events ( https://github.com/julianxhokaxhiu/FFNx/pull/706 )
- Widescreen: Added feature to extend movies in true widescreen mode ( https://github.com/julianxhokaxhiu/FFNx/pull/700 )
- 60FPS: Fix bug that displayed battle text too quickly when set at full SLOW speed
Expand Down
7 changes: 7 additions & 0 deletions src/gl/special_case.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,13 @@ uint32_t gl_special_case(uint32_t primitivetype, uint32_t vertextype, struct nve
{
// always z-sort vanilla messages
if(SAFE_GFXOBJ_CHECK(graphics_object, ff7_externals.menu_objects->window_bg)) force_defer = true;

// fix timer messages when window is normal
if(SAFE_GFXOBJ_CHECK(graphics_object, ff7_externals.menu_objects->_btl_win)) force_defer = true;
if(SAFE_GFXOBJ_CHECK(graphics_object, ff7_externals.menu_objects->btl_win_a)) force_defer = true;
if(SAFE_GFXOBJ_CHECK(graphics_object, ff7_externals.menu_objects->btl_win_b)) force_defer = true;
if(SAFE_GFXOBJ_CHECK(graphics_object, ff7_externals.menu_objects->btl_win_c)) force_defer = true;
if(SAFE_GFXOBJ_CHECK(graphics_object, ff7_externals.menu_objects->btl_win_d)) force_defer = true;
}

if(mode == MODE_BATTLE)
Expand Down

0 comments on commit 0cbe95c

Please sign in to comment.