games/doom: probing

This commit is contained in:
cinap_lenrek 2011-05-27 20:34:52 +00:00
parent e6d579525f
commit 98f4157b5a
2 changed files with 12 additions and 22 deletions

View file

@ -109,13 +109,8 @@ typedef enum
// Defines suck. C sucks.
// C++ might sucks for OOP, but it sure is a better C.
// So there.
#define SCREENWIDTH 320
//SCREEN_MUL*BASE_WIDTH //320
#define SCREENHEIGHT 200
//(int)(SCREEN_MUL*BASE_WIDTH*INV_ASPECT_RATIO) //200
#define SCREENWIDTH (SCREEN_MUL*BASE_WIDTH)
#define SCREENHEIGHT ((int)(SCREEN_MUL*BASE_WIDTH*INV_ASPECT_RATIO))
// The maximum number of players, multiplayer/networking.
#define MAXPLAYERS 4

View file

@ -1114,26 +1114,21 @@ void M_ChangeSensitivity(int choice)
void M_ChangeDetail(int /*choice*/)
void M_ChangeDetail(int)
{
detailLevel = 1 - detailLevel;
return;
// FIXME - does not work. Remove anyway?
fprintf( stderr, "M_ChangeDetail: low detail mode n.a.\n");
return;
/*R_SetViewSize (screenblocks, detailLevel);
if (!detailLevel)
players[consoleplayer].message = DETAILHI;
else
players[consoleplayer].message = DETAILLO;*/
/* does not work
detailLevel = 1 - detailLevel;
R_SetViewSize (screenblocks, detailLevel);
if (!detailLevel)
players[consoleplayer].message = DETAILHI;
else
players[consoleplayer].message = DETAILLO;
*/
}
void M_SizeDisplay(int choice)
{
switch(choice)