home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C++ / Applications / Muddweller 1.2 / source code / README < prev    next >
Encoding:
Text File  |  1994-02-22  |  8.0 KB  |  167 lines  |  [TEXT/MPS ]

  1. This directory contains the source code for MUDDweller 1.2, a MUD client
  2. for the Macintosh. This program is written in MPW C++ and uses MacApp
  3. 2.0.1.
  4.  
  5. In order to compile this program, you will need MPW 3.2 and assorted
  6. libraries, MPW C++ and MacApp 2.0.1. I made the following changes
  7. to MacApp in order to gain some additional control over the handling
  8. of low memory conditions and to fix bugs (the files on Programming
  9. contain the original version):
  10.  
  11. File #1: HardDisk:MPW:MacApp:Libraries:UDebug.inc1.p
  12. File #2: Programming:ETO Tools:MacApp:MacApp 2.0.1:MacApp 2.0.1 - HD Ready:Libraries:UDebug.inc1.p
  13.  
  14. Nonmatching lines (File "HardDisk:MPW:MacApp:Libraries:UDebug.inc1.p"; Line 1413:1414; File "Programming:ETO Tools:MacApp:MacApp 2.0.1:MacApp 2.0.1 - HD Ready:Libraries:UDebug.inc1.p"; Line 1413:1414)
  15. 1413    {           pOldexLineF := ProcPtrPtr(exLineF)^;
  16. 1414                ProcPtrPtr(exLineF)^ := @XDebugLineF; }
  17.  
  18. 1413                pOldexLineF := ProcPtrPtr(exLineF)^;
  19. 1414                ProcPtrPtr(exLineF)^ := @XDebugLineF;
  20.  
  21.  
  22. Nonmatching lines (File "HardDisk:MPW:MacApp:Libraries:UDebug.inc1.p"; Line 1443:1444; File "Programming:ETO Tools:MacApp:MacApp 2.0.1:MacApp 2.0.1 - HD Ready:Libraries:UDebug.inc1.p"; Line 1443:1444)
  23. 1443    {           IF ProcPtrPtr(exLineF)^ = @XDebugLineF THEN
  24. 1444                    ProcPtrPtr(exLineF)^ := pOldexLineF; }
  25.  
  26. 1443                IF ProcPtrPtr(exLineF)^ = @XDebugLineF THEN
  27. 1444                    ProcPtrPtr(exLineF)^ := pOldexLineF;
  28.  
  29.  
  30. *** EOF on both files at the same time ***
  31.  
  32.  
  33. File #1: HardDisk:MPW:MacApp:Libraries:UMacApp.TApplication.p
  34. File #2: Programming:ETO Tools:MacApp:MacApp 2.0.1:MacApp 2.0.1 - HD Ready:Libraries:UMacApp.TApplication.p
  35.  
  36. Extra lines in 1st before 3128 in 2nd (File "HardDisk:MPW:MacApp:Libraries:UMacApp.TApplication.p"; Line 3128; File "Programming:ETO Tools:MacApp:MacApp 2.0.1:MacApp 2.0.1 - HD Ready:Libraries:UMacApp.TApplication.p"; Line Δ3128)
  37. 3128                gClipClaimed := FALSE;
  38.  
  39.  
  40. *** EOF on both files at the same time ***
  41.  
  42.  
  43. File #1: HardDisk:MPW:MacApp:Libraries:UMacApp.TControls.p
  44. File #2: Programming:ETO Tools:MacApp:MacApp 2.0.1:MacApp 2.0.1 - HD Ready:Libraries:UMacApp.TControls.p
  45.  
  46. Nonmatching lines (File "HardDisk:MPW:MacApp:Libraries:UMacApp.TControls.p"; Line 922; File "Programming:ETO Tools:MacApp:MacApp 2.0.1:MacApp 2.0.1 - HD Ready:Libraries:UMacApp.TControls.p"; Line 922:923)
  47.  922        WhileFocused(DoSetVal, redraw);
  48.  
  49.  922        IF GetCtlValue(fCMgrControl) <> newVal THEN
  50.  923            WhileFocused(DoSetVal, redraw);
  51.  
  52.  
  53. Nonmatching lines (File "HardDisk:MPW:MacApp:Libraries:UMacApp.TControls.p"; Line 1339; File "Programming:ETO Tools:MacApp:MacApp 2.0.1:MacApp 2.0.1 - HD Ready:Libraries:UMacApp.TControls.p"; Line 1340)
  54. 1339        fScrollers := NIL;
  55.  
  56. 1340    
  57.  
  58.  
  59. *** EOF on both files at the same time ***
  60.  
  61.  
  62. File #1: HardDisk:MPW:MacApp:Libraries:UMacApp.TDocument.p
  63. File #2: Programming:ETO Tools:MacApp:MacApp 2.0.1:MacApp 2.0.1 - HD Ready:Libraries:UMacApp.TDocument.p
  64.  
  65. Nonmatching lines (File "HardDisk:MPW:MacApp:Libraries:UMacApp.TDocument.p"; Line 1051; File "Programming:ETO Tools:MacApp:MacApp 2.0.1:MacApp 2.0.1 - HD Ready:Libraries:UMacApp.TDocument.p"; Line 1051)
  66. 1051        { SetChangeCount(0);  ... we don't always want to do that }
  67.  
  68. 1051        SetChangeCount(0);
  69.  
  70.  
  71. *** EOF on both files at the same time ***
  72.  
  73.  
  74. File #1: HardDisk:MPW:MacApp:Libraries:UMemory.inc1.p
  75. File #2: Programming:ETO Tools:MacApp:MacApp 2.0.1:MacApp 2.0.1 - HD Ready:Libraries:UMemory.inc1.p
  76.  
  77. Nonmatching lines (File "HardDisk:MPW:MacApp:Libraries:UMemory.inc1.p"; Line 16:17; File "Programming:ETO Tools:MacApp:MacApp 2.0.1:MacApp 2.0.1 - HD Ready:Libraries:UMemory.inc1.p"; Line 16)
  78.   16    PROCEDURE BuildCodeReserve(allocLim: Size;
  79.   17                               fromGZ: BOOLEAN);
  80.  
  81.   16    FUNCTION GrowZoneProc(needed: Size): LONGINT;
  82.  
  83.  
  84. Nonmatching lines (File "HardDisk:MPW:MacApp:Libraries:UMemory.inc1.p"; Line 20; File "Programming:ETO Tools:MacApp:MacApp 2.0.1:MacApp 2.0.1 - HD Ready:Libraries:UMemory.inc1.p"; Line 19:20)
  85.   20    FUNCTION HandleIsEligible(h: Handle): BOOLEAN;
  86.  
  87.   19    PROCEDURE BuildCodeReserve(allocLim: Size;
  88.   20                               fromGZ: BOOLEAN);
  89.  
  90.  
  91. Extra lines in 2nd before 23 in 1st (File "HardDisk:MPW:MacApp:Libraries:UMemory.inc1.p"; Line Δ23; File "Programming:ETO Tools:MacApp:MacApp 2.0.1:MacApp 2.0.1 - HD Ready:Libraries:UMemory.inc1.p"; Line 23:25)
  92.   23    FUNCTION HandleIsEligible(h: Handle): BOOLEAN;
  93.   24        FORWARD;
  94.   25    
  95.  
  96.  
  97. Extra lines in 1st before 51 in 2nd (File "HardDisk:MPW:MacApp:Libraries:UMemory.inc1.p"; Line 48:50; File "Programming:ETO Tools:MacApp:MacApp 2.0.1:MacApp 2.0.1 - HD Ready:Libraries:UMemory.inc1.p"; Line Δ51)
  98.   48    FUNCTION CallAppGZ (needed: LONGINT; routine: ProcPtr): LONGINT;
  99.   49        INLINE $205F, $4E90;                                { MOVE.L (A7)+,A0; JSR (A0) }
  100.   50    
  101.  
  102.  
  103. Extra lines in 1st before 712 in 2nd (File "HardDisk:MPW:MacApp:Libraries:UMemory.inc1.p"; Line 712; File "Programming:ETO Tools:MacApp:MacApp 2.0.1:MacApp 2.0.1 - HD Ready:Libraries:UMemory.inc1.p"; Line Δ712)
  104.  712        gAppGrowZone := NIL;
  105.  
  106.  
  107. Nonmatching lines (File "HardDisk:MPW:MacApp:Libraries:UMemory.inc1.p"; Line 899:909; File "Programming:ETO Tools:MacApp:MacApp 2.0.1:MacApp 2.0.1 - HD Ready:Libraries:UMemory.inc1.p"; Line 898:912)
  108.  899                    IF codeSize + reserveSize + 8 > pSzCodeReserve THEN
  109.  900                        BEGIN                                   { reserve is too big }
  110.  901                        reserveSize := pSzCodeReserve - codeSize - 8;
  111.  902                        IF reserveSize > 0 THEN
  112.  903                            SetHandleSize (pCodeReserve, reserveSize)
  113.  904                        ELSE
  114.  905                            BEGIN
  115.  906                            EmptyHandle (pCodeReserve);
  116.  907                            pReserveExists := FALSE;
  117.  908                            END;
  118.  909                        result := 1;
  119.  
  120.  898        
  121.  899                    { the following test is an optimization to avoid calling
  122.  900                    BuildCodeReserve if there is no hope of reducing
  123.  901                    the code reserve handle }
  124.  902                    IF codeSize + reserveSize + 8 > pSzCodeReserve THEN
  125.  903                        BEGIN                                   { reserve is too big }
  126.  904                        pReserveExists := FALSE;
  127.  905                        { this should lower the code reserve }
  128.  906                        BuildCodeReserve(reserveSize, TRUE);
  129.  907        
  130.  908                        { see if we succeeded in freeing some memory }
  131.  909                        IF IsHandlePurged(pCodeReserve) THEN
  132.  910                            result := 1
  133.  911                        ELSE IF GetHandleSize(pCodeReserve) < reserveSize THEN
  134.  912                            result := 1;
  135.  
  136.  
  137. Extra lines in 1st before 935 in 2nd (File "HardDisk:MPW:MacApp:Libraries:UMemory.inc1.p"; Line 932:933; File "Programming:ETO Tools:MacApp:MacApp 2.0.1:MacApp 2.0.1 - HD Ready:Libraries:UMemory.inc1.p"; Line Δ935)
  138.  932            
  139.  933            IF (result = 0) & (gAppGrowZone <> NIL) THEN result := CallAppGZ (needed, gAppGrowZone);
  140.  
  141.  
  142. *** EOF on both files at the same time ***
  143.  
  144.  
  145. File #1: HardDisk:MPW:MacApp:Libraries:UTEView.TTECommand.p
  146. File #2: Programming:ETO Tools:MacApp:MacApp 2.0.1:MacApp 2.0.1 - HD Ready:Libraries:UTEView.TTECommand.p
  147.  
  148. Nonmatching lines (File "HardDisk:MPW:MacApp:Libraries:UTEView.TTECommand.p"; Line 349; File "Programming:ETO Tools:MacApp:MacApp 2.0.1:MacApp 2.0.1 - HD Ready:Libraries:UTEView.TTECommand.p"; Line 349)
  149.  349        SetRect(itsMargins, 0, 0, 10, 0);                   { No bottom margin. }
  150.  
  151.  349        SetRect(itsMargins, 10, 8, 10, 0);                  { No bottom margin. }
  152.  
  153.  
  154. *** EOF on both files at the same time ***
  155.  
  156.  
  157. File #1: HardDisk:MPW:MacApp:Libraries:UTEView.TTEView.p
  158. File #2: Programming:ETO Tools:MacApp:MacApp 2.0.1:MacApp 2.0.1 - HD Ready:Libraries:UTEView.TTEView.p
  159.  
  160. Nonmatching lines (File "HardDisk:MPW:MacApp:Libraries:UTEView.TTEView.p"; Line 887; File "Programming:ETO Tools:MacApp:MacApp 2.0.1:MacApp 2.0.1 - HD Ready:Libraries:UTEView.TTEView.p"; Line 887)
  161.  887                        { info.affectsMenus := FALSE; } { ahem... what about 'Select All' ? }
  162.  
  163.  887                        info.affectsMenus := FALSE;
  164.  
  165.  
  166. *** EOF on both files at the same time ***
  167.