im pretty sure it has to do with one of these functions.
Code: Select all
void M_DrawSlider (int x, int y, float range)
{
int i;
if (range < 0)
range = 0;
if (range > 1)
range = 1;
M_DrawCharacter (x-8, y, 128);
for (i=0 ; i<SLIDER_RANGE ; i++)
M_DrawCharacter (x + i*8, y, 129);
M_DrawCharacter (x+i*8, y, 130);
M_DrawCharacter (x + (SLIDER_RANGE-1)*8 * range, y, 131);
}
void M_DrawCheckbox (int x, int y, int on)
{
#if 0
if (on)
M_DrawCharacter (x, y, 131);
else
M_DrawCharacter (x, y, 129);
#endif
if (on)
M_Print (x, y, "on");
else
M_Print (x, y, "off");
}
esp. if its the draw check box one, cause it shows x,y, then only gives one number for placement. im im guessing that may not be it. anyone mind pointing me in the right direction?
never mind! i figured it out right as i gave up xD.
to anyone starting off who might be trying to do something similar.
this is it right here.
M_Print (16, 96, " Invert Mouse");
M_DrawCheckbox (220, 96, m_pitch.value < 0);
next its time to learn how to make the selection line up with the options! lol...
all done mainly with the menu.
so next im wondering how do i implement mouse look with y coordinates as well? (with out having told hold button)
im going to replace that always run option with mouse look yes/no