The big cheap fix (#446)
This commit is contained in:
parent
fd5d8298c9
commit
1324082090
4 changed files with 10283 additions and 2 deletions
2
Makefile
2
Makefile
|
|
@ -25,7 +25,7 @@ debug: CXXFLAGS += -D_DEBUG
|
|||
debug: CPPFLAGS += -D_DEBUG
|
||||
debug: devilution.exe
|
||||
|
||||
DIABLO_SRC=$(sort $(filter-out Source/_asm.cpp, $(wildcard Source/*.cpp)))
|
||||
DIABLO_SRC=$(sort $(filter-out Source/_asm.cpp Source/_render.cpp, $(wildcard Source/*.cpp)))
|
||||
OBJS=$(DIABLO_SRC:.cpp=.o)
|
||||
|
||||
PKWARE_SRC=$(wildcard 3rdParty/PKWare/*.cpp)
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ debug: CFLAGS += /D "_DEBUG"
|
|||
debug: Diablo.exe
|
||||
|
||||
# fix compilation order to match the VC6 workspace files and exclude local assembly functions
|
||||
DIABLO_SRC=$(sort $(filter-out Source/_asm.cpp Source/render.cpp, $(wildcard Source/*.cpp)))
|
||||
DIABLO_SRC=$(sort $(filter-out Source/_asm.cpp Source/_render.cpp Source/render.cpp, $(wildcard Source/*.cpp)))
|
||||
DIABLO_SRC += Source/render.cpp
|
||||
OBJS=$(DIABLO_SRC:.cpp=.obj)
|
||||
|
||||
|
|
|
|||
10277
Source/_render.cpp
Normal file
10277
Source/_render.cpp
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -77,6 +77,9 @@ int WorldTbl17_2[17] = { 0, 32, 60, 88, 112, 136, 156, 176, 192, 208, 220, 232,
|
|||
|/
|
||||
*/
|
||||
|
||||
#if (_MSC_VER >= 800) && (_MSC_VER <= 1200)
|
||||
#include "_render.cpp"
|
||||
#else
|
||||
void __fastcall drawTopArchesUpperScreen(unsigned char *pbDst)
|
||||
{
|
||||
unsigned char *dst; // edi MAPDST
|
||||
|
|
@ -5208,3 +5211,4 @@ void __fastcall world_draw_black_tile(unsigned char *pbDst)
|
|||
yy_32 += 2;
|
||||
} while (yy_32 != 32);
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue