1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-14 22:03:27 +01:00

compile resources again + cleanup

This commit is contained in:
FunkyFr3sh 2017-11-16 19:19:17 +01:00
parent 850dfda0f5
commit 153bfda117
25 changed files with 3811 additions and 3849 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
ddraw.dll ddraw.rc ddraw.rc.o

View File

@ -1,9 +1,21 @@
CC=gcc
CFLAGS=-DHAVE_LIBPNG -Iinclude -Wall -Wl,--enable-stdcall-fixup -O3 -s
WINDRES=windres
CFLAGS=-DHAVE_LIBPNG -Iinc -Wall -Wl,--enable-stdcall-fixup -O3 -s
LIBS=lib/libpng14.a lib/libz.a -lgdi32 -lopengl32 -lwinmm
FILES = src/main.c \
src/mouse.c \
src/palette.c \
src/surface.c \
src/clipper.c \
src/render.c \
src/render_soft.c \
src/render_dummy.c \
src/screenshot.c
all:
$(CC) $(CFLAGS) -shared -o ddraw.dll main.c mouse.c palette.c surface.c clipper.c render.c render_soft.c render_dummy.c screenshot.c ddraw.def $(LIBS)
$(WINDRES) -J rc ddraw.rc ddraw.rc.o
$(CC) $(CFLAGS) -shared -o ddraw.dll $(FILES) ddraw.def ddraw.rc.o $(LIBS)
clean:
rm -f ddraw.dll

View File

@ -1,3 +0,0 @@
0x00607D78 = InMovie
0x0065D7BC = IsVQA640
0x00607D78 = ShouldStretch BYTE (added by 3.03p-iran)

BIN
ddraw.dll

Binary file not shown.

View File

@ -4,16 +4,16 @@
{
BLOCK "040904B0"
{
VALUE "CompanyName", "Toni Spets"
VALUE "CompanyName", "cncnet.org"
VALUE "FileDescription", "DirectDraw replacement for C&C95 and Red Alert"
VALUE "FileVersion", "git~"
VALUE "FileVersion", "1.1.0.0"
VALUE "InternalName", "ddraw"
VALUE "LegalCopyright", "Copyright (c) 2010, 2011 Toni Spets"
VALUE "LegalCopyright", "Copyright (c) 2010-2017"
VALUE "LegalTrademarks", ""
VALUE "OriginalFileName", "ddraw.dll"
VALUE "ProductName", "DirectDraw replacement for C&C95 and Red Alert"
VALUE "ProductVersion", "git~"
VALUE "Comments", "http://hifi.iki.fi/cnc-ddraw/"
VALUE "ProductVersion", "1.1.0.0"
VALUE "Comments", "https://cncnet.org"
}
}

View File

@ -1,24 +0,0 @@
1 VERSIONINFO
{
BLOCK "StringFileInfo"
{
BLOCK "040904B0"
{
VALUE "CompanyName", "Toni Spets"
VALUE "FileDescription", "DirectDraw replacement for C&C95 and Red Alert"
VALUE "FileVersion", "git~__REV__"
VALUE "InternalName", "ddraw"
VALUE "LegalCopyright", "Copyright (c) 2010, 2011 Toni Spets"
VALUE "LegalTrademarks", ""
VALUE "OriginalFileName", "ddraw.dll"
VALUE "ProductName", "DirectDraw replacement for C&C95 and Red Alert"
VALUE "ProductVersion", "git~__REV__"
VALUE "Comments", "http://hifi.iki.fi/cnc-ddraw/"
}
}
BLOCK "VarFileInfo"
{
VALUE "Translation", 0x0409, 0x04B0
}
}

View File

@ -1,24 +0,0 @@
1 VERSIONINFO
{
BLOCK "StringFileInfo"
{
BLOCK "040904B0"
{
VALUE "CompanyName", "Toni Spets"
VALUE "FileDescription", "DirectDraw replacement for C&C95 and Red Alert"
VALUE "FileVersion", "git~"
VALUE "InternalName", "ddraw"
VALUE "LegalCopyright", "Copyright (c) 2010, 2011 Toni Spets"
VALUE "LegalTrademarks", ""
VALUE "OriginalFileName", "ddraw.dll"
VALUE "ProductName", "DirectDraw replacement for C&C95 and Red Alert"
VALUE "ProductVersion", "git~"
VALUE "Comments", "http://hifi.iki.fi/cnc-ddraw/"
}
}
BLOCK "VarFileInfo"
{
VALUE "Translation", 0x0409, 0x04B0
}
}

File diff suppressed because it is too large Load Diff

View File

View File