home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga ACS 1998 #6
/
amigaacscoverdisc1998-061998.iso
/
games
/
descent
/
source
/
main
/
kdefs.h
< prev
next >
Wrap
Text File
|
1998-06-08
|
10KB
|
411 lines
/*
* $Source: f:/miner/source/main/editor/rcs/kdefs.h $
* $Revision: 2.1 $
* $Author: yuan $
* $Date: 1995/03/08 16:07:10 $
*
* Prototypes for functions called from keypresses or buttons.
*
* $Log: kdefs.h $
* Revision 2.1 1995/03/08 16:07:10 yuan
* Added segment sizing default functions.
*
* Revision 2.0 1995/02/27 11:34:34 john
* Version 2.0! No anonymous unions, Watcom 10.0, with no need
* for bitmaps.tbl.
*
* Revision 1.97 1995/01/12 12:10:22 yuan
* Added coop object capability.
*
* Revision 1.96 1994/10/27 10:06:33 mike
* kill macro stuff.
*
* Revision 1.95 1994/09/26 23:22:59 matt
* Added functions to keep player's starting position from getting messed up
*
* Revision 1.94 1994/09/24 14:15:24 mike
* Custom colored object support.
*
* Revision 1.93 1994/09/23 18:03:52 yuan
* Finished wall checking code.
*
* Revision 1.92 1994/09/14 16:50:49 yuan
* Added load mine only function
*
* Revision 1.91 1994/08/16 18:11:03 yuan
* Maded C place you in the center of a segment.
*
* Revision 1.90 1994/08/15 17:47:55 yuan
* Added external walls.
*
* Revision 1.89 1994/08/03 10:32:10 mike
* Texture map propagation without uv assignment.
*
* Revision 1.88 1994/08/02 14:18:01 mike
* Add Object dialog.
*
* Revision 1.87 1994/07/22 17:19:15 yuan
* Working on dialog box for refuel/repair/material/control centers.
*
* Revision 1.86 1994/07/21 17:26:49 matt
* When new mine created, the default save filename is now reset
*
* Revision 1.85 1994/07/21 12:47:26 mike
* *** empty log message ***
*
* Revision 1.84 1994/07/14 14:49:19 yuan
* Added prototype
*
* Revision 1.83 1994/07/14 14:43:09 yuan
* Added new rotation functions
*
* Revision 1.82 1994/07/01 17:57:04 john
* First version of not-working hostage system
*
*
* Revision 1.81 1994/06/21 12:57:27 yuan
* Remove center from segment function added to menu.
*
* Revision 1.80 1994/06/17 16:05:20 mike
* Prototype set_average_light_on_all_quick.
*
* Revision 1.79 1994/05/31 16:43:24 john
* Added hooks to create materialization centers.
*
* Revision 1.78 1994/05/27 10:34:40 yuan
* Added new Dialog boxes for Walls and Triggers.
*
* Revision 1.77 1994/05/25 18:08:44 yuan
* Revamping walls and triggers interface.
* Wall interface complete, but triggers are still in progress.
*
* Revision 1.76 1994/05/09 23:34:04 mike
* SubtractFromGroup, CreateSloppyAdjacentJointsGroup, ClearFoundList
*
* Revision 1.75 1994/05/03 18:31:17 mike
* Add PerturbCurside.
*
* Revision 1.74 1994/05/03 11:04:39 mike
* Add prototypes for new segment sizing functions.
*
* Revision 1.73 1994/04/29 10:32:04 yuan
* Added door 8... Door typing system should be replaced soon.
*
*/
// In khelp.c
int DoHelp();
// In kcurve.c
int InitCurve();
int GenerateCurve();
int DecreaseR4();
int IncreaseR4();
int DecreaseR1();
int IncreaseR1();
int DeleteCurve();
int SetCurve();
// In kmine.c
int SaveMine();
int LoadMine();
int MineMenu();
int CreateNewMine();
int LoadOldMine();
int SaveSituation();
int LoadSituation();
// In kgame.c
void SetPlayerPosition(void);
int SaveGameData();
int LoadGameData();
int LoadMineOnly();
void ResetFilename();
// In group.c
int LoadGroup();
int SaveGroup();
int PrevGroup();
int NextGroup();
int CreateGroup();
int SubtractFromGroup();
int DeleteGroup();
int MarkGroupSegment();
int MoveGroup(void);
int CopyGroup(void);
int AttachSegmentNew();
int UngroupSegment();
int GroupSegment();
int Degroup();
int RotateGroup();
// In segment.c
void ToggleBottom();
void make_curside_bottom_side();
// In editor.c
int UndoCommand();
// In kview.c
int ZoomOut();
int ZoomIn();
int MoveAway();
int MoveCloser();
int ToggleChaseMode();
// In kbuild.c
int CreateBridge();
int FormJoint();
int CreateAdjacentJoint();
int CreateAdjacentJointsSegment();
int CreateAdjacentJointsAll();
int CreateSloppyAdjacentJoint();
int CreateSloppyAdjacentJointsGroup();
// In ksegmove.c
int DecreaseHeading();
int IncreaseHeading();
int DecreasePitch();
int IncreasePitch();
int DecreaseBank();
int IncreaseBank();
// In ksegsel.c
int SelectCurrentSegForward();
int SelectCurrentSegBackward();
int SelectNextSide();
int SelectPrevSide();
int CopySegToMarked();
int SelectBottom();
int SelectFront();
int SelectTop();
int SelectBack();
int SelectLeft();
int SelectRight();
// In ksegsize.c
int IncreaseSegLength();
int DecreaseSegLength();
int DecreaseSegWidth();
int IncreaseSegWidth();
int IncreaseSegHeight();
int DecreaseSegHeight();
int ToggleSegSizeMode();
int PerturbCurside();
int PerturbCursideBig();
int IncreaseSegLengthBig();
int DecreaseSegLengthBig();
int DecreaseSegWidthBig();
int IncreaseSegWidthBig();
int IncreaseSegHeightBig();
int DecreaseSegHeightBig();
int IncreaseSegLengthDefault();
int DecreaseSegLengthDefault();
int IncreaseSegWidthDefault();
int DecreaseSegWidthDefault();
int IncreaseSegHeightDefault();
int DecreaseSegHeightDefault();
// In ktmap.c
int AssignTexture();
int AssignTexture2();
int ClearTexture2();
int PropagateTextures();
int PropagateTexturesMove();
int PropagateTexturesMoveUVs();
int PropagateTexturesUVs();
int PropagateTexturesSelected();
//--//// In macro.c
//--//int MacroMenu();
//--//int MacroPlayFast();
//--//int MacroPlayNormal();
//--//int MacroRecordAll();
//--//int MacroRecordKeys();
//--//int MacroSave();
//--//int MacroLoad();
// In editor.c
int medlisp_update_screen();
int medlisp_delete_segment(void);
int medlisp_scale_segment(void);
int medlisp_rotate_segment(void);
int medlisp_add_segment();
int AttachSegment();
int DeleteSegment();
int DosShell();
int CallLisp();
int ExitEditor();
int ShowAbout();
int ExchangeMarkandCurseg();
int CopySegtoMarked();
int med_keypad_goto_prev();
int med_keypad_goto_next();
int med_keypad_goto();
int med_increase_tilings();
int med_decrease_tilings();
int ToggleAutosave();
int MarkStart();
int MarkEnd();
// Texture.c
int TexFlipX();
int TexFlipY();
int TexSlideUp();
int TexSlideLeft();
int TexSetDefault();
int TexSlideRight();
int TexRotateLeft();
int TexSlideDown();
int TexRotateRight();
int TexSelectActiveEdge();
int TexRotate90Degrees();
int TexIncreaseTiling();
int TexDecreaseTiling();
int TexSlideUpBig();
int TexSlideLeftBig();
int TexSlideRightBig();
int TexRotateLeftBig();
int TexSlideDownBig();
int TexRotateRightBig();
int TexStretchDown();
int TexStretchUp();
// object.c
int ObjectPlaceObject();
int ObjectMakeCoop();
int ObjectPlaceObjectTmap();
int ObjectDelete();
int ObjectMoveForward();
int ObjectMoveLeft();
int ObjectSetDefault();
int ObjectMoveRight();
int ObjectMoveBack();
int ObjectMoveDown();
int ObjectMoveUp();
int ObjectMoveNearer();
int ObjectMoveFurther();
int ObjectSelectNextinSegment();
int ObjectSelectNextType();
int ObjectDecreaseBank();
int ObjectIncreaseBank();
int ObjectDecreasePitch();
int ObjectIncreasePitch();
int ObjectDecreaseHeading();
int ObjectIncreaseHeading();
int ObjectResetObject();
// elight.c
int LightSelectNextVertex();
int LightSelectNextEdge();
int LightCopyIntensity();
int LightCopyIntensitySegment();
int LightDecreaseLightVertex();
int LightIncreaseLightVertex();
int LightDecreaseLightSide();
int LightIncreaseLightSide();
int LightDecreaseLightSegment();
int LightIncreaseLightSegment();
int LightSetMaximum();
int LightSetDefault();
int LightSetDefaultAll();
int LightAmbientLighting();
// seguvs.c
int fix_bogus_uvs_on_side();
int fix_bogus_uvs_all();
void set_average_light_on_curside(void);
void set_average_light_on_all(void);
void set_average_light_on_all_quick(void);
// Miscellaneous, please put in correct file if you have time
int IncreaseDrawDepth();
int DecreaseDrawDepth();
int GotoGame();
int GotoGameScreen();
int DropIntoDebugger();
int CreateDefaultNewSegment();
int CreateDefaultNewSegmentandAttach();
int ClearSelectedList();
int ClearFoundList();
int SortSelectedList();
int SetPlayerFromCurseg();
int SetPlayerFromCursegAndRotate();
int SetPlayerFromCursegMinusOne();
int FindConcaveSegs();
int SelectNextFoundSeg();
int SelectPreviousFoundSeg(void);
int do_reset_orient();
int GameZoomOut();
int GameZoomIn();
// John's temp page stuff
int medtmp_set_page();
// In objpage.c
int objpage_goto_next_object();
// In medsel.c
extern int SortSelectedList(void);
extern int SelectNextFoundSeg(void);
extern int SelectPreviousFoundSeg(void);
// In wall.c
extern int wall_add_blastable(void);
extern int wall_add_door(void);
extern int wall_add_closed_wall(void);
extern int wall_add_external_wall(void);
extern int wall_lock_door(void);
extern int wall_unlock_door(void);
extern int wall_automate_door(void);
extern int wall_deautomate_door(void);
extern int wall_add_illusion(void);
extern int wall_remove(void);
extern int wall_restore_all(void);
extern int wall_assign_door_1(void);
extern int wall_assign_door_2(void);
extern int wall_assign_door_3(void);
extern int wall_assign_door_4(void);
extern int wall_assign_door_5(void);
extern int wall_assign_door_6(void);
extern int wall_assign_door_7(void);
extern int wall_assign_door_8(void);
extern int do_wall_dialog(void);
extern int do_trigger_dialog(void);
extern int check_walls(void);
extern int delete_all_walls(void);
// In centers.c
extern int do_centers_dialog(void);
// In switch.c
//extern int trigger_add_damage(void);
//extern int trigger_add_blank(void);
//extern int trigger_add_exit(void);
//extern int trigger_add_repair(void);
//extern int trigger_control(void);
//extern int trigger_remove(void);
//extern int trigger_add_if_control_center_dead(void);
extern int bind_wall_to_control_trigger(void);
// In med.c
extern int fuelcen_create_from_curseg();
extern int repaircen_create_from_curseg();
extern int controlcen_create_from_curseg();
extern int robotmaker_create_from_curseg();
extern int fuelcen_reset_all();
extern void RestoreGameState();
extern int fuelcen_delete_from_curseg();
// In editor\robot.c
extern int do_robot_dialog();
extern int do_object_dialog();
// In editor\hostage.c
extern int do_hostage_dialog();