Fixes for building isle with mingw on Linux (#410)
* Add LEGO1.DLL resources * Rename smack files to lowercase This fixes casing issues with mingw on Linux Also use double quotes for #error * cmake: dxguid must come after dinput * cmake: create LEGO1.DLL instead of libLEGO1.DLL, when using mingw * act3actor.h was not including mxcore.h, and using incorrect override * g_mcoreCount seem to be signed integers * LegoCameraController: return references to static data in stub functions * Include string.h, stdlib.h and stdio.h for use of libc functions * Override MxAtomId::operator!= * Fix use of STL's std::map + std::vector * Fix template functions for mingw * iterator object is used after the for loop * IDirectDrawSurface::BltFast's first 2 arguments are x/y coordinates, not pointers * Add stub ViewLODListManager::Lookup * Fixes * Format * Remove unnecessary COMPAT_CONST use --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
BIN
LEGO1/res/arrow.cur
Normal file
|
After Width: | Height: | Size: 326 B |
BIN
LEGO1/res/busy.cur
Normal file
|
After Width: | Height: | Size: 326 B |
BIN
LEGO1/res/leaf_0.cur
Normal file
|
After Width: | Height: | Size: 766 B |
BIN
LEGO1/res/leaf_1.cur
Normal file
|
After Width: | Height: | Size: 766 B |
BIN
LEGO1/res/leaf_2.cur
Normal file
|
After Width: | Height: | Size: 766 B |
BIN
LEGO1/res/leaf_3.cur
Normal file
|
After Width: | Height: | Size: 766 B |
BIN
LEGO1/res/leaf_4.cur
Normal file
|
After Width: | Height: | Size: 766 B |
BIN
LEGO1/res/leaf_5.cur
Normal file
|
After Width: | Height: | Size: 766 B |
BIN
LEGO1/res/leaf_6.cur
Normal file
|
After Width: | Height: | Size: 766 B |
BIN
LEGO1/res/leaf_7.cur
Normal file
|
After Width: | Height: | Size: 766 B |
39
LEGO1/res/lego1.rc
Normal file
@@ -0,0 +1,39 @@
|
||||
#include "resource.h"
|
||||
|
||||
LEGO1_LEAF4 CURSOR "leaf_4.cur"
|
||||
LEGO1_LEAF7 CURSOR "leaf_7.cur"
|
||||
LEGO1_LEAF1 CURSOR "leaf_1.cur"
|
||||
LEGO1_LEAF2 CURSOR "leaf_2.cur"
|
||||
LEGO1_LEAF6 CURSOR "leaf_6.cur"
|
||||
LEGO1_LEAF0 CURSOR "leaf_0.cur"
|
||||
LEGO1_LEAF5 CURSOR "leaf_5.cur"
|
||||
LEGO1_LEAF3 CURSOR "leaf_3.cur"
|
||||
LEGO1_ARROW CURSOR "arrow.cur"
|
||||
LEGO1_BUSY CURSOR "busy.cur"
|
||||
|
||||
1 VERSIONINFO
|
||||
FILEVERSION 1,1,0,0
|
||||
PRODUCTVERSION 1,1,0,0
|
||||
FILEOS 0x40004
|
||||
FILETYPE 0x2
|
||||
{
|
||||
BLOCK "StringFileInfo"
|
||||
{
|
||||
BLOCK "040904b0"
|
||||
{
|
||||
VALUE "CompanyName", "Mindscape, Inc."
|
||||
VALUE "FileDescription", "LegoOmni Library"
|
||||
VALUE "FileVersion", "1, 1, 0, 0"
|
||||
VALUE "InternalName", "LegoOmni Library"
|
||||
VALUE "LegalCopyright", "Copyright \xA9 1997"
|
||||
VALUE "OriginalFilename", "LegoOmni Library"
|
||||
VALUE "ProductName", "LegoOmni Library"
|
||||
VALUE "ProductVersion", "1, 1, 0, 0"
|
||||
}
|
||||
}
|
||||
|
||||
BLOCK "VarFileInfo"
|
||||
{
|
||||
VALUE "Translation", 0x0409, 0x04B0
|
||||
}
|
||||
}
|
||||
12
LEGO1/res/resource.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#define LEGO1_ARROW 101
|
||||
#define LEGO1_LEAF4 102
|
||||
#define LEGO1_LEAF7 103
|
||||
#define LEGO1_LEAF1 104
|
||||
#define LEGO1_LEAF2 105
|
||||
#define LEGO1_LEAF6 106
|
||||
#define LEGO1_LEAF0 107
|
||||
#define LEGO1_LEAF5 108
|
||||
#define LEGO1_LEAF3 109
|
||||
#define LEGO1_BUSY 111
|
||||
|
||||
#define APP_ICON 105
|
||||