summaryrefslogtreecommitdiff
path: root/src/main.c
AgeCommit message (Collapse)Author
2019-08-20very minor SDL changesSteven Fuller
2019-08-20Fixed stupid fullscreen changing.Steven Fuller
2019-08-20Redid the most of the file loading/saving. Now uses $HOME/.avp/ andSteven Fuller
$AVP_DIR to look for files.
2019-08-20More Warning cleanups (Tim Beckmann)Steven Fuller
2019-08-20GL_EXT_secondary_color now spelled correctly (Tim Beckmann)Steven Fuller
Progress Bar drawing hopefully fixed.
2019-08-20Redisable intro screen.Steven Fuller
2019-08-20Doc Updates.Steven Fuller
Command line options.
2019-08-20Better error checking in winapi.c. (Tim Beckmann)Steven Fuller
Keep track of profile timestamps. (Tim Beckmann) Implemented a few other missing bits.
2019-08-20Fixed the dark opengl screenshots and video mode not being initialized.Steven Fuller
2019-08-20Silenced most of the debug messages.Steven Fuller
Vidmode changing should work now.
2019-08-20Screenshots in software mode (menus) implemented.Steven Fuller
2019-08-20Many warnings cleaned up (Tim Beckmann)Steven Fuller
Menus.
2019-08-20Added Screenshot code.Steven Fuller
Moved some net stuff around.
2019-08-20Fixed stupid fullscreen toggle errorSteven Fuller
2019-08-20Fixed the mistake causing new episodes to be gained for free.Steven Fuller
2019-08-20Added missing netcode from main.c -- now skirmish (including Jockey) worksSteven Fuller
correctly.
2019-08-20Re-fixed the menus and enabled another font drawing function.Steven Fuller
Fixed Profile Loading/Saving (had to disable debug mode).
2019-08-20Disable the menus for the Alien demo.Steven Fuller
2019-08-20Small menu changesSteven Fuller
2019-08-20More work on menus.Steven Fuller
2019-08-20Most of the menu code now builds.Steven Fuller
2019-08-20Now build pldnet.cSteven Fuller
2019-08-20Removed more unused stuff.Steven Fuller
Finally finished ingame OpenGL code (I hope). Fixed another mistake in mathline.c.
2019-08-20Removed some unused code.Steven Fuller
Added some of the level drawing hacks (water, rain).
2019-08-20Removed more unused code.Steven Fuller
Implemented console input.
2019-08-20Fixed texture filtering modes.Steven Fuller
2019-08-20Removed/disabled some unused code.Steven Fuller
Readded second pass specular drawing. Fixed particle drawing (lights had mysteriously stopped showing up for a while).
2019-08-20Small changes in order to get the demos to work. Alien demo runs. MarineSteven Fuller
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-20Added a README.Steven Fuller
Added the HUD font drawing code. now stubs2.cpp is no longer needed.
2019-08-20Fixed common sound loading. Still debugging OpenAL code.Steven Fuller
2019-08-20More OpenAL changes (Chuck Mason).Steven Fuller
2019-08-20Checking in basic OpenAL support (Chuck Mason).Steven Fuller
Don't default to fullscreen for now.
2019-08-20Implemented sky drawing and a few other routines (cloaked polygon,Steven Fuller
rectangle, etc). Worked around a V5 DRI issue(?) by breaking up some drawing into triangles.
2019-08-20Adjusted the mouse grab code: When in windowed mode and mouse not grabbed,Steven Fuller
ignore mouse events and show the cursor.
2019-08-20Added code to handle mouse buttons 4/5 (mousewheel).Steven Fuller
2019-08-20Added ctrl+g mouse grab toggle and alt+enter fullscreen toggle.Steven Fuller
Mouse now works during game. Escape currently exits game (since there is no menu).
2019-08-20Added noise overlay (for marine image enhancer).Steven Fuller
2019-08-20Turned texture repeating back on. (some levels seem to need it to lookSteven Fuller
'properly'). Implemented some special vision mode drawing (for Predator).
2019-08-20Fixed particle colors for real this time.Steven Fuller
Worked around a crash (DIV_FIXED by zero) that happens when the Alien level FERARCO starts.
2019-08-20Fixed perspective texture drawing.Steven Fuller
Implemented a few simple opengl state optimizations.
2019-08-20Added texture drawing for particles (drawing not yet correct due to blackSteven Fuller
borders around the images).
2019-08-20Threw in texture loading/drawing.Steven Fuller
Blending modes (color/texture) are problematic and texture coordinates aren't yet perfect.
2019-08-20Added Particle drawing.Steven Fuller
2019-08-20Added the windows gamma code.Steven Fuller
Fixed lighting problem with weapons.
2019-08-20Implemented keyboard input.Steven Fuller
Copied some functions from pldnet and d3d_render (now the player image shows in the mirror).
2019-08-20Fixed FPU assembly. (fistp is 16bit, fistpl is 32bit)Steven Fuller
Game displays now.
2019-08-20Added simple key event processing.Steven Fuller
2019-08-20Fixed major bug in TranslatePoint (was accidently loading a value to edxSteven Fuller
instead of edi). Failed to get anything comprehendible on screen.
2019-08-20Moved inline assembly to a separate file for debugging.Steven Fuller
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-20Moved TranslatePoint into a separate file.Steven Fuller
Implemented most of the main loop in main.c. Game now seems to run OK. Need to write texture code and then add OpenGL.