1
0
Fork 0
Commit Graph

18 Commits (5f31783b0c256c530ff824a2ed6347db5763c700)

Author SHA1 Message Date
galaxyhaxz 0db106a5b4
Add support for Visual C++ 5.10 (#12)
* Update stuff
2018-06-14 02:38:27 -05:00
mewmew a441cc00df Implement memset32 and fix compilation errors for storm.h
Now Golem works on Linux as well.

---

Source/../defs.h: In function ‘void memset32(void*, unsigned int, size_t)’:
Source/../defs.h:35:8: error: expected ‘(’ before ‘{’ token
  __asm {
        ^
Source/../defs.h:36:3: error: ‘mov’ was not declared in this scope
   mov ecx, n

---

Source/../3rdParty/Storm/Source/storm.h:1300:15: error: conflicting declaration of C function ‘int SNetGetProviderCaps(_SNETCAPS*)’
 int __stdcall SNetGetProviderCaps(struct _SNETCAPS *);

---

Source/../3rdParty/Storm/Source/storm.h:1297:18: error: conflicting declaration of C function ‘void* SNetRegisterEventHandler(int, void (__attribute__((__stdcall__)) *)(_SNETEVENT*))’
 void * __stdcall SNetRegisterEventHandler(int,void (__stdcall*)(struct _SNETEVENT *));

---

Source/../3rdParty/Storm/Source/storm.h:1299:15: error: conflicting declaration of C function ‘int SNetInitializeProvider(long unsigned int, _SNETPROGRAMDATA*, _SNETPLAYERDATA*, _SNETUIDATA*, _SNETVERSIONDATA*)’
 int __stdcall SNetInitializeProvider(unsigned long,struct _SNETPROGRAMDATA *,struct _SNETPLAYERDATA *,struct _SNETUIDATA *,struct _SNETVERSIONDATA *);

---

Source/multi.cpp:1046:75: error: cannot convert ‘_SNETPROGRAMDATA*’ to ‘client_info* {aka _client_info*}’ for argument ‘2’ to ‘BOOL SNetInitializeProvider(DWORD, client_info*, user_info*, battle_info*, module_info*)’
2018-06-11 09:09:41 +02:00
galaxyhaxz 81f360f8bb
Update storm.dsp 2018-06-09 05:23:42 -05:00
galaxyhaxz 1a9cb74ede
Delete StdAfx.h 2018-06-09 05:22:54 -05:00
galaxyhaxz 4d003de66b
Delete StdAfx.cpp 2018-06-09 05:22:45 -05:00
galaxyhaxz ecb2747d24
Delete _storm.h 2018-06-09 05:22:37 -05:00
galaxyhaxz 8ab44ba18e
Revert EOL for windows 2018-06-08 21:30:50 -05:00
galaxyhaxz 53da0929d3
Delete storm.def 2018-06-08 21:30:29 -05:00
galaxyhaxz e8bc617743
Fix compatibility with GNU/MSVC 2018-06-08 21:14:44 -05:00
galaxyhaxz 0e81dfa087
Fix EOL 2018-06-08 21:12:27 -05:00
galaxyhaxz 84e734e55b
Make compatible with both GNU/MSVC 2018-06-08 21:09:45 -05:00
mewmew 445520a31d Copy storm.def and diabloui.def to work with VS and GCC
Updates #5.
2018-06-09 00:16:26 +02:00
mewmew f5f76f8b8a Fix build on Linux 2018-06-08 11:23:30 +02:00
galaxyhaxz b1ee40f6e7
Revert "Add preliminary support for compiling on Linux" 2018-06-07 22:00:35 -05:00
mewmew 1836399875 Fix linking against storm.dll and diabloui.dll
* add aliases for storm exports to handle __stdcall calling convention on Linux
* mark external functions as extern "C"
2018-06-08 01:28:20 +02:00
galaxyhaxz a775fe4fd5
Delete .gitignore 2018-06-06 21:30:07 -05:00
galaxyhaxz c4eb2b777c
Add files via upload 2018-06-06 21:23:06 -05:00
galaxyhaxz 9e0e665831
Create .gitignore 2018-06-06 21:21:18 -05:00