Clean up some FIXMEs and XXXs

They seemed to be generally unnecessary. Also fixes some typos in
related comments.
This commit is contained in:
Bill Currie 2022-10-15 14:40:29 +09:00
parent 2c59a400e4
commit 2c9da25e17
8 changed files with 4 additions and 14 deletions

View file

@ -59,9 +59,7 @@ scrap_t *GL_CreateScrap (int size, int format, int linear);
void GL_DestroyScrap (scrap_t *scrap);
void GL_ScrapClear (scrap_t *scrap);
int GL_ScrapTexture (scrap_t *scrap) __attribute__((pure));
//XXX slow!
struct subpic_s *GL_ScrapSubpic (scrap_t *scrap, int width, int height);
//XXX slow!
void GL_SubpicDelete (struct subpic_s *subpic);
void GL_SubpicUpdate (struct subpic_s *subpic, byte *data, int batch);
void GL_ScrapFlush (scrap_t *scrap);

View file

@ -47,9 +47,7 @@ scrap_t *GLSL_CreateScrap (int size, int format, int linear);
void GLSL_DestroyScrap (scrap_t *scrap);
void GLSL_ScrapClear (scrap_t *scrap);
int GLSL_ScrapTexture (scrap_t *scrap) __attribute__((pure));
//XXX slow!
struct subpic_s *GLSL_ScrapSubpic (scrap_t *scrap, int width, int height);
//XXX slow!
void GLSL_SubpicDelete (struct subpic_s *subpic);
void GLSL_SubpicUpdate (struct subpic_s *subpic, byte *data, int batch);
void GLSL_ScrapFlush (scrap_t *scrap);

View file

@ -108,8 +108,6 @@ qboolean PI_UnloadPlugin (plugin_t *);
void PI_RegisterPlugins (plugin_list_t *);
void PI_Init (void);
// FIXME: we need a generic function to initialize unused fields
///@}
#endif//__QF_plugin_h

View file

@ -218,7 +218,7 @@ do_trace (box_t *box, hull_t *hull, vec3_t start, vec3_t end)
trace.inwater = false;
trace.fraction = 1;
VectorCopy (box->extents, trace.extents);
// FIXME specify tract type in test spec
// FIXME specify trace type in test spec
trace.type = box == &point ? tr_point : tr_box;
VectorCopy (end, trace.endpos);
MOD_TraceLine (hull, 0, start, end, &trace);

View file

@ -114,7 +114,7 @@ do_contents (box_t *box, hull_t *hull, vec3_t origin, trace_t *trace)
{
memset (trace, 0xff, sizeof (*trace));
VectorCopy (box->extents, trace->extents);
// FIXME specify tract type in test spec
// FIXME specify trace type in test spec
trace->type = box == &point ? tr_point : tr_box;
return MOD_HullContents (hull, 0, origin, trace);
}

View file

@ -134,7 +134,6 @@ SCR_DrawRam (void)
if (!r_cache_thrash)
return;
//FIXME view
r_funcs->Draw_Pic (cl_screen_view->xpos + 32, cl_screen_view->ypos,
scr_ram);
}
@ -156,7 +155,6 @@ SCR_DrawTurtle (void)
if (count < 3)
return;
//FIXME view
r_funcs->Draw_Pic (cl_screen_view->xpos, cl_screen_view->ypos,
scr_turtle);
}
@ -172,7 +170,6 @@ SCR_DrawPause (void)
if (!r_data->paused)
return;
//FIXME view conwidth
pic = r_funcs->Draw_CachePic ("gfx/pause.lmp", true);
r_funcs->Draw_Pic ((cl_screen_view->xlen - pic->width) / 2,
(cl_screen_view->ylen - 48 - pic->height) / 2,

View file

@ -94,6 +94,8 @@ Game_Init (memhunk_t *hunk)
const char *game = "nq";
// FIXME: make this dependant on QF metadata in the mission packs
// better yet, make its actions part of the metadata and remove
// entirely
standard_quake = true;
if ((i = COM_CheckParm ("-hipnotic"))) {

View file

@ -134,7 +134,6 @@ SCR_DrawRam (void)
if (!r_cache_thrash)
return;
//FIXME view
r_funcs->Draw_Pic (cl_screen_view->xpos + 32, cl_screen_view->ypos,
scr_ram);
}
@ -156,7 +155,6 @@ SCR_DrawTurtle (void)
if (count < 3)
return;
//FIXME view
r_funcs->Draw_Pic (cl_screen_view->xpos, cl_screen_view->ypos,
scr_turtle);
}
@ -172,7 +170,6 @@ SCR_DrawPause (void)
if (!r_data->paused)
return;
//FIXME view conwidth
pic = r_funcs->Draw_CachePic ("gfx/pause.lmp", true);
r_funcs->Draw_Pic ((cl_screen_view->xlen - pic->width) / 2,
(cl_screen_view->ylen - 48 - pic->height) / 2,