Commit graph

16 commits

Author SHA1 Message Date
Steven Fuller
0de664d0a8 Import icculus.org release (2015-02-14) 2019-08-20 03:51:33 +02:00
unknown
c51b91cfe7 Windows WIP. 2019-08-20 02:22:37 +02:00
Steven Fuller
f570ed86c4 Replaced the i386 inline assembly with C equivalents. 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
030db5bb23 compile fixes for gcc 4.0 / osx. 2019-08-20 02:22:37 +02:00
Steven Fuller
d9a250e1df removed nasm support. 2019-08-20 02:22:37 +02:00
Steven Fuller
d0484e7829 Converted TranslatePoint to C. 2019-08-20 02:22:37 +02:00
Steven Fuller
553fa56442 misc changes 2019-08-20 02:22:37 +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
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
dee2992e7f Fixed crash on the Subway DM level. (something wrong with CMP_LL) 2019-08-20 02:22:36 +02:00
Steven Fuller
de3fda828d Fixed particle colors for real this time.
Worked around a crash (DIV_FIXED by zero) that happens when the Alien level
FERARCO starts.
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
45cf2eb3a1 Added simple key event processing. 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