mirror of
https://github.com/nunuhara/xsystem4.git
synced 2026-09-22 23:18:01 +03:00
Remove passed_time parameter from parts_render_update
This commit is contained in:
+2
-2
@@ -1166,7 +1166,7 @@ void PE_Update(int passed_time, bool message_window_show)
|
||||
audio_update();
|
||||
parts_update_animation(passed_time);
|
||||
PE_UpdateInputState(passed_time);
|
||||
parts_render_update(passed_time);
|
||||
parts_render_update();
|
||||
}
|
||||
|
||||
void PE_UpdateParts(int passed_time, possibly_unused bool is_skip, bool message_window_show)
|
||||
@@ -1174,7 +1174,7 @@ void PE_UpdateParts(int passed_time, possibly_unused bool is_skip, bool message_
|
||||
parts_message_window_show = message_window_show;
|
||||
audio_update();
|
||||
parts_update_animation(passed_time);
|
||||
parts_render_update(passed_time);
|
||||
parts_render_update();
|
||||
}
|
||||
|
||||
void PE_SetDelegateIndex(int parts_no, int delegate_index)
|
||||
|
||||
@@ -512,7 +512,7 @@ struct string *parts_text_get(struct parts_text *t);
|
||||
|
||||
// render.c
|
||||
void parts_render_init(void);
|
||||
void parts_render_update(int passed_time);
|
||||
void parts_render_update(void);
|
||||
void parts_engine_dirty(void);
|
||||
void parts_engine_clean(void);
|
||||
void parts_dirty(struct parts *parts);
|
||||
|
||||
+1
-1
@@ -632,7 +632,7 @@ void parts_sprite_render(struct sprite *sp)
|
||||
|
||||
static bool pe_dirty = false;
|
||||
|
||||
void parts_render_update(int passed_time)
|
||||
void parts_render_update(void)
|
||||
{
|
||||
if (pe_dirty) {
|
||||
struct parts *p;
|
||||
|
||||
Reference in New Issue
Block a user