mirror of
https://github.com/solemnwarning/ipxwrapper
synced 2024-12-30 16:45:37 +01:00
Added ipxconfig icon.
This commit is contained in:
parent
a778b55e0a
commit
f8b53b1d1b
12
Makefile
12
Makefile
@ -33,8 +33,8 @@ SRC_FILES := changes.txt license.txt Makefile mkstubs.pl readme.txt src/config.h
|
|||||||
src/mswsock.def src/mswsock_stubs.txt src/stubdll.c src/winsock.c src/wsock32.def \
|
src/mswsock.def src/mswsock_stubs.txt src/stubdll.c src/winsock.c src/wsock32.def \
|
||||||
src/wsock32_stubs.txt src/directplay.c src/dpwsockx.def src/dpwsockx_stubs.txt src/common.c \
|
src/wsock32_stubs.txt src/directplay.c src/dpwsockx.def src/dpwsockx_stubs.txt src/common.c \
|
||||||
src/common.h src/router.c src/router.h src/router-exe.c src/interface.c src/interface.h \
|
src/common.h src/router.c src/router.h src/router-exe.c src/interface.c src/interface.h \
|
||||||
src/ipxrouter.rc ipxrouter.ico include/dplay.h include/dplaysp.h include/dplobby.h \
|
src/ipxrouter.rc ipxrouter.ico src/ipxconfig.rc ipxconfig.ico include/dplay.h \
|
||||||
include/wsnwlink.h
|
include/dplaysp.h include/dplobby.h include/wsnwlink.h
|
||||||
|
|
||||||
all: ipxwrapper.dll wsock32.dll mswsock.dll ipxconfig.exe dpwsockx.dll ipxrouter.exe
|
all: ipxwrapper.dll wsock32.dll mswsock.dll ipxconfig.exe dpwsockx.dll ipxrouter.exe
|
||||||
|
|
||||||
@ -59,8 +59,8 @@ dist: all
|
|||||||
ipxwrapper.dll: $(IPXWRAPPER_DEPS)
|
ipxwrapper.dll: $(IPXWRAPPER_DEPS)
|
||||||
$(CC) $(CFLAGS) -Wl,--enable-stdcall-fixup -shared -o ipxwrapper.dll $(IPXWRAPPER_DEPS) -liphlpapi
|
$(CC) $(CFLAGS) -Wl,--enable-stdcall-fixup -shared -o ipxwrapper.dll $(IPXWRAPPER_DEPS) -liphlpapi
|
||||||
|
|
||||||
ipxconfig.exe: src/ipxconfig.cpp
|
ipxconfig.exe: src/ipxconfig.cpp src/ipxconfig-rc.o
|
||||||
$(CXX) $(CXXFLAGS) -static-libgcc -static-libstdc++ -D_WIN32_IE=0x0400 -mwindows -o ipxconfig.exe src/ipxconfig.cpp -liphlpapi -lcomctl32
|
$(CXX) $(CXXFLAGS) -static-libgcc -static-libstdc++ -D_WIN32_IE=0x0400 -mwindows -o ipxconfig.exe src/ipxconfig.cpp src/ipxconfig-rc.o -liphlpapi -lcomctl32
|
||||||
|
|
||||||
dpwsockx.dll: src/directplay.o src/log.o src/dpwsockx_stubs.o src/common.o
|
dpwsockx.dll: src/directplay.o src/log.o src/dpwsockx_stubs.o src/common.o
|
||||||
$(CC) $(CFLAGS) -Wl,--enable-stdcall-fixup -shared -o dpwsockx.dll src/directplay.o src/log.o src/common.o src/dpwsockx_stubs.o src/dpwsockx.def -lwsock32
|
$(CC) $(CFLAGS) -Wl,--enable-stdcall-fixup -shared -o dpwsockx.dll src/directplay.o src/log.o src/common.o src/dpwsockx_stubs.o src/dpwsockx.def -lwsock32
|
||||||
@ -80,8 +80,8 @@ src/mswsock_stubs.s: src/mswsock_stubs.txt
|
|||||||
src/dpwsockx_stubs.s: src/dpwsockx_stubs.txt
|
src/dpwsockx_stubs.s: src/dpwsockx_stubs.txt
|
||||||
perl mkstubs.pl src/dpwsockx_stubs.txt src/dpwsockx_stubs.s 3
|
perl mkstubs.pl src/dpwsockx_stubs.txt src/dpwsockx_stubs.s 3
|
||||||
|
|
||||||
src/ipxrouter-rc.o: src/ipxrouter.rc
|
src/%-rc.o: src/%.rc
|
||||||
windres src/ipxrouter.rc -O coff -o src/ipxrouter-rc.o
|
windres $< -O coff -o $@
|
||||||
|
|
||||||
%.dll: src/stubdll.o src/%_stubs.o src/log.o src/common.o src/%.def
|
%.dll: src/stubdll.o src/%_stubs.o src/log.o src/common.o src/%.def
|
||||||
$(CC) $(CFLAGS) -Wl,--enable-stdcall-fixup -shared -o $@ $^
|
$(CC) $(CFLAGS) -Wl,--enable-stdcall-fixup -shared -o $@ $^
|
||||||
|
@ -38,6 +38,8 @@ Version ???:
|
|||||||
Update: Max packet (data) size reduced to 8KiB.
|
Update: Max packet (data) size reduced to 8KiB.
|
||||||
|
|
||||||
Update: Implemented IPX_RECEIVE_BROADCAST option.
|
Update: Implemented IPX_RECEIVE_BROADCAST option.
|
||||||
|
|
||||||
|
Update: Added ipxconfig icon.
|
||||||
|
|
||||||
Version 0.2.2:
|
Version 0.2.2:
|
||||||
Feature: Redesigned ipxconfig UI.
|
Feature: Redesigned ipxconfig UI.
|
||||||
|
BIN
ipxconfig-16.png
Normal file
BIN
ipxconfig-16.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 154 B |
BIN
ipxconfig-32.png
Normal file
BIN
ipxconfig-32.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 193 B |
BIN
ipxconfig.ico
Normal file
BIN
ipxconfig.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.3 KiB |
@ -571,11 +571,12 @@ static void init_windows() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
WNDCLASS wclass;
|
WNDCLASS wclass;
|
||||||
|
|
||||||
memset(&wclass, 0, sizeof(wclass));
|
|
||||||
wclass.style = 0;
|
wclass.style = 0;
|
||||||
wclass.lpfnWndProc = &main_wproc;
|
wclass.lpfnWndProc = &main_wproc;
|
||||||
|
wclass.cbClsExtra = 0;
|
||||||
|
wclass.cbWndExtra = 0;
|
||||||
wclass.hInstance = GetModuleHandle(NULL);
|
wclass.hInstance = GetModuleHandle(NULL);
|
||||||
|
wclass.hIcon = (HICON)LoadImage(GetModuleHandle(NULL), MAKEINTRESOURCE(50), IMAGE_ICON, 0, 0, LR_DEFAULTSIZE);
|
||||||
wclass.hCursor = LoadCursor(NULL, IDC_ARROW);
|
wclass.hCursor = LoadCursor(NULL, IDC_ARROW);
|
||||||
wclass.hbrBackground = (HBRUSH)(COLOR_BTNFACE+1);
|
wclass.hbrBackground = (HBRUSH)(COLOR_BTNFACE+1);
|
||||||
wclass.lpszMenuName = NULL;
|
wclass.lpszMenuName = NULL;
|
||||||
|
1
src/ipxconfig.rc
Normal file
1
src/ipxconfig.rc
Normal file
@ -0,0 +1 @@
|
|||||||
|
50 ICON "../ipxconfig.ico"
|
Loading…
x
Reference in New Issue
Block a user