build: Changed to an out-of-tree build.

Header files move to ./include directory, and source files move to ./src
directory. The Makefile reflects these changes.

TODO: Change to autotools for cross-platform building.

Signed-off-by: Benoit Marcot <benoit.marcot@arm.com>
clean: Delete trailing whitespaces.

Signed-off-by: Benoit Marcot <benoit.marcot@arm.com>
misc: Fix the errno.

Presumably, initial release was using an old version of the libc with a
different errno header.

Signed-off-by: Benoit Marcot <benoit.marcot@arm.com>
misc: Fix a typo (SNDSRV -> SNDSERV).

Signed-off-by: Benoit Marcot <benoit.marcot@arm.com>
build: Makefile cleaning.
code: Fix error at compile.

Presumably, the project was built with a very permissive compiler. The default
configuration load/save shall be revamped. This change only make the source
code to compile.
build: Link with the math library.

Needs the math library to support the pow() function.
code: Fix some warnings at compile-time.
code: Fix some warnings at compile-time.
Merge branch 'master' of github.com:bmarcot/DOOM

Conflicts:
	linuxdoom-1.10/src/m_misc.c
misc: Doin' shit with git...
code: Dummy Xlib functions.

Add dummy (empty) Xlib functions to get the source compiling and
linking correctly.

TODO: Implement each Xlib function used.
build: Fix Makefile.

Create correctly the obj directory.
code: Add debug prints.
code: Add debug prints.
code: Disable the sound code.

The sound code was responsible for a segfault, due to a missing XShm
function.

Disable the sound init code. No sound supported at the moment. Sound
should be supported as an independent sound server (different process).
misc: Add the DOOM1.WAD ressource pack.

DOOM1.WAD is the shareware ressource pack for DOOM.

TODO: Replace DOOM1.WAD with a FreeDOOM ressource pack. Check
FreeDOOM ressource's licensing.
Merge branch 'master' of https://github.com/bmarcot/DOOM
misc: List of external headers.

List of headers pointing to external libs, such as X11 and libc.
code: Remove deprecated calls to alloca().

The alloca() function is deprecated and, according to the man, sometime buggy
for some platform. The calls are replaced by Z_Malloc() / Z_Free() pairs.

Chocolate DOOM did the same.