galaxyhaxz
f59fd7de20
Fix gendung.cpp headache ( #722 )
7 years ago
Xadhoom
c920ff8b12
Bugfix
7 years ago
Xadhoom
8f30698c75
Reorganize miniwin headers, part 1
7 years ago
Xadhoom
407125acf9
Cleanup miniwin headers
7 years ago
Xadhoom
c1ba436e69
miniwin_misc.h macro-clean
7 years ago
Xadhoom
30fbfa36a1
Progress with miniwin macros
7 years ago
Xadhoom
5283a9ffd1
Put everything into namespace dvl
7 years ago
Xadhoom
4d557709e0
Clean headers for network code
7 years ago
Xadhoom
af47577446
Begin restructuring headers
7 years ago
Anders Jenbo
447cec8355
Implement video playback via libsmacker
7 years ago
Anders Jenbo
b47c6bcb19
Fix loading save games
7 years ago
Xadhoom
3ad2c379e3
Restructure networking
7 years ago
Xadhoom
7339bbfd9b
slightly refactor network layer
7 years ago
Xadhoom
2d7ad8e62b
Introduce multiplayer over UDP
7 years ago
Anders Jenbo
c75d50a82c
Split up menu code
7 years ago
Xadhoom
0332d81091
Unify including ../types.h everywhere; more fixes
7 years ago
Xadhoom
fa90e6720a
Revert random_ to random and remove extern "C" linkage
7 years ago
Anders Jenbo
475ad55182
Move all menu code to stub files
...
Lets us much more easily merge upstream
7 years ago
Anders Jenbo
238a6d6c2a
Move all menu code to stub files
...
Lets us much more easily merge upstream
7 years ago
aperturesecurity
f8de634845
updated install
7 years ago
aperturesecurity
c7b07fe94d
make resizing window and cleaned up a few things
7 years ago
Anders Jenbo
e795b6116a
Make use of atexit() C compatible ( #537 )
7 years ago
Robin Eklind
8ed5573766
engine: clean up CelDecDatLightEntry and Cel2DecDatLightEntry ( #524 )
...
Now, these functions no longer use references. Instead they
use pointer to pointer. Furthermore, they've been simplified
to for loops, as essentially, the decompiled functions were
unrolled loops (as seen in the memset function).
7 years ago
Anders Jenbo
87ea335ec4
Compile gamemenu.cpp, track.cpp & trigs.cpp as C ( #525 )
...
This enables processing pfile.h as a C header, this adds two minor
warnings to the compile process but should be fine (game works)
7 years ago
Robin Eklind
6817fecc34
cursor.h and objects.h no longer have collisions
7 years ago
Anders Jenbo
629dfa2083
Compile as c ( #522 )
...
* Reorder lib
This is the orhter that they appear in the exe imports
* Make includes C compatible
cursor.h: SetCursor conflicts with existing function
engine.h: CelDecDatLightEntry and Cel2DecDatLightEntry use by reference
*&
objects.h: DeleteObject conflicts with existing function
* Start compiling select files as C
* Clean up
pfile still emits warnings when parsed as C:
err:msvcrt:demangle_datatype Unknown type @
err:msvcrt:demangle_datatype Unknown type @
7 years ago
aperturesecurity
a33593c05c
changing menu items
7 years ago
Anders Jenbo
fcc4e19287
Format debug related code
8 years ago
Anders Jenbo
a202569faa
Fix bad commit (fixes build)
8 years ago
Anders Jenbo
a08bfa22c0
Autoformat some base files
8 years ago
nomdenom
11493e3dac
Source: MINIWIN headers support
8 years ago
aperturesecurity
42ce77ce05
Rebirth and Nuke
8 years ago
galaxyhaxz
21d611439f
Remove temp debug now that bugs are gone
8 years ago
nomdenom
798beff9d5
Speed up build with WIN32_LEAN_AND_MEAN ( #173 )
8 years ago
galaxyhaxz
5ff8756116
Fix junk ( #174 )
8 years ago
galaxyhaxz
fa64b2148d
Add defines [W.I.P] ( #160 )
8 years ago
galaxyhaxz
d93b3ca253
Update types.h
8 years ago
galaxyhaxz
d03c56e844
Add debug lighting, add cmd line note ( #61 )
8 years ago
galaxyhaxz
5e8bb2e5bb
Add icon, improve makefile, fix debugger ( #50 )
8 years ago
galaxyhaxz
0db106a5b4
Add support for Visual C++ 5.10 ( #12 )
...
* Update stuff
8 years ago
galaxyhaxz
e50f5a1299
Update types.h
8 years ago
mewmew
f5f76f8b8a
Fix build on Linux
8 years ago
galaxyhaxz
b1ee40f6e7
Revert "Add preliminary support for compiling on Linux"
8 years ago
mewmew
20fdbf8aa2
Fix compile errors on Linux
...
Source/../types.h:35:10: fatal error: DiabloUI/_diabloui.h: No such file or directory
#include "DiabloUI/_diabloui.h"
---
Source/../Source/init.h:43:109: error: fastcall and stdcall attributes are not compatible
LRESULT (__stdcall *__fastcall SetWindowProc(void *func))(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
---
Source/missiles.cpp:915:27: error: unable to find numeric literal operator ‘operator""i64’
*(_QWORD *)&Dirs[0][2] = 0i64;
---
Source/world.cpp:38:1: error: narrowing conversion of ‘3937053354’ from ‘unsigned int’ to ‘int’ inside { } [-Wnarrowing]
---
Source/lighting.cpp:429:1: error: narrowing conversion of ‘-1’ from ‘int’ to ‘unsigned char’ inside { } [-Wnarrowing]
---
Source/objects.cpp:5459:62: error: unable to find numeric literal operator ‘operator""i64’
while ( !(plr[v53]._pMemSpells[1] & ((unsigned __int64)(1i64 << v60) >> 32) | plr[v53]._pMemSpells[0] & (unsigned int)(1i64 << v60)) );
---
Source/control.cpp:488:9: error: unable to find numeric literal operator ‘operator""i64’
v26 = 1i64;
---
Source/objects.cpp:243:1: error: narrowing conversion of ‘255’ from ‘int’ to ‘char’ inside { } [-Wnarrowing]
---
Source/gamemenu.cpp:22:1: error: narrowing conversion of ‘2147483648’ from ‘unsigned int’ to ‘int’ inside { } [-Wnarrowing]
---
Source/sound.cpp:41:88: error: narrowing conversion of ‘240’ from ‘unsigned int’ to ‘char’ inside { } [-Wnarrowing]
---
Source/quests.cpp:46:1: error: narrowing conversion of ‘255’ from ‘int’ to ‘char’ inside { } [-Wnarrowing]
---
Source/player.cpp:4666:8: error: unable to find numeric literal operator ‘operator""i64’
v14 = 0i64;
---
Source/init.cpp:546:109: error: fastcall and stdcall attributes are not compatible
LRESULT (__stdcall *__fastcall SetWindowProc(void *func))(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
---
Source/items.cpp:114:1: error: narrowing conversion of ‘(item_effect_type)255’ from ‘unsigned int’ to ‘char’ inside { } [-Wnarrowing]
---
Source/items.cpp:307:1: error: narrowing conversion of ‘(unique_base_item)255’ from ‘unsigned int’ to ‘char’ inside { } [-Wnarrowing]
---
Source/items.cpp:854:8: error: unable to find numeric literal operator ‘operator""i64’
v37 = 0i64;
---
Source/items.cpp:471:1: error: narrowing conversion of ‘(item_equip_type)255’ from ‘unsigned int’ to ‘char’ inside { } [-Wnarrowing]
8 years ago
galaxyhaxz
8060b9b92b
Add files via upload
8 years ago