Switch do_cockpit_window_view to vobjptr_t
Only the wake_up_rendered_objects hack needed a vobjptridx_t. Switch to vobjptr_t.
This commit is contained in:
parent
5810faf33d
commit
ac3b1d6aa3
|
@ -103,7 +103,7 @@ constexpr rgb_array_wrapper player_rgb{};
|
||||||
// window user is one of the WBU_ constants. If rear_view_flag is
|
// window user is one of the WBU_ constants. If rear_view_flag is
|
||||||
// set, show a rear view. If label is non-NULL, print the label at
|
// set, show a rear view. If label is non-NULL, print the label at
|
||||||
// the top of the window.
|
// the top of the window.
|
||||||
void do_cockpit_window_view(int win, vobjptridx_t viewer, int rear_view_flag, int user, const char *label);
|
void do_cockpit_window_view(int win, vobjptr_t viewer, int rear_view_flag, int user, const char *label);
|
||||||
void do_cockpit_window_view(int win, int user);
|
void do_cockpit_window_view(int win, int user);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -3272,7 +3272,7 @@ void do_cockpit_window_view(int win,int user)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void do_cockpit_window_view(int win,const vobjptridx_t viewer,int rear_view_flag,int user,const char *label)
|
void do_cockpit_window_view(int win,const vobjptr_t viewer,int rear_view_flag,int user,const char *label)
|
||||||
{
|
{
|
||||||
grs_canvas window_canv;
|
grs_canvas window_canv;
|
||||||
static grs_canvas overlap_canv;
|
static grs_canvas overlap_canv;
|
||||||
|
|
Loading…
Reference in a new issue