Annotation of src/whdparm.h, revision 1.1

1.1     ! root        1: //**
        !             2: //** Application specific defines for INSTALL.C
        !             3: //**
        !             4: 
        !             5: #ifndef _CONTROLS_H
        !             6: #include "whdcntrl.h"
        !             7: #endif
        !             8: 
        !             9: #define   EXEFILENAME         "WHDEMO.EXE"
        !            10: #define   MININSTALLBYTES     22000000
        !            11: 
        !            12: #define   SETUPNAME           "WITCHAVEN SETUP UTILITY V1.0"
        !            13: #define   SETUPVERSION        "COPYRIGHT (C) 1996 INTRACORP, INC."
        !            14: 
        !            15: struct smk {
        !            16:      int  Active;                  // smack is currently playing flag
        !            17:      int  Loop;                    // loop this smack continuously
        !            18:      int  State;                   // link this smack to a I_? state (below)
        !            19:      int  Frame;                   // current frame being played
        !            20:      int  Flag;                    // 1=load in memory, -1=never play
        !            21:      char *File;                   // smack filename (in INSTALLDATAPATH)
        !            22:      Smack *Smack;                 // pointer to this Smack's structure
        !            23: };
        !            24: 
        !            25: //** Sample to keep in memory
        !            26: enum {
        !            27:      WAV_CLICK,
        !            28:      WAV_MAXSAMPLES
        !            29: };
        !            30: 
        !            31: char *sampleDataFile[WAV_MAXSAMPLES]={
        !            32:      "CLICK.WAV"
        !            33: };
        !            34: 
        !            35: //** Main install program states
        !            36: enum {
        !            37:      I_DETECTAUDIO,
        !            38:      I_DETECTMIDI,
        !            39:      I_GETDESTINATIONPATH,
        !            40:      I_COPYFILES,
        !            41:      I_GETCONTROLCONFIG,
        !            42:      I_GETVIDEOMODE,
        !            43:      I_MAXSTATES
        !            44: } installState;
        !            45: 
        !            46: //** Register all playable smacks here
        !            47: struct smk smk[]={
        !            48:      { 1, 1, -1,                   0, 1, "penta.smk", NULL},
        !            49:      { 0, 0, 0,                    0, 0, NULL, NULL} // terminator
        !            50: };
        !            51: 
        !            52: //** Heres a list of files to copy from the CD to the destination path
        !            53: char defPath[]="\\CAPSTONE\\WHDEMO\\",
        !            54:      srcPath[]="\\WHAVEN\\DEMO\\RUN\\",
        !            55:      *fileList[]={
        !            56:           "CAPSTONE.SMK",
        !            57:           "DOS4GW.EXE",
        !            58:           "DRUM.BNK",
        !            59:           "HMIDET.386",
        !            60:           "HMIDRV.386",
        !            61:           "HMIMDRV.386",
        !            62:           "JOESND",
        !            63:           "LEVEL1.MAP",
        !            64:           "LEVEL2.MAP",
        !            65:           "LEVEL3.MAP",
        !            66:           "LOOKUP.DAT",
        !            67:           "LOOPS",
        !            68:           "MELODIC.BNK",
        !            69:           "PALETTE.DAT",
        !            70:           "SETUP.EXE",
        !            71:           "SETUP.INI",
        !            72:           "SMACKPLY.EXE",
        !            73:           "SONGS",
        !            74:           "TABLES.DAT",
        !            75:           "TEST.HMP",
        !            76:           "TEST.RAW",
        !            77:           "TILES000.ART",
        !            78:           "TILES001.ART",
        !            79:           "TILES002.ART",
        !            80:           "TILES003.ART",
        !            81:           "TILES004.ART",
        !            82:           "TILES005.ART",
        !            83:           "TILES006.ART",
        !            84:           "TILES007.ART",
        !            85:           "TILES008.ART",
        !            86:           "WHDEMO.EXE",
        !            87:           NULL
        !            88:      };
        !            89: 
        !            90: //** Randomly played songs (after MIDI selection is made)
        !            91: #define   MAXSONGS            3
        !            92: 
        !            93: char *songs[MAXSONGS]={
        !            94:      "SONG1.HMP",
        !            95:      "SONG2.HMP",
        !            96:      "SONG3.HMP"
        !            97: };
        !            98: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.