Rename all files to lowercase
Add .gitignore
Stub functions out, remove borland keywords from C

... and add a Makefile
remove jabhack, port some more c3_main

jabhack is now obsolete (patch for ldiv to use 32bit instructions).
port id_us_a.asm, and more id_us stuff

rand stuff thanks to CatacombSDL, since I'm incapable of reading asm.
port obj files and id_vw_ac.asm (but not really)

- move id_vw_ac.asm to a c file before I start fiddling with it, just to allow
  compilation, etc.
- extract data from obj files into .c files; done with trial and error, so
  probably erroneous
- introscn not done... yet!
remove some useless pragmas
nuke memory management (partially)
unstub more functions, port a couple

- no mouse/kbd/joystick management for now
- select EGA as video card by default (don't have the needed files for anything
  else, nor do I know how to generate them yet)
- typo in id_vw.c
- remove more useless pragmas
unstub id_sd stuff, then stub it from within

- use (3)usleep for delays

I'll avoid the inception pun whenever possible.
port id_ca stuff partially

this is INCOMPLETE and just results in bad reads, segfaults, etc.
CAL_HuffExpand and others must be redone thoroughly, and the obj files might
have been harvested correctly either. not sure how they should be structured.
fix(?) some issues in id_ca

- reformat EGAdict: make it an array of huffnodes instead of just bytes;
    used: :nnoremap m I<tab>{ <esc>3wlldeFx;p2wd2w2wlldeFx;pwC },<esc>
- fixed CAL_OptimizeNodes and made CAL_HuffExpand use its effects properly
  (intptr_t kind of crappy though)
- bug: length given to CAL_HuffExpand call for picmtable was using NUMPICS
  instead of NUMPICM, causing invalid reads; this is present in Cat3D and its
  sequels... I'm not sure what else this can be.
- block handling of adict until it has been rewritten like EGAdict
reformat audiodict and fix CAL_SetupAudioFile
port more stuff and always use fixed types

- port some more stuff in InitGame's chain
- remove some useless comments left out of fear of error
- CA_Shutdown: free blocks allocated for stuff and referenced in grsegs
nuke turboc project file
finish "porting" obj files

- maphead: wrong starting offset
- egahead: remove 7 crap bytes
- do introscn

this made possible thanks to Bluzt3 (Braden Obrzut)'s makeobj.c in the Keen
Dreams release.
port parts of scaling setup

- sort of remove runtime code-generation thing on init for compscales; doing
  it this ways allows me to delay graphics stuff until later, but it's really
  disgusting; probably won't work anyway; not tested, and the code that uses
  this is still commented out
- advance in the init chain a bit
refactor headers and code a bit

- cdat.h: global types, constants, forward declarations of variables
- cfns.h: global forward declarations of functions
- idat.h: same as cdat.h but for id engine
- ifns.h: same as cfns.h but for id engine
- move audioc3d.h, gfxe_c3d.h and id_strs.h contents to cdat.h
- nuke *.equ, memptr typedef
- use enums for integer constants instead of defines
- no #include's in header files -> no header guards, no mess
- move all compiled huffman dicts and heads to obj.c
- instead of FIXME macro, just comment out unported functions
- remove useless duplicates in id_us.c, leave rest for later, just in case
- some misc cleanup

got sick of duplicates, redundancies, grepping like crazy and shit.
linking now fails until necessary functions are ported. many functions still
lack a prototype. having idat.h and ifns.h sucks, but id engine isn't really
severed cleanly off of c3 stuff.
dos2unix and :retab

it's an editor thing.
add proper README