Steven Fuller
e9788e390d
Windows WIP.
2019-08-20 02:22:37 +02:00
unknown
c51b91cfe7
Windows WIP.
2019-08-20 02:22:37 +02:00
Steven Fuller
2f14808546
Removed debug quit message.
2019-08-20 02:22:37 +02:00
Steven Fuller
0e484b73da
disabled some more assembly.
...
trying out passing NULL to SDL_GL_LoadLibrary by default.
2019-08-20 02:22:37 +02:00
Steven Fuller
de29fd1d10
changed the default opengl library string to "libGL.so.1"
2019-08-20 02:22:37 +02:00
Steven Fuller
81b1a6509b
added xfree86 libgl name.
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
c77756e6fe
changed FixFilename to only lowercase the game-supplied part of a filename.
...
added better game directory detection code. now each candidate directory
is checked for validity.
2019-08-20 02:22:37 +02:00
Steven Fuller
03c87b518b
change pack alignment for opengl screenshot saving.
...
more useful error messages from ffread.cpp and language.c
2019-08-20 02:22:37 +02:00
Steven Fuller
e8789932e5
fix pov default
2019-08-20 02:22:37 +02:00
Steven Fuller
7c43155a90
basic joystick support
2019-08-20 02:22:37 +02:00
Steven Fuller
47d9cc1b2c
main.c: switched to using atexit instead of calling SDL_Quit directly.
...
npcsetup.cpp: removed old todo msg
2019-08-20 02:22:37 +02:00
Steven Fuller
8e87ff0f3e
Commented out secondary color stuff due to nvidia header lameness
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
053d51b61b
Fixed stupid fullscreen changing.
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
95b8b49b76
More Warning cleanups (Tim Beckmann)
2019-08-20 02:22:37 +02:00
Steven Fuller
5e99463577
GL_EXT_secondary_color now spelled correctly (Tim Beckmann)
...
Progress Bar drawing hopefully fixed.
2019-08-20 02:22:37 +02:00
Steven Fuller
7501334b9b
Redisable intro screen.
2019-08-20 02:22:37 +02:00
Steven Fuller
adb11a6d73
Doc Updates.
...
Command line options.
2019-08-20 02:22:37 +02:00
Steven Fuller
a2d3afb314
Better error checking in winapi.c. (Tim Beckmann)
...
Keep track of profile timestamps. (Tim Beckmann)
Implemented a few other missing bits.
2019-08-20 02:22:37 +02:00
Steven Fuller
e196a237d4
Fixed the dark opengl screenshots and video mode not being initialized.
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
9a32158ae8
Screenshots in software mode (menus) implemented.
2019-08-20 02:22:36 +02:00
Steven Fuller
9f006f18fe
Many warnings cleaned up (Tim Beckmann)
...
Menus.
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
219ab378d7
Fixed stupid fullscreen toggle error
2019-08-20 02:22:36 +02:00
Steven Fuller
949ffcfd44
Fixed the mistake causing new episodes to be gained for free.
2019-08-20 02:22:36 +02:00
Steven Fuller
f0647dd7c8
Added missing netcode from main.c -- now skirmish (including Jockey) works
...
correctly.
2019-08-20 02:22:36 +02:00
Steven Fuller
06371ecc45
Re-fixed the menus and enabled another font drawing function.
...
Fixed Profile Loading/Saving (had to disable debug mode).
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
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
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
acbc8ea8b8
Removed more unused stuff.
...
Finally finished ingame OpenGL code (I hope).
Fixed another mistake in mathline.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
d6cb06cd9e
Removed more unused code.
...
Implemented console input.
2019-08-20 02:22:36 +02:00
Steven Fuller
96a5583f3b
Fixed texture filtering modes.
2019-08-20 02:22:36 +02:00
Steven Fuller
c12ec5ff7e
Removed/disabled some unused code.
...
Readded second pass specular drawing.
Fixed particle drawing (lights had mysteriously stopped showing up for a
while).
2019-08-20 02:22:36 +02:00
Steven Fuller
c7f0dd737a
Small changes in order to get the demos to work. Alien demo runs. Marine
...
and Predator demos used a different HUD font.
Changes that need to be made for demo versions:
1. avp/langenum.h needs to be rebuilt for each demo (easy)
2. Marine and Predator demos need to use a different HUD font
3. There may be other minor differences with enums, etc.
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
48c6088c27
Fixed common sound loading. Still debugging OpenAL code.
2019-08-20 02:22:36 +02:00
Steven Fuller
c7d772650f
More OpenAL changes (Chuck Mason).
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
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
8f5bcd6c79
Adjusted the mouse grab code: When in windowed mode and mouse not grabbed,
...
ignore mouse events and show the cursor.
2019-08-20 02:22:36 +02:00
Steven Fuller
1e2e9e4280
Added code to handle mouse buttons 4/5 (mousewheel).
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
3ec3df2e66
Added noise overlay (for marine image enhancer).
2019-08-20 02:22:36 +02:00