From: alexr@spies.com (Alex Rosenberg) Newsgroups: alt.games.marathon Subject: Re: Some more engine curiosities Date: Fri, 18 Feb 2000 03:13:58 -0800 Organization: Hackers Anonymous Lines: 32 Message-ID: <alexr-1802000313580001@roseal2.apple.com> In article <170220002134337699%petrich@netcom.com>, Loren Petrich <petrich@netcom.com> wrote: > It has a minimum distance that it will draw something at -- it's >1/20 of a World Unit, which is about 4 in or 10 cm in familiar units. >It is > >#define MINIMUM_OBJECT_DISTANCE ((short)(WORLD_ONE/20)) > >in render.h (WORLD_ONE is defined in world.h) IIRC, this is to prevent the player's shape from being drawn, since rounding error would sometimes cause it to move in from of the camera. > Also, there is a standard random-number seed: > >#define DEFAULT_RANDOM_SEED ((word)0xfded) > >in world.h; that looks a lot like the designation of the alien weapon. It's the location of COUT in the ROM on the Apple ][. > Finally, in player.h, there is this player-state flag: > >_player_has_cheated_flag Tied to the use of the non-FINAL build cheat codes. Look in shell.c at handle_game_key near the beginning. +------------------------------------------------------------+ | Alexander M. Rosenberg <mailto:alexr@_spies.com> | | Nobody cares what I say. Remove the underscore to mail me. | |