Anders Jenbo
ed6c999c47
Enable COPYPROT during compare builds
7 years ago
galaxyhaxz
1cc8c81636
Change PKWare to static library ( #1141 )
7 years ago
galaxyhaxz
8f391a252f
Remove TC
7 years ago
galaxyhaxz
4e01e03711
Cleanup default calling conventions
7 years ago
qndel
6ad0c23592
MI_Firemove bin exact
7 years ago
qndel
9c8d9a3097
AddGolem bin exact ( #602 )
...
* AddGolem bin exact
* AddApoca bin exact
* AddHbolt bin exact
* AddEtherealize bin exact
* AddApoca bin exact
7 years ago
Anders Jenbo
e50b20a281
Explicitly state the order of kernel32.lib
7 years ago
Robin Eklind
cff2e56228
Update Makefile.
7 years ago
Robin Eklind
80f107dec2
Add dedicated Makefiles for DiabloUI and Storm subprojects
7 years ago
Robin Eklind
555c835305
Put /TC in CFLAGS.
7 years ago
Robin Eklind
a969f5c6f3
Uncomment delete to make appfat.cpp compile as C.
...
Note, in the future, we want to figure out how the
delete operator was overloaded and included while
still compiling the project as C.
Most likely it was overloaded in the Storm header,
and being included by appfat.cpp (which is the first
file being compiled in alphabetic order), it was
included here.
Fixes #528 .
7 years ago
Anders Jenbo
54247a076c
C init ( #549 )
...
* Make initializers C compatible
* Compile more files as C
dthread.cpp dx.cpp init logging.cpp fault.cpp msgcmd.cpp nthread.cpp
* Update defs.h
7 years ago
Robin Eklind
14283ac9b4
items.cpp now compile as C
7 years ago
Anders Jenbo
ca64011eb9
Replace __ROR4__ stdlib, make _ROR2__ C frindly ( #540 )
...
* Use stdlib _rotr instead of inline asm
* Compile control.cpp as C
This also makes qmemcpy avalible to the C compiler
7 years ago
Anders Jenbo
b229a075bb
Compile drlg_l3.cpp lighting.cpp monster.cpp stores.cpp as C
7 years ago
Anders Jenbo
e1f1d4a200
Compile items.cpp as C
7 years ago
Anders Jenbo
b1e09dffcd
Compile objects.cpp as C
7 years ago
Anders Jenbo
98b0b5e71f
Compile mpqapi.cpp as C ( #554 )
...
* Fix mpqapi header
* Compile mpqapi.cpp as C
7 years ago
Anders Jenbo
b5e809af97
Compile render.cpp as C ( #555 )
7 years ago
Anders Jenbo
d900657201
Compile diablo.cpp as C
7 years ago
Anders Jenbo
86018b174b
Make DirecX usage C compatible
7 years ago
Anders Jenbo
06554e6db8
Make missiles.cpp compile as C ( #531 )
7 years ago
Anders Jenbo
841f5af199
Compile effects.cpp and wave.cpp as C ( #530 )
...
* Correct SFileReadFile signature
* Compile as C
Source/effects.cpp
Source/wave.cpp
* Make diabloui.h C frindly
7 years ago
Robin Eklind
8c73745e82
Compile movie.cpp as C
7 years ago
Anders Jenbo
efec32bcd5
Compile files as C ( #527 )
...
* Compile files as C
* Provide fallback for qmemcpy
Enable C compilation for:
Source/gendung.cpp
Source/inv.cpp
Source/minitext.cpp
Source/pack.cpp
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
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
galaxyhaxz
1324082090
The big cheap fix ( #446 )
7 years ago
galaxyhaxz
0f184f2b71
Move assembly to _asm.cpp ( #388 )
8 years ago
Robin Eklind
9772cd0743
Add definition of j_lock_buf_priv and j_unlock_buf_priv for debug release.
...
Also add a debug target for MakefileVC.
8 years ago
galaxyhaxz
71c2149d46
First "working" version of diabloui.dll ^_^ ( #221 )
8 years ago
galaxyhaxz
48fc4bc4b6
Fix typo and add remaining instructions
8 years ago
galaxyhaxz
05b1f90027
Implement Diablo UI code ( #206 )
8 years ago
Anders Jenbo
cbf08f290e
Enable PCH for both builds
...
/Zi is needed for PCH as well as PDB, since it dosn't change the
resulting exe and can speed up build time a lot this switches it on for
all builds
8 years ago
Dennis Duda
f543572393
Added precompiled headers (PCH) and enable minimal rebuild to improve compilation speed for build reruns.
...
This makes rebuilds near instantaneous, as long as the header files aren't changed. (Same settings as the VC gui)
8 years ago
Dennis Duda
4b339a8896
Fix diablo obj build/link order to match the VC6 build/link order. Compile all main files with one compiler call
8 years ago
Anders Jenbo
43f5295170
Update VS6 folder
8 years ago
Anders Jenbo
71f890a29b
Add option to generate pdb file for devilution-comparer
8 years ago
Dennis Duda
444a5f2011
Updated `MakefileVC` so that only the two paths to VC5 and VS6 have to be supplied.
8 years ago
Dennis Duda
06d4e8a64e
Converted workspace, projects, makefile to VC++6
...
updated Makefile to compile with VC++ 6, link/generate the DLLs with link.exe 6, but link Diablo.exe with link 5.10
8 years ago
Robin Eklind
e3a51ed1d1
Add Makefile for compiling with VC on Linux ( #94 )
8 years ago