Reverted homers turn_radius again to respect higher difficulty levels; Added PRShot to menus; Fixed typo in OglAlphaEffects saving

This commit is contained in:
zicodxx 2008-04-13 10:59:10 +00:00
parent 24d1cf52f6
commit d3aca2140d
5 changed files with 6 additions and 4 deletions

View file

@ -3,6 +3,7 @@ D1X-Rebirth Changelog
20080413
--------
include/args.h, main/newmenu.c, main/collide.h, main/network.c, main/multi.c, main/multi.h, main/inferno.c, main/menu.c, main/menu.h, main/playsave.c, main/playsave.h, main/object.c, main/hud.c, main/weapon.c, main/hostage.c, main/newdemo.c, main/config.c, main/gameseq.c, main/endlevel.c, main/ai.h, main/game.c, main/gauges.c, main/game.h, main/kconfig.c, main/kconfig.h, misc/args.c, d1x.ini, arch/ogl/ogl.c, arch/ogl/gr.c, arch/sdl/joy.c, arch/include/joy.h: Added structure for values saved in PLR/PLX files; Added most common command-line options to options menu
main/laser.c, main/menu.c, main/playsave.c: Reverted homers turn_radius again to respect higher difficulty levels; Added PRShot to menus; Fixed typo in OglAlphaEffects saving
20080408
--------

View file

@ -1016,7 +1016,7 @@ void Laser_do_weapon_sequence(object *obj)
{
fix turn_radius;
turn_radius = 0x0018 * F1_0;
turn_radius = 0x0024 * F1_0;
vm_vec_sub(&vector_to_object, &Objects[track_goal].pos, &obj->pos);

View file

@ -618,7 +618,7 @@ void input_config()
void do_graphics_menu()
{
newmenu_item m[8];
newmenu_item m[9];
int i = 0, j = 0;
do {
@ -630,6 +630,7 @@ void do_graphics_menu()
m[5].type = NM_TYPE_TEXT; m[5].text="";
m[6].type = NM_TYPE_CHECK; m[6].text="Transparency Effects"; m[6].value = PlayerCfg.OglAlphaEffects;
m[7].type = NM_TYPE_CHECK; m[7].text="Vectorial Reticle"; m[7].value = PlayerCfg.OglReticle;
m[8].type = NM_TYPE_CHECK; m[8].text="Screenshots w/o HUD"; m[8].value = PlayerCfg.OglPRShot;
m[GameCfg.TexFilt+2].value=1;
@ -640,6 +641,7 @@ void do_graphics_menu()
GameCfg.TexFilt = j;
PlayerCfg.OglAlphaEffects = m[6].value;
PlayerCfg.OglReticle = m[7].value;
PlayerCfg.OglPRShot = m[8].value;
} while( i>-1 );
}

View file

@ -531,7 +531,7 @@ int write_player_d1x(char *filename)
PHYSFSX_printf(fout,"persistentdebris=%i\n",PlayerCfg.PersistentDebris);
PHYSFSX_printf(fout,"[end]\n");
PHYSFSX_printf(fout,"[opengl]\n");
PHYSFSX_printf(fout,"oglaplhaeffects=%i\n",PlayerCfg.OglAlphaEffects);
PHYSFSX_printf(fout,"oglalphaeffects=%i\n",PlayerCfg.OglAlphaEffects);
PHYSFSX_printf(fout,"oglreticle=%i\n",PlayerCfg.OglReticle);
PHYSFSX_printf(fout,"oglprshot=%i\n",PlayerCfg.OglPRShot);
PHYSFSX_printf(fout,"[end]\n");

View file

@ -46,7 +46,6 @@ typedef struct hli {
ubyte LevelNum;
} hli;
// FIXME!!! NOW THINK AGAIN IF ALL NEW PARTS ARE SOMEHOW ACCESSIBLE FROM MENUS!!!
typedef struct player_config
{
ubyte ControlType;