mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-25 13:55:36 -04:00
This is Woof! (#47)
* This is Woof! * shamelessly add myself to the Credits page * add a stub README.md Fixes #7
This commit is contained in:
parent
03d007afd3
commit
909c725325
60
README.md
Normal file
60
README.md
Normal file
@ -0,0 +1,60 @@
|
||||
# This is Woof!
|
||||
[](https://github.com/fabiangreffrath/woof)
|
||||
|
||||
[](https://travis-ci.com/fabiangreffrath/woof/)
|
||||
|
||||
Woof! is a continuation of MBF, the Doom source port created by Lee Killough, for modern systems.
|
||||
|
||||
MBF stands for "Marine's Best Friend" and is regarded by many as the successor of the Boom source port by TeamTNT. As the original engine was limited to running under MS-DOS, it has been ported to Windows by Team Eternity under the name [WinMBF](https://github.com/team-eternity/WinMBF). Woof! is based on this porting project but has brought the code further with many bug fixes and enhancements.
|
||||
|
||||
## The Name
|
||||
|
||||
If you turn the Doom logo upside down it reads "Wood" - which would be a pretty stupid name for a source port. "Woof" is just as stupid a name for a source port, but at least it contains a reference to dogs - and dogs are the Marine's Best Friend. ;-)
|
||||
|
||||
## Download
|
||||
|
||||
The Woof! source code is available at GitHub: https://github.com/fabiangreffrath/woof.
|
||||
|
||||
It can cloned via
|
||||
|
||||
```
|
||||
git clone https://github.com/fabiangreffrath/woof.git
|
||||
```
|
||||
|
||||
Compilation should be as simple as
|
||||
|
||||
|
||||
```
|
||||
cd woof
|
||||
autoreconf -fiv
|
||||
./configure
|
||||
make
|
||||
```
|
||||
|
||||
After successful compilation the resulting binary can be found in the `Source/` directory.
|
||||
|
||||
## Contact
|
||||
|
||||
The canonical homepage for Woof! is https://github.com/fabiangreffrath/woof
|
||||
|
||||
Woof! is maintained by [Fabian Greffrath](mailto:fabian@greffXremovethisXrath.com).
|
||||
|
||||
Please report any bugs, glitches or crashes that you encounter to the GitHub [Issue Tracker](https://github.com/fabiangreffrath/woof/issues).
|
||||
|
||||
## Legalese
|
||||
|
||||
Copyright © 1993-1996 Id Software, Inc.
|
||||
Copyright © 1993-2008 Raven Software
|
||||
Copyright © 1999 by id Software, Chi Hoang, Lee Killough, Jim Flynn, Rand Phares, Ty Halderman
|
||||
Copyright © 2004 James Haley
|
||||
Copyright © 2005-2014 Simon Howard
|
||||
Copyright © 2020 Fabian Greffrath
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the [GNU General Public License](https://www.gnu.org/licenses/gpl-2.0.html)
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
SDL 2.0, SDL_mixer 2.0 and SDL_net 2.0 are © 1997-2016 Sam Lantinga and are released under the [zlib license](http://www.gzip.org/zlib/zlib_license.html).
|
||||
|
||||
The Woof! icon (as shown at the top of this page) has been kindly contributed by @JNechaevsky.
|
@ -1,5 +1,6 @@
|
||||
bin_PROGRAMS = winmbf
|
||||
winmbf_SOURCES = \
|
||||
bin_PROGRAMS = woof
|
||||
|
||||
SOURCE_FILES = \
|
||||
am_map.c am_map.h \
|
||||
d_deh.c d_deh.h \
|
||||
d_englsh.h \
|
||||
@ -82,5 +83,27 @@ winmbf_SOURCES = \
|
||||
w_wad.c w_wad.h \
|
||||
wi_stuff.c wi_stuff.h \
|
||||
z_zone.c z_zone.h
|
||||
winmbf_CFLAGS = @SDL_CFLAGS@ @SDL_mixer_CFLAGS@ @SDL_net_CFLAGS@
|
||||
winmbf_LDADD = @SDL_LIBS@ @SDL_mixer_LIBS@ @SDL_net_LIBS@
|
||||
|
||||
if HAVE_WINDRES
|
||||
woof_SOURCES = $(SOURCE_FILES) resource.rc
|
||||
else
|
||||
woof_SOURCES = $(SOURCE_FILES)
|
||||
endif
|
||||
|
||||
woof_CFLAGS = @SDL_CFLAGS@ @SDL_mixer_CFLAGS@ @SDL_net_CFLAGS@
|
||||
woof_LDADD = @SDL_LIBS@ @SDL_mixer_LIBS@ @SDL_net_LIBS@
|
||||
|
||||
EXTRA_DIST = \
|
||||
icon.c \
|
||||
manifest.xml \
|
||||
resource.rc.in
|
||||
|
||||
.rc.o:
|
||||
$(WINDRES) $< -o $@
|
||||
%.o : %.rc
|
||||
$(WINDRES) $< -o $@
|
||||
|
||||
if HAVE_PYTHON
|
||||
icon.c : $(top_builddir)/data/woof.png
|
||||
$(top_builddir)/data/convert-icon $(top_builddir)/data/woof.png $@
|
||||
endif
|
||||
|
@ -333,7 +333,7 @@ void I_Error(const char *error, ...) // killough 3/20/98: add const
|
||||
void I_EndDoom(void)
|
||||
{
|
||||
// haleyjd
|
||||
puts("\nWinMBF exiting.\n");
|
||||
puts("\n" PACKAGE_NAME" exiting.\n");
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
@ -43,6 +43,10 @@
|
||||
#include "i_video.h"
|
||||
#include "i_savepng.h" // [FG] SavePNG()
|
||||
|
||||
// Set the application icon
|
||||
|
||||
#include "icon.c"
|
||||
|
||||
SDL_Surface *sdlscreen;
|
||||
|
||||
// [FG] rendering window, renderer, intermediate ARGB frame buffer and texture
|
||||
@ -860,6 +864,21 @@ boolean I_WritePNGfile(char *filename)
|
||||
return false;
|
||||
}
|
||||
|
||||
// Set the application icon
|
||||
|
||||
static void I_InitWindowIcon(void)
|
||||
{
|
||||
SDL_Surface *surface;
|
||||
|
||||
surface = SDL_CreateRGBSurfaceFrom((void *) icon_data, icon_w, icon_h,
|
||||
32, icon_w * 4,
|
||||
0xff << 24, 0xff << 16,
|
||||
0xff << 8, 0xff << 0);
|
||||
|
||||
SDL_SetWindowIcon(screen, surface);
|
||||
SDL_FreeSurface(surface);
|
||||
}
|
||||
|
||||
extern boolean setsizeneeded;
|
||||
|
||||
int cfg_scalefactor; // haleyjd 05/11/09: scale factor in config
|
||||
@ -961,6 +980,7 @@ static void I_InitGraphicsMode(void)
|
||||
}
|
||||
|
||||
SDL_SetWindowTitle(screen, PACKAGE_STRING);
|
||||
I_InitWindowIcon();
|
||||
}
|
||||
|
||||
SDL_SetWindowMinimumSize(screen, v_w, actualheight);
|
||||
|
2736
Source/icon.c
Normal file
2736
Source/icon.c
Normal file
File diff suppressed because it is too large
Load Diff
@ -4066,6 +4066,7 @@ enum {
|
||||
cr_test,
|
||||
cr_canine,
|
||||
cr_musicsfx,
|
||||
cr_woof, // [FG] shamelessly add myself to the Credits page ;)
|
||||
cr_adcr,
|
||||
cr_special,
|
||||
};
|
||||
@ -4096,6 +4097,10 @@ setup_menu_t cred_settings[]={
|
||||
{"SDL Port By",S_SKIP|S_CREDIT,m_null, CR_X, CR_Y + CR_S*musicsfx + CR_SH*cr_musicsfx},
|
||||
{"Team Eternity",S_SKIP|S_CREDIT|S_LEFTJUST,m_null, CR_X2, CR_Y + CR_S*musicsfx + CR_SH*cr_musicsfx},
|
||||
|
||||
// [FG] shamelessly add myself to the Credits page ;)
|
||||
{"Woof! by",S_SKIP|S_CREDIT,m_null, CR_X, CR_Y + CR_S*cr_woof + CR_SH*cr_woof},
|
||||
{"Fabian Greffrath",S_SKIP|S_CREDIT|S_LEFTJUST,m_null, CR_X2, CR_Y + CR_S*cr_woof + CR_SH*cr_woof},
|
||||
|
||||
{"Additional Credit To",S_SKIP|S_CREDIT,m_null, CR_X, CR_Y + CR_S*adcr + CR_SH*cr_adcr},
|
||||
{"id Software",S_SKIP|S_CREDIT|S_LEFTJUST,m_null, CR_X2, CR_Y + CR_S*adcr+CR_SH*cr_adcr},
|
||||
{"TeamTNT",S_SKIP|S_CREDIT|S_LEFTJUST,m_null, CR_X2, CR_Y + CR_S*(adcr+1)+CR_SH*cr_adcr},
|
||||
|
12
Source/manifest.xml
Normal file
12
Source/manifest.xml
Normal file
@ -0,0 +1,12 @@
|
||||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" >
|
||||
|
||||
<!-- Declare app as DPI aware, so that Windows Vista and later will not
|
||||
apply DPI virtualization. -->
|
||||
|
||||
<asmv3:application>
|
||||
<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
|
||||
<dpiAware>true</dpiAware>
|
||||
</asmv3:windowsSettings>
|
||||
</asmv3:application>
|
||||
</assembly>
|
||||
|
30
Source/resource.rc.in
Normal file
30
Source/resource.rc.in
Normal file
@ -0,0 +1,30 @@
|
||||
1 ICON "@top_srcdir@/data/woof.ico"
|
||||
|
||||
#include <winuser.h>
|
||||
|
||||
CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "@top_srcdir@/Source/manifest.xml"
|
||||
|
||||
1 VERSIONINFO
|
||||
PRODUCTVERSION @WINDOWS_RC_VERSION@
|
||||
FILEVERSION @WINDOWS_RC_VERSION@
|
||||
FILETYPE 1
|
||||
{
|
||||
BLOCK "StringFileInfo"
|
||||
{
|
||||
BLOCK "040904E4"
|
||||
{
|
||||
VALUE "FileVersion", "@PACKAGE_VERSION@.0"
|
||||
VALUE "FileDescription", "@PACKAGE_STRING@"
|
||||
VALUE "InternalName", "@PACKAGE_TARNAME@"
|
||||
VALUE "CompanyName", "@PACKAGE_BUGREPORT@"
|
||||
VALUE "LegalCopyright", "@PACKAGE_COPYRIGHT@. Licensed under @PACKAGE_LICENSE@"
|
||||
VALUE "ProductName", "@PACKAGE_NAME@"
|
||||
VALUE "ProductVersion", "@PACKAGE_VERSION@"
|
||||
}
|
||||
}
|
||||
BLOCK "VarFileInfo"
|
||||
{
|
||||
VALUE "Translation", 0x409, 1252
|
||||
}
|
||||
}
|
||||
|
758
WinMBF.dsp
758
WinMBF.dsp
@ -1,758 +0,0 @@
|
||||
# Microsoft Developer Studio Project File - Name="WinMBF" - Package Owner=<4>
|
||||
# Microsoft Developer Studio Generated Build File, Format Version 6.00
|
||||
# ** DO NOT EDIT **
|
||||
|
||||
# TARGTYPE "Win32 (x86) Console Application" 0x0103
|
||||
|
||||
CFG=WinMBF - Win32 Debug
|
||||
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
|
||||
!MESSAGE use the Export Makefile command and run
|
||||
!MESSAGE
|
||||
!MESSAGE NMAKE /f "WinMBF.mak".
|
||||
!MESSAGE
|
||||
!MESSAGE You can specify a configuration when running NMAKE
|
||||
!MESSAGE by defining the macro CFG on the command line. For example:
|
||||
!MESSAGE
|
||||
!MESSAGE NMAKE /f "WinMBF.mak" CFG="WinMBF - Win32 Debug"
|
||||
!MESSAGE
|
||||
!MESSAGE Possible choices for configuration are:
|
||||
!MESSAGE
|
||||
!MESSAGE "WinMBF - Win32 Release" (based on "Win32 (x86) Console Application")
|
||||
!MESSAGE "WinMBF - Win32 Debug" (based on "Win32 (x86) Console Application")
|
||||
!MESSAGE
|
||||
|
||||
# Begin Project
|
||||
# PROP AllowPerConfigDependencies 0
|
||||
# PROP Scc_ProjName ""
|
||||
# PROP Scc_LocalPath ""
|
||||
CPP=cl.exe
|
||||
RSC=rc.exe
|
||||
|
||||
!IF "$(CFG)" == "WinMBF - Win32 Release"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 0
|
||||
# PROP BASE Output_Dir "Release"
|
||||
# PROP BASE Intermediate_Dir "Release"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 0
|
||||
# PROP Output_Dir "Release"
|
||||
# PROP Intermediate_Dir "Release"
|
||||
# PROP Ignore_Export_Lib 0
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
|
||||
# ADD CPP /nologo /MD /W3 /GX /O2 /I "c:\software dev\sdl-1.2.12\include" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "MY_SDL_VER" /D "DOGS" /D "BETA" /YX /FD /c
|
||||
# ADD BASE RSC /l 0x409 /d "NDEBUG"
|
||||
# ADD RSC /l 0x409 /d "NDEBUG"
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
|
||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib sdl.lib sdlmain.lib sdl_mixer.lib sdl_net.lib /nologo /subsystem:console /machine:I386
|
||||
|
||||
!ELSEIF "$(CFG)" == "WinMBF - Win32 Debug"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 1
|
||||
# PROP BASE Output_Dir "Debug"
|
||||
# PROP BASE Intermediate_Dir "Debug"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 1
|
||||
# PROP Output_Dir "Debug"
|
||||
# PROP Intermediate_Dir "Debug"
|
||||
# PROP Ignore_Export_Lib 0
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
|
||||
# ADD CPP /nologo /MD /W3 /Gm /GX /ZI /Od /I "c:\software dev\sdl-1.2.12\include" /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "MY_SDL_VER" /D "DOGS" /D "BETA" /D "RANGECHECK" /D "INSTRUMENTED" /YX /FD /GZ /c
|
||||
# ADD BASE RSC /l 0x409 /d "_DEBUG"
|
||||
# ADD RSC /l 0x409 /d "_DEBUG"
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
|
||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib sdl.lib sdlmain.lib sdl_mixer.lib sdl_net.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
|
||||
|
||||
!ENDIF
|
||||
|
||||
# Begin Target
|
||||
|
||||
# Name "WinMBF - Win32 Release"
|
||||
# Name "WinMBF - Win32 Debug"
|
||||
# Begin Group "Source Files"
|
||||
|
||||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
|
||||
# Begin Group "AM"
|
||||
|
||||
# PROP Default_Filter ""
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\am_map.c
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "D"
|
||||
|
||||
# PROP Default_Filter ""
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\d_deh.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\d_items.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\d_main.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\d_net.c
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "F"
|
||||
|
||||
# PROP Default_Filter ""
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\f_finale.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\f_wipe.c
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "G"
|
||||
|
||||
# PROP Default_Filter ""
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\g_game.c
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "HU"
|
||||
|
||||
# PROP Default_Filter ""
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\hu_lib.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\hu_stuff.c
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "I"
|
||||
|
||||
# PROP Default_Filter ""
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\i_main.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\i_net.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\i_sound.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\i_stretch.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\i_system.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\i_video.c
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "M"
|
||||
|
||||
# PROP Default_Filter ""
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\m_argv.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\m_bbox.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\m_cheat.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\m_menu.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\m_misc.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\m_random.c
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "P"
|
||||
|
||||
# PROP Default_Filter ""
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\p_ceilng.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\p_doors.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\p_enemy.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\p_floor.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\p_genlin.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\p_inter.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\p_lights.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\p_map.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\p_maputl.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\p_mobj.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\p_plats.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\p_pspr.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\p_saveg.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\p_setup.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\p_sight.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\p_spec.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\p_switch.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\p_telept.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\p_tick.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\p_user.c
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "R"
|
||||
|
||||
# PROP Default_Filter ""
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\r_bsp.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\r_data.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\r_draw.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\r_main.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\r_plane.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\r_segs.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\r_sky.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\r_things.c
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "S"
|
||||
|
||||
# PROP Default_Filter ""
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\s_sound.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\sounds.c
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "ST"
|
||||
|
||||
# PROP Default_Filter ""
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\st_lib.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\st_stuff.c
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "V"
|
||||
|
||||
# PROP Default_Filter ""
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\v_video.c
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "W"
|
||||
|
||||
# PROP Default_Filter ""
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\w_wad.c
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "WI"
|
||||
|
||||
# PROP Default_Filter ""
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\wi_stuff.c
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "Z"
|
||||
|
||||
# PROP Default_Filter ""
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\z_zone.c
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "Doom"
|
||||
|
||||
# PROP Default_Filter ""
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\doomdef.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\doomstat.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\dstrings.c
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\info.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\mmus2mid.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\tables.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\version.c
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "Header Files"
|
||||
|
||||
# PROP Default_Filter "h;hpp;hxx;hm;inl"
|
||||
# Begin Group "AM_"
|
||||
|
||||
# PROP Default_Filter ""
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\am_map.h
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "D_"
|
||||
|
||||
# PROP Default_Filter ""
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\d_deh.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\d_englsh.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\d_event.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\d_french.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\d_io.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\d_items.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\d_main.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\d_net.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\d_player.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\d_textur.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\d_think.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\d_ticcmd.h
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "Doom_"
|
||||
|
||||
# PROP Default_Filter ""
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\doomdata.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\doomdef.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\doomstat.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\doomtype.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\dstrings.h
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "F_"
|
||||
|
||||
# PROP Default_Filter ""
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\f_finale.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\f_wipe.h
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "G_"
|
||||
|
||||
# PROP Default_Filter ""
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\g_game.h
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "HU_"
|
||||
|
||||
# PROP Default_Filter ""
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\hu_lib.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\hu_stuff.h
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "I_"
|
||||
|
||||
# PROP Default_Filter ""
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\i_net.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\i_sound.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\i_system.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\i_video.h
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "M_"
|
||||
|
||||
# PROP Default_Filter ""
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\m_argv.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\m_bbox.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\m_cheat.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\m_fixed.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\m_menu.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\m_misc.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\m_random.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\m_swap.h
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "P_"
|
||||
|
||||
# PROP Default_Filter ""
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\p_enemy.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\p_inter.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\p_map.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\p_maputl.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\p_mobj.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\p_pspr.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\p_saveg.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\p_setup.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\p_spec.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\p_tick.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\p_user.h
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "R_"
|
||||
|
||||
# PROP Default_Filter ""
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\r_bsp.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\r_data.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\r_defs.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\r_draw.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\r_main.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\r_plane.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\r_segs.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\r_sky.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\r_state.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\r_things.h
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "S_"
|
||||
|
||||
# PROP Default_Filter ""
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\s_sound.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\sounds.h
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "ST_"
|
||||
|
||||
# PROP Default_Filter ""
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\st_lib.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\st_stuff.h
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "V_"
|
||||
|
||||
# PROP Default_Filter ""
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\v_video.h
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "W_"
|
||||
|
||||
# PROP Default_Filter ""
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\w_wad.h
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "WI_"
|
||||
|
||||
# PROP Default_Filter ""
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\wi_stuff.h
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "Z_"
|
||||
|
||||
# PROP Default_Filter ""
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\z_zone.h
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\info.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\mmus2mid.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\tables.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\Source\version.h
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "Resource Files"
|
||||
|
||||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
|
||||
# End Group
|
||||
# End Target
|
||||
# End Project
|
29
WinMBF.dsw
29
WinMBF.dsw
@ -1,29 +0,0 @@
|
||||
Microsoft Developer Studio Workspace File, Format Version 6.00
|
||||
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
|
||||
|
||||
###############################################################################
|
||||
|
||||
Project: "WinMBF"=".\WinMBF.dsp" - Package Owner=<4>
|
||||
|
||||
Package=<5>
|
||||
{{{
|
||||
}}}
|
||||
|
||||
Package=<4>
|
||||
{{{
|
||||
}}}
|
||||
|
||||
###############################################################################
|
||||
|
||||
Global:
|
||||
|
||||
Package=<5>
|
||||
{{{
|
||||
}}}
|
||||
|
||||
Package=<3>
|
||||
{{{
|
||||
}}}
|
||||
|
||||
###############################################################################
|
||||
|
34
configure.ac
34
configure.ac
@ -2,13 +2,34 @@
|
||||
# Process this file with autoconf to produce a configure script.
|
||||
|
||||
AC_PREREQ([2.69])
|
||||
AC_INIT([winmbf], [2.03])
|
||||
AC_INIT([Woof!], [0.9.0])
|
||||
AM_INIT_AUTOMAKE([foreign])
|
||||
AC_CONFIG_SRCDIR([Source/version.c])
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
|
||||
PACKAGE_COPYRIGHT="Copyright (C) 1993-2020"
|
||||
PACKAGE_LICENSE="GNU General Public License, version 2"
|
||||
WINDOWS_RC_VERSION=`echo $PACKAGE_VERSION | sed 's/-.*//; s/\./, /g; s/$/, 0/'`
|
||||
AC_SUBST(PACKAGE_COPYRIGHT)
|
||||
AC_SUBST(PACKAGE_LICENSE)
|
||||
AC_SUBST(WINDOWS_RC_VERSION)
|
||||
|
||||
# Checks for programs.
|
||||
AC_PROG_CC
|
||||
AC_CHECK_PROG(HAVE_PYTHON, python, true, false)
|
||||
|
||||
AC_CANONICAL_HOST
|
||||
case "$host" in
|
||||
*-*-mingw* | *-*-cygwin* | *-*-msvc* )
|
||||
AC_CHECK_TOOL(WINDRES, windres, )
|
||||
;;
|
||||
*)
|
||||
WINDRES=
|
||||
;;
|
||||
esac
|
||||
|
||||
AM_CONDITIONAL(HAVE_WINDRES, test "$WINDRES" != "")
|
||||
AM_CONDITIONAL(HAVE_PYTHON, $HAVE_PYTHON)
|
||||
|
||||
# Checks for libraries.
|
||||
AC_SEARCH_LIBS([pow], [m])
|
||||
@ -54,5 +75,14 @@ then
|
||||
CFLAGS="$CFLAGS -g -O2 $WARNINGS"
|
||||
fi
|
||||
|
||||
AC_CONFIG_FILES([Makefile configs/Makefile docs/Makefile examples/Makefile Source/Makefile toolsrc/Makefile])
|
||||
AC_CONFIG_FILES([
|
||||
Makefile
|
||||
configs/Makefile
|
||||
data/Makefile
|
||||
docs/Makefile
|
||||
examples/Makefile
|
||||
Source/Makefile
|
||||
Source/resource.rc
|
||||
toolsrc/Makefile
|
||||
])
|
||||
AC_OUTPUT
|
||||
|
12
data/Makefile.am
Normal file
12
data/Makefile.am
Normal file
@ -0,0 +1,12 @@
|
||||
EXTRA_DIST = \
|
||||
woof.desktop \
|
||||
woof.ico \
|
||||
woof8.ico \
|
||||
woof.png \
|
||||
convert-icon
|
||||
|
||||
appdir = $(prefix)/share/applications
|
||||
app_DATA = woof.desktop
|
||||
|
||||
iconsdir = $(prefix)/share/icons/hicolor/128x128/apps
|
||||
icons_DATA = woof.png
|
72
data/convert-icon
Normal file
72
data/convert-icon
Normal file
@ -0,0 +1,72 @@
|
||||
#!/usr/bin/env python
|
||||
#
|
||||
# Copyright(C) 2005-2014 Simon Howard
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public License
|
||||
# as published by the Free Software Foundation; either version 2
|
||||
# of the License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
#
|
||||
# Converts images into C structures to be inserted in programs
|
||||
#
|
||||
|
||||
import sys
|
||||
import os
|
||||
import re
|
||||
|
||||
try:
|
||||
import Image
|
||||
except ImportError:
|
||||
try:
|
||||
from PIL import Image
|
||||
except ImportError:
|
||||
print("WARNING: Could not update %s. "
|
||||
"Please install the Python Imaging library or Pillow."
|
||||
% sys.argv[2])
|
||||
sys.exit(0)
|
||||
|
||||
|
||||
def convert_image(filename, output_filename):
|
||||
|
||||
im = Image.open(filename)
|
||||
|
||||
outfile = open(output_filename, "w")
|
||||
|
||||
size = im.size
|
||||
|
||||
struct_name = os.path.basename(output_filename)
|
||||
struct_name = re.sub(re.compile("\\..*$"), "", struct_name)
|
||||
struct_name = re.sub(re.compile("\W"), "_", struct_name)
|
||||
|
||||
outfile.write("static int %s_w = %i;\n" % (struct_name, size[0]))
|
||||
outfile.write("static int %s_h = %i;\n" % (struct_name, size[1]))
|
||||
|
||||
outfile.write("\n")
|
||||
outfile.write("static const unsigned int %s_data[] = {\n" % (struct_name))
|
||||
|
||||
elements_on_line = 0
|
||||
|
||||
outfile.write(" ")
|
||||
|
||||
for y in range(size[1]):
|
||||
for x in range(size[0]):
|
||||
val = im.getpixel((x, y))
|
||||
outfile.write("0x%02x%02x%02x%02x, " % val)
|
||||
elements_on_line += 1
|
||||
|
||||
if elements_on_line >= 6:
|
||||
elements_on_line = 0
|
||||
outfile.write("\n")
|
||||
outfile.write(" ")
|
||||
|
||||
outfile.write("\n")
|
||||
outfile.write("};\n")
|
||||
|
||||
convert_image(sys.argv[1], sys.argv[2])
|
||||
|
8
data/woof.desktop
Normal file
8
data/woof.desktop
Normal file
@ -0,0 +1,8 @@
|
||||
[Desktop Entry]
|
||||
Name=Woof!
|
||||
Exec=woof
|
||||
Icon=woof
|
||||
Type=Application
|
||||
Comment=Port of Lee Killough's MBF DOOM source port
|
||||
Categories=Game;ActionGame;
|
||||
Keywords=first;person;shooter;vanilla;doom;boom;mbf;
|
BIN
data/woof.ico
Normal file
BIN
data/woof.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 63 KiB |
BIN
data/woof.png
Normal file
BIN
data/woof.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.5 KiB |
BIN
data/woof8.ico
Normal file
BIN
data/woof8.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.3 KiB |
Loading…
x
Reference in New Issue
Block a user