home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / files / acc / utility / dfree21 / dfree21r.c < prev    next >
Encoding:
C/C++ Source or Header  |  1990-12-22  |  3.4 KB  |  89 lines

  1. #ifndef OBJECT
  2. #include <obdefs.h>
  3. #endif
  4.  
  5. static char p_to_nul[1] = "";
  6.  
  7. TEDINFO rs_tedinfo[] = {
  8.   {"DFREE.ACC V2.1 \275 1990 Morpheus", p_to_nul, p_to_nul,
  9.      5,   6,   2, 4480,   0,   1,  31,   1},
  10.   {"Free RAM:     ", p_to_nul, p_to_nul,
  11.      5,   6,   2, 4480,   0,   1,  15,   1},
  12.   {"0000k", p_to_nul, p_to_nul,
  13.      5,   6,   0, 4480,   0, 255,   6,   1},
  14.   {"Click the Drive...", p_to_nul, p_to_nul,
  15.      5,   6,   2, 4480,   0,   1,  19,   1},
  16.   {"1234567", p_to_nul, p_to_nul,
  17.      3,   6,   2, 4480,   0, 255,   8,   1},
  18.   {"1234567890", p_to_nul, p_to_nul,
  19.      3,   6,   2, 4480,   0, 255,  11,   1},
  20.   {"K Free", p_to_nul, p_to_nul,
  21.      5,   6,   2, 4480,   0, 255,   7,   1},
  22.   {"Bytes Free", p_to_nul, p_to_nul,
  23.      5,   6,   2, 4480,   0, 255,  11,   1},
  24.   {"Drive", p_to_nul, p_to_nul,
  25.      5,   6,   2, 4480,   0, 255,   6,   1}
  26. };
  27.  
  28. ICONBLK rs_iconblk[] = {
  29.   0L
  30. };
  31.  
  32. BITBLK rs_bitblk[] = {
  33.   0L
  34. };
  35.  
  36. OBJECT rs_object[] = {
  37.   /* Tree #0*/
  38.   {  -1,   1,   3,0x0014,0x0000,0x0020, 0x00011142L,   0,   0,  30,  18},
  39.   {   2,  -1,  -1,0x0016,0x0000,0x0020, &rs_tedinfo[0],   2,   1,  25,   1},
  40.   {   5,   4,   4,0x0016,0x0000,0x0020, &rs_tedinfo[1],   2,   3,  25,   1},
  41.   {   0,  -1,  -1,0x001a,0x0027,0x0000, "Done",  11,  16,   8,   1},
  42.   {   2,  -1,  -1,0x0015,0x0000,0x0000, &rs_tedinfo[2],  15,   0,   5,   1},
  43.   {  23,  -1,  -1,0x0016,0x0000,0x0000, &rs_tedinfo[3],   2,   5,  25,   1},
  44.   {   7,  -1,  -1,0x001b,0x0041,0x0020, 0x41ff1100L,   1,   1,   2,   1},
  45.   {   8,  -1,  -1,0x001b,0x0041,0x0020, 0x42ff1100L,   4,   1,   2,   1},
  46.   {   9,  -1,  -1,0x001b,0x0041,0x0020, 0x43ff1100L,   7,   1,   2,   1},
  47.   {  10,  -1,  -1,0x001b,0x0041,0x0020, 0x44ff1100L,  10,   1,   2,   1},
  48.   {  11,  -1,  -1,0x001b,0x0041,0x0020, 0x45ff1100L,   1,   3,   2,   1},
  49.   {  12,  -1,  -1,0x001b,0x0041,0x0020, 0x46ff1100L,   4,   3,   2,   1},
  50.   {  13,  -1,  -1,0x001b,0x0041,0x0020, 0x47ff1100L,   7,   3,   2,   1},
  51.   {  14,  -1,  -1,0x001b,0x0041,0x0020, 0x48ff1100L,  10,   3,   2,   1},
  52.   {  15,  -1,  -1,0x001b,0x0041,0x0020, 0x49ff1100L,   1,   5,   2,   1},
  53.   {  16,  -1,  -1,0x001b,0x0041,0x0020, 0x4aff1100L,   4,   5,   2,   1},
  54.   {  17,  -1,  -1,0x001b,0x0041,0x0020, 0x4bff1100L,   7,   5,   2,   1},
  55.   {  18,  -1,  -1,0x001b,0x0041,0x0020, 0x4cff1100L,  10,   5,   2,   1},
  56.   {  19,  -1,  -1,0x001b,0x0041,0x0020, 0x4dff1100L,   1,   7,   2,   1},
  57.   {  20,  -1,  -1,0x001b,0x0041,0x0020, 0x4eff1100L,   4,   7,   2,   1},
  58.   {  21,  -1,  -1,0x001b,0x0041,0x0020, 0x4fff1100L,   7,   7,   2,   1},
  59.   {  25,  -1,  -1,0x001b,0x0041,0x0020, 0x50ff1100L,  10,   7,   2,   1},
  60.   {  26,  -1,  -1,0x0015,0x0000,0x0000, &rs_tedinfo[4],  14,   7,  10,   1},
  61.   {   3,  25,  29,0x0014,0x0000,0x0020, 0x00011100L,   2,   6,  25,   9},
  62.   {  27,  -1,  -1,0x0015,0x0000,0x0000, &rs_tedinfo[5],  14,   4,  10,   1},
  63.   {  22,   6,  21,0x0014,0x0000,0x0020, 0x00011131L,   0,   0,  13,   9},
  64.   {  24,  -1,  -1,0x0015,0x0000,0x0000, &rs_tedinfo[6],  14,   6,  10,   1},
  65.   {  28,  -1,  -1,0x0015,0x0000,0x0000, &rs_tedinfo[7],  14,   3,  10,   1},
  66.   {  29,  -1,  -1,0x001c,0x0000,0x0000, "A:",  20,   1,   2,   1},
  67.   {  23,  -1,  -1,0x0015,0x0000,0x0000, &rs_tedinfo[8],  15,   1,   5,   1}
  68. };
  69.  
  70. OBJECT *rs_trindex[] = {
  71.   &rs_object[0]
  72. };
  73.  
  74. #define NUM_TI 9
  75. #define NUM_IB 0
  76. #define NUM_BB 0
  77. #define NUM_OBS 30
  78. #define NUM_TREE 1
  79.  
  80.  
  81. fix_objects()
  82. {
  83.   register int i;
  84.  
  85.   for(i=0; i<NUM_OBS; i++)
  86.     rsrc_obfix(rs_object, i);
  87. }
  88.  
  89.