Commit graph

40 commits

Author SHA1 Message Date
6d53d0b217 Remove stub definition for WaterFallBase
It’s defined in opengl.c and gcc≥10 rejects multiple definitions.
2020-05-21 21:03:45 +02:00
gaa-cifasis
310cf0da7c merged support for playing bink cutscenes and added 1366x768 resolution 2019-08-20 03:56:27 +02:00
Steven Fuller
0de664d0a8 Import icculus.org release (2015-02-14) 2019-08-20 03:51:33 +02:00
Steven Fuller
e69698d11e Added the missing support for static on the televisions. 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
790a20ef7c Silenced most of the debug messages.
Vidmode changing should work now.
2019-08-20 02:22:37 +02:00
Steven Fuller
9f006f18fe Many warnings cleaned up (Tim Beckmann)
Menus.
2019-08-20 02:22:36 +02:00
Steven Fuller
4508748944 CD Audio Support. 2019-08-20 02:22:36 +02:00
Steven Fuller
b66cdf804f Skirmish mode now works 2019-08-20 02:22:36 +02:00
Steven Fuller
a1d0e0dc87 Small menu changes 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
ea23e5a1bb Documented -DREGULAR_EDITION
Disabled the sound printfs for now.
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
35d91a5da3 Added AvP-Style attenuation code. 2019-08-20 02:22:36 +02:00
Steven Fuller
cf29827c40 Removed a few unused files. 2019-08-20 02:22:36 +02:00
Steven Fuller
90d3747b13 Added the rest of the hacks. 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
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
7460e9acd0 Implemented sky drawing and a few other routines (cloaked polygon,
rectangle, etc).

Worked around a V5 DRI issue(?) by breaking up some drawing into triangles.
2019-08-20 02:22:36 +02:00
Steven Fuller
4e94ccc65f Added the on fire, damaged, and fade down overlays.
Used polygon offset to help with decal zfighting.
2019-08-20 02:22:36 +02:00
Steven Fuller
9bc5ea655b Added ctrl+g mouse grab toggle and alt+enter fullscreen toggle.
Mouse now works during game.

Escape currently exits game (since there is no menu).
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
a5c6d1b5eb Added code for Alien's special vision mode.
Marine HUD numbers are now drawn.

Disabled the "Press Any Key" in the progress bar code for now.
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
b6076c656e Implemented HUD (Textures) and Decal drawing. 2019-08-20 02:22:36 +02:00
Steven Fuller
24847bd284 Turned texture repeating back on. (some levels seem to need it to look
'properly').

Implemented some special vision mode drawing (for Predator).
2019-08-20 02:22:36 +02:00
Steven Fuller
ba13de4472 Added texture drawing for particles (drawing not yet correct due to black
borders around the images).
2019-08-20 02:22:36 +02:00
Steven Fuller
9dadcb8024 Threw in texture loading/drawing.
Blending modes (color/texture) are problematic and texture coordinates
aren't yet perfect.
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
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
665f33b0f9 More small warning cleanups 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
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