Commit graph

59 commits

Author SHA1 Message Date
2375dff9d7 Add a Makefile 2024-08-24 15:46:13 +02:00
Steven Fuller
22475d6d94 Import icculus.org release (2014-12-25) 2019-08-20 03:45:24 +02:00
Steven Fuller
819e239f23 Switched openal-config with pkg-config openal. 2019-08-20 02:22:37 +02:00
Steven Fuller
e69698d11e Added the missing support for static on the televisions. 2019-08-20 02:22:37 +02:00
Steven Fuller
f9f50d1fb0 CFLAGS tweaks. 2019-08-20 02:22:37 +02:00
Steven Fuller
02db356511 Removed more unused code. 2019-08-20 02:22:37 +02:00
Steven Fuller
5d3725f9d9 Removed a lot of tool code. 2019-08-20 02:22:37 +02:00
Steven Fuller
361c131932 Removed most references to PSX, Saturn and E3 Demo. 2019-08-20 02:22:37 +02:00
Steven Fuller
17fe768ec9 Updated Makefile.
Updated Makefile to support the new location for source files.  The
source code was moved from the root directory to the src directory in
the CVS Repository directly before the CVS->GIT conversion.
2019-08-20 02:22:37 +02:00
Steven Fuller
b8b2d98167 added -m32 to force 32-bit. 2019-08-20 02:22:37 +02:00
Steven Fuller
71204923ad wrote a simple wave loader to remove dependency on a private openal function. 2019-08-20 02:22:37 +02:00
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