Commit graph

30 commits

Author SHA1 Message Date
Steven Fuller
fe15141c2f Removed the nasm include argument. 2019-08-20 02:22:36 +02:00
Steven Fuller
e49862a2d2 Fixed compilation with GCC 3.0.
Fixed invalid cast (ushort * -> uint *) in openal.c.
2019-08-20 02:22:36 +02:00
Steven Fuller
d6cb06cd9e Removed more unused code.
Implemented console input.
2019-08-20 02:22:36 +02:00
Steven Fuller
681b48343d Added a README.
Added the HUD font drawing code.  now stubs2.cpp is no longer needed.
2019-08-20 02:22:36 +02:00
Steven Fuller
0200ee9777 Checking in basic OpenAL support (Chuck Mason).
Don't default to fullscreen for now.
2019-08-20 02:22:36 +02:00
Steven Fuller
f169c0479c Moved psndplat stubs to a separate file. 2019-08-20 02:22:36 +02:00
Steven Fuller
3ec3df2e66 Added noise overlay (for marine image enhancer). 2019-08-20 02:22:36 +02:00
Steven Fuller
62bc91ebba Added the windows gamma code.
Fixed lighting problem with weapons.
2019-08-20 02:22:36 +02:00
Steven Fuller
d19a2069c6 Implemented keyboard input.
Copied some functions from pldnet and d3d_render (now the player image shows
in the mirror).
2019-08-20 02:22:36 +02:00
Steven Fuller
ea2f8c4527 Fixed FPU assembly. (fistp is 16bit, fistpl is 32bit)
Game displays now.
2019-08-20 02:22:36 +02:00
Steven Fuller
a113617c02 Fixed major bug in TranslatePoint (was accidently loading a value to edx
instead of edi).

Failed to get anything comprehendible on screen.
2019-08-20 02:22:36 +02:00
Steven Fuller
9e5b7f430d Moved inline assembly to a separate file for debugging.
Implemented GetTickCount/timeGetTime.

Added basic SDL/OpenGL support.

Draws something with no optimizations, but draws nothing with -O2. (What is
drawn looks like garbage.)
2019-08-20 02:22:36 +02:00
Steven Fuller
455f56573e More warning cleanups.
Removed a few unused files.
2019-08-20 02:22:36 +02:00
Steven Fuller
0770c95c17 Moved TranslatePoint into a separate file.
Implemented most of the main loop in main.c.

Game now seems to run OK.  Need to write texture code and then add OpenGL.
2019-08-20 02:22:36 +02:00
Steven Fuller
a5fdb9f7c8 Now in the Data loading phase.
Converted many '\\' to '/'.   Partially implemented win32 file routines.
Got texture code to work OK for now (still needs to be reimplemented).
Partially implemented the main loop.
2019-08-20 02:22:36 +02:00
Steven Fuller
f2c6ac7362 Forgot to ci yesterday.
Now links.
2019-08-20 02:22:36 +02:00
Steven Fuller
29792b40ef Fixed errors in inline.h.
More compiling.  156 unique undefined references.
2019-08-20 02:22:36 +02:00
Steven Fuller
cfd7274022 More compiling. 2019-08-20 02:22:36 +02:00
Steven Fuller
f097dd9258 More compiling. 2019-08-20 02:22:36 +02:00
Steven Fuller
a9cf09aa34 More compiling. 2019-08-20 02:22:36 +02:00
Steven Fuller
4db15e7459 More compiling. Things are starting to get hacky (adding stubs, commenting
out unimplemented windows stuff, and so on).
2019-08-20 02:22:36 +02:00
Steven Fuller
5c497c61a6 Implemented (most of) the inline assembly in inline.h 2019-08-20 02:22:36 +02:00
Steven Fuller
3b458d2583 More compiling. All 'easy-to-compile' files now do.
Added the Rebellion license.
2019-08-20 02:22:36 +02:00
Steven Fuller
71fa444424 Removed headers that were accidently checked in.
Lots of compiling.
2019-08-20 02:22:36 +02:00
Steven Fuller
f759e35cd8 More compilation.
Moved windows typedefs to a separate file.

Included public domain md5 routines (from dpkg).
2019-08-20 02:22:36 +02:00
Steven Fuller
6d5a3cec55 More compiling... 2019-08-20 02:22:36 +02:00
Steven Fuller
fd8ed25d23 Another file now compiles. 2019-08-20 02:22:36 +02:00
Steven Fuller
8b4a564235 Few more files compile. 2019-08-20 02:22:36 +02:00
Steven Fuller
936a5198e4 lots of small changes that didn't get checked in 2019-08-20 02:22:36 +02:00
Steven Fuller
190a6b306b Added Makefile 2019-08-20 02:22:36 +02:00