Repositories (1)

16
13 snippets stored for this repo
//      and that was causing me quite a problem. Got
//      it solved and the map shuffling shit works
//      PERFECTLY now!  Got tile select in, map stats,
// May 03 91 - Got entering values for infoplane stuff & all
//      that shit encompasses. Trying to get a cursor drawn
//      (with backgrnd save/restore) in CGA & EGA3 modes.
// Apr 25 91 - Got map dimension changing done! Fixed
//      some small bugs...had a WHOPPER of a fucking
//      bug today ... I was overwriting the stack
//
// Aug 09 91 - v0.29: I FUCKING FRIED THE LIB_A.ASM & LIB.C FILES!
//      THESE USED TO HOLD TED5'S TILE-DRAWING AND CGA/VGA ROUTINES!
//
       // RE-SAVE FILE HEADER
	   // NOTE: The "2" is so SaveFile doesn't truncate the fucking file!
       //
       SaveFile(mapheadname,MK_FP(MapFileHeader,2),2,sizeof(MapFileHeaderStr)-2);
	  }
//
 // RE-SAVE FILE HEADER
 // NOTE: The "2" is so MSDOS doesn't truncate the fucking file!
 //
 SaveFile(mapheadname,MK_FP(MapFileHeader,2),2,sizeof(MapFileHeaderStr)-2);
////////////////////////////////////////////////////////////////////
//
// Quit the fuck outta here!
//
////////////////////////////////////////////////////////////////////
void Quit(char *string)
//      (with backgrnd save/restore) in CGA & EGA3 modes.
//      Wish me luck! ... FUCK IT! I removed EGA3 mode -- it
//      was too much shit & kludgery to get a cursor going.
// May 03 91 - Got entering values for infoplane stuff & all
//      that shit encompasses. Trying to get a cursor drawn
//      (with backgrnd save/restore) in CGA & EGA3 modes.
//      Wish me luck! ... FUCK IT! I removed EGA3 mode -- it
//      was too much shit & kludgery to get a cursor going.
//
// May 08 91 - Well! Let's see...I got Huffman map compression
asm	cmp	al,0x80		// installed?
 asm	je	Present

 ErrDialog("You poor bastard! I refuse\n"
	   "to work without Extended\n"
	   "Memory! Goodbye!"," I Suck ");
 Quit("No Extended Memory Driver found!");
return 0;
    Quit("You're stupid! Copy the damn file!");
   }
//
  // DAMN! TRY XMS AS A LAST RESORT...
  //
300,	// fake hitler
	  950,	// mecha hitler
	  55,	// mutants