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
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
12c6a39177
'Undid' stubbing of IndexedFont::IndexedFont and IndexedFont::GetFont().
...
Initialized ScreenDescriptorBlock to some default values.
Now AvP runs and exits with no errors with current main()
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
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