Eric Robinson
27e6ef5f4c
Add Diablo Version 1.08-Specific Behavior with Preprocessor Directives ( #2292 )
...
* add preprocessor directive for version 1.08
* Update MakefileVC
* Missed "endif"
* revise handling of diablo version
2024-03-06 05:27:53 +01:00
Anders Jenbo
659dc41aa5
Merge branch 'master' of github.com:diasurgical/devilution into hellfire
2020-04-26 22:10:34 +02:00
Robin Eklind
0186d85923
makefile: run clean on subprojects when invoking make clean
2020-04-25 17:22:05 +02:00
Anders Jenbo
67d659448e
Correct build options
...
Disable minimal rebuild.
Target Pentium
2020-04-11 08:36:53 +02:00
Anders Jenbo
d798f646dc
Remove generated VC5 files on clean up
2019-09-03 00:32:10 +02:00
Anders Jenbo
3154ab3bd2
Merge branch 'master' of github.com:diasurgical/devilution into hellfire
2019-09-03 00:30:42 +02:00
Anders Jenbo
a3f4124fae
Remove generated VC6 files
2019-09-02 08:17:20 +02:00
Anders Jenbo
83e62ea8a1
[hellfire] Set up build intergration
2019-08-30 09:55:44 +02:00
Anders Jenbo
267181464d
Update Travis integration
2019-08-30 09:40:39 +02:00
Anders Jenbo
68d51e7d27
Implementing Spawned Shareware version
2019-08-12 16:04:20 +02:00
Anders Jenbo
ed6c999c47
Enable COPYPROT during compare builds
2019-06-08 14:51:38 +02:00
galaxyhaxz
1cc8c81636
Change PKWare to static library ( #1141 )
2019-05-08 16:40:35 -05:00
galaxyhaxz
8f391a252f
Remove TC
2019-04-15 01:16:43 +02:00
galaxyhaxz
4e01e03711
Cleanup default calling conventions
2019-04-09 12:04:00 +02:00
qndel
6ad0c23592
MI_Firemove bin exact
2019-03-16 13:34:36 +01:00
qndel
9c8d9a3097
AddGolem bin exact ( #602 )
...
* AddGolem bin exact
* AddApoca bin exact
* AddHbolt bin exact
* AddEtherealize bin exact
* AddApoca bin exact
2019-03-09 22:57:41 +01:00
Anders Jenbo
e50b20a281
Explicitly state the order of kernel32.lib
2019-01-13 21:08:19 +01:00
Robin Eklind
cff2e56228
Update Makefile.
2019-01-12 20:11:37 +01:00
Robin Eklind
80f107dec2
Add dedicated Makefiles for DiabloUI and Storm subprojects
2019-01-12 20:11:37 +01:00
Robin Eklind
555c835305
Put /TC in CFLAGS.
2019-01-12 20:11:37 +01:00
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 .
2019-01-12 20:11:37 +01:00
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
2019-01-10 21:39:28 +01:00
Robin Eklind
14283ac9b4
items.cpp now compile as C
2019-01-06 03:28:14 +01:00
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
2019-01-06 03:23:43 +01:00
Anders Jenbo
b229a075bb
Compile drlg_l3.cpp lighting.cpp monster.cpp stores.cpp as C
2019-01-06 03:21:21 +01:00
Anders Jenbo
e1f1d4a200
Compile items.cpp as C
2019-01-06 01:43:16 +01:00
Anders Jenbo
b1e09dffcd
Compile objects.cpp as C
2019-01-06 01:43:16 +01:00
Anders Jenbo
98b0b5e71f
Compile mpqapi.cpp as C ( #554 )
...
* Fix mpqapi header
* Compile mpqapi.cpp as C
2019-01-06 00:54:50 +01:00
Anders Jenbo
b5e809af97
Compile render.cpp as C ( #555 )
2019-01-06 00:17:12 +01:00
Anders Jenbo
d900657201
Compile diablo.cpp as C
2018-12-31 03:17:08 +01:00
Anders Jenbo
86018b174b
Make DirecX usage C compatible
2018-12-31 03:17:08 +01:00
Anders Jenbo
06554e6db8
Make missiles.cpp compile as C ( #531 )
2018-12-30 19:38:50 +01:00
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
2018-12-30 19:22:40 +01:00
Robin Eklind
8c73745e82
Compile movie.cpp as C
2018-12-30 18:36:28 +01:00
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
2018-12-30 13:16:11 +01:00
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)
2018-12-30 03:27:03 +01:00
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 @
2018-12-30 01:47:51 +01:00
galaxyhaxz
1324082090
The big cheap fix ( #446 )
2018-11-05 21:47:14 -06:00
galaxyhaxz
0f184f2b71
Move assembly to _asm.cpp ( #388 )
2018-10-07 00:32:36 -05:00
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.
2018-10-06 14:44:37 +02:00
galaxyhaxz
71c2149d46
First "working" version of diabloui.dll ^_^ ( #221 )
2018-09-18 21:26:25 +02:00
Dennis Duda
bf4d5ba5fa
Merge remote-tracking branch 'devilution/master'
2018-09-17 21:01:20 +02:00
galaxyhaxz
48fc4bc4b6
Fix typo and add remaining instructions
2018-09-16 19:05:46 -05:00
galaxyhaxz
05b1f90027
Implement Diablo UI code ( #206 )
2018-09-16 17:39:31 -05:00
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
2018-09-09 15:37:53 +02:00
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)
2018-09-03 20:28:22 +02:00
Dennis Duda
4b339a8896
Fix diablo obj build/link order to match the VC6 build/link order. Compile all main files with one compiler call
2018-09-03 01:23:47 +02:00
Anders Jenbo
43f5295170
Update VS6 folder
2018-08-29 03:12:52 +02:00
Anders Jenbo
71f890a29b
Add option to generate pdb file for devilution-comparer
2018-08-29 00:11:10 +02:00
Dennis Duda
444a5f2011
Updated MakefileVC so that only the two paths to VC5 and VS6 have to be supplied.
2018-08-21 14:35:34 +02:00