Commit graph

48 commits

Author SHA1 Message Date
Steven Fuller
d9a250e1df removed nasm support. 2019-08-20 02:22:37 +02:00
Steven Fuller
d97c4252d6 OpenGL library is now loaded dynamically. 2019-08-20 02:22:37 +02:00
Steven Fuller
46e7680ea1 updated Makefile for TranslatePoint change... 2019-08-20 02:22:37 +02:00
Steven Fuller
e956318723 use g++ for linking 2019-08-20 02:22:37 +02:00
Steven Fuller
553fa56442 misc changes 2019-08-20 02:22:37 +02:00
Steven Fuller
e681d155d9 Disable Gold-only weapons for Regular edition (Tim Beckmann)
fixed compiling with -DNDEBUG
2019-08-20 02:22:37 +02:00
Steven Fuller
6fc3502f4b very minor SDL changes 2019-08-20 02:22:37 +02:00
Steven Fuller
080430b3bd Redid the most of the file loading/saving. Now uses $HOME/.avp/ and
$AVP_DIR to look for files.
2019-08-20 02:22:37 +02:00
Steven Fuller
c69d422333 Moved LightIntensityAtPoint to a better location.
Silenced more stub messages.
2019-08-20 02:22:37 +02:00
Steven Fuller
4508748944 CD Audio Support. 2019-08-20 02:22:36 +02:00
Steven Fuller
b4a55b2618 Added Screenshot code.
Moved some net stuff around.
2019-08-20 02:22:36 +02:00
Steven Fuller
7e7423ec29 Fixed Makefile 2019-08-20 02:22:36 +02:00
Steven Fuller
ab1b808ef3 Debian SDL+NVIDIA workaround 2019-08-20 02:22:36 +02:00
Steven Fuller
442b6b52ea Disable the menus for the Alien demo. 2019-08-20 02:22:36 +02:00
Steven Fuller
7ef81cbc6e More work on menus. 2019-08-20 02:22:36 +02:00
Steven Fuller
0b37ed3309 Most of the menu code now builds. 2019-08-20 02:22:36 +02:00
Steven Fuller
7647c9d8af Now build pldnet.c 2019-08-20 02:22:36 +02:00
Steven Fuller
abd1c68579 Removed some unused code.
Added some of the level drawing hacks (water, rain).
2019-08-20 02:22:36 +02:00
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