mirror of
https://github.com/ioquake/jedi-academy.git
synced 2024-11-22 04:11:57 +00:00
Merge pull request #5 from jonathangray/amd64_fix
amd64 fix for CBlockStream/icarus
This commit is contained in:
commit
e1ff5e35b1
3 changed files with 4 additions and 5 deletions
|
@ -18,9 +18,6 @@ copy jasp and jagame*.so to your game data directory
|
|||
|
||||
When running windowed the mouse does not work in the menus.
|
||||
|
||||
Loading levels on amd64 seems to skip the cutscenes and
|
||||
not properly set everything up.
|
||||
|
||||
Save games do not yet work on amd64.
|
||||
|
||||
The demo has various issues and does not work properly.
|
||||
|
|
|
@ -425,7 +425,7 @@ int CBlockStream::Create( char *filename )
|
|||
return false;
|
||||
}
|
||||
|
||||
fwrite( s_IBI_HEADER_ID, 1, sizeof(s_IBI_HEADER_ID), m_fileHandle );
|
||||
fwrite( s_IBI_HEADER_ID, 1, sizeof(IBI_HEADER_ID), m_fileHandle );
|
||||
fwrite( &s_IBI_VERSION, 1, sizeof(s_IBI_VERSION), m_fileHandle );
|
||||
|
||||
return true;
|
||||
|
@ -551,7 +551,7 @@ Open
|
|||
|
||||
int CBlockStream::Open( char *buffer, long size )
|
||||
{
|
||||
char id_header[sizeof(s_IBI_HEADER_ID)];
|
||||
char id_header[sizeof(IBI_HEADER_ID)];
|
||||
float version;
|
||||
|
||||
Init();
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#define IBI_HEADER_ID "IBI"
|
||||
|
||||
typedef float vec3_t[3];
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue