home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d1xx / d186 / cards'o'rama.lha / Cards'O'Rama / Sources / About_These_Files < prev    next >
Text File  |  1989-02-26  |  4KB  |  108 lines

  1. WARNING: Cards'O'Rama and its code are freely distributable as long as this
  2. notice and this file are retained in the same distribution disk.
  3. Anyway, Cards'O'Rama and its code cannot be sold for profit or included in
  4. any commercial program or publication without the written consent of the
  5. author.
  6. Cards'O'Rama is written by Werther Pirani.
  7.  
  8. January 29, 1989
  9.  
  10.  
  11.  
  12.  
  13.  
  14.                                ABOUT THESE FILES
  15.                                -----------------
  16.  
  17.    This directory contains the source files for Cards'O'Rama 1.0. If you are
  18. an experienced C programmer, you might find this code a little bit clumsy but
  19. please consider that this is my first lengthy program after a series of
  20. simple exercises. Anyway, I've tried to be as clear as possible and, where
  21. necessary, I've included some remarks to explain what I was trying to do.
  22.  
  23.    If you wish to do so, you can modify this code as long as the following
  24. restrictions are respected:
  25. 1) You *can't* modify the contents of the requesters that pops up when you
  26.    select 'Thanks' and 'About' from the 'Program' menu;
  27. 2) You *can't* modify the title bar;
  28. 3) You *can't* modify the messages that are displayed in the bottom of the
  29.    screen during the game with messages that might be offensive or obscene.
  30.    If you want to modify such messages, watch your tongue...
  31. 4) Generally speaking, you *can't* use offensive or obscene text inside this
  32.    code, whether modifying the existing one or inserting new text;
  33.  
  34.  
  35.  
  36.                               DIRECTORY CONTENTS
  37.                               ------------------
  38.  
  39.       About_These_Files          THIS file!
  40.       amigamoves.c
  41.       deletecard.c
  42.       displaycards.c
  43.       displaydata.c
  44.       event.c
  45.     * game.c                     See the note below
  46.       gameloop.c
  47.       initrequesters.c
  48.       intascii.c
  49.       menupick.c
  50.       menustuff.h
  51.     * mycards.c                  See the note below
  52.       mydefines.h
  53.     * mygadgets.c                See the note below
  54.       myscreen.h
  55.       mywindow.h
  56.       shufflecards.c
  57.       update.c
  58.       writestring.c
  59.  
  60. NOTE: The three files checked with the '*' sign, must be compiled separately
  61. and then linked together. The file game.c #includes all the others while
  62. mycards.c and mygadgets.c contains all the images and the structures needed
  63. to display the cards and the gadgets.
  64.  
  65.  
  66.  
  67.                            COMPILING THESE FILES
  68.                            ---------------------
  69.  
  70.    I use Lattice 4.0 but, as stated above, I'm a novice and so I'm still
  71. not very good at compiling. Anyway, I've moved all these files in RAM: and
  72. then I've followed these steps:
  73.  
  74. 1) lc -b -r -v game
  75.  
  76. 2) lc -b -r -v mycards
  77.  
  78. 3) lc -b -r -v mygadgets
  79.  
  80. 4) BLINK lib:c.o game.o mycards.o mygadgets.o TO Cards'O'Rama LIB lib:lc.lib
  81. lib:amiga.lib lib:lcm.lib SMALLCODE SMALLDATA NODEBUG
  82.  
  83.    I told you: you can certainly do something better! Anyway the use of the
  84. lcm.lib at linking time it's necessary since ther's a function called
  85. customrand() that needs some floating point math to generate a random number
  86. and, at this time, I haven't had the time to experimenth with the Amiga math
  87. functions...
  88.  
  89.  
  90.  
  91.                                  CONCLUSION
  92.                                  ----------
  93.  
  94.    I would like to receive comments and suggestions about this code and
  95. about compiling tricks too! I'm eager to improve and so I'm looking forward
  96. to hear it from you. You can contact me at the following address:
  97.  
  98.    Werther Pirani
  99.    Via Mario Torresi, 74
  100.    60128 Ancona
  101.    ITALY
  102.  
  103.  
  104.  
  105. Sincerely,
  106.  
  107. Werther Pirani
  108.