Subversion Repositories eduke32

Rev

Go to most recent revision | Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
8785 345d 0h hendricks266 /source/duke3d/rsrc/ Fix mistake in .rc  
8600 401d 2h hendricks266 /source/duke3d/rsrc/ Windows: Update dpiAwareness settings in manifests  
8530 430d 23h hendricks266 /source/duke3d/rsrc/ Eliminate duplicate build_icon.ico  
8365 457d 9h terminx /source/duke3d/rsrc/ Update the Microsoft resource compiler scripts used for Windows binaries

This adds the version control revision plus build time to the properties of the resulting binary, and updates some of the legal text. The executable version number has also been bumped from the longstanding "1.9.9.9" to "2.0.0.4", symbolic of the year EDuke32 was first released in. Future Fury binaries will now say "2.0.1.9" to match its first non-preview release as well.
 
8044 566d 3h hendricks266 /source/duke3d/rsrc/ Make building Fury easier with FURY=1  
7218 841d 15h terminx /source/duke3d/rsrc/ Fix whitespace in gameres.rc  
6986 893d 2h terminx /source/duke3d/rsrc/ Fix embarrassing Windows-centric fuckup  
6982 893d 5h terminx /source/duke3d/rsrc/ Minor fixups needed to build as a native VS project  
6909 1007d 11h terminx /source/duke3d/rsrc/ Fix issues with running the game fullscreen on Windows 10 with high DPI setups  
6065 1478d 11h hendricks266 /source/duke3d/rsrc/ Route inclusion of all Windows headers through a new header, windows_inc.h.

This allows us to make certain guarantees about limits on the extent of namespace pollution these headers introduce.
 
6056 1496d 23h hendricks266 /source/duke3d/rsrc/ Bring the previous commit into effect.  
6055 1496d 23h hendricks266 /source/duke3d/rsrc/ The great repository rearrangement of 2017.

Files moved but not modified. Changes to follow in a subsequent commit.

You down with CPP?
 
6054 1505d 6h hendricks266 /source/duke3d/rsrc/ Delete more empty folders. DONT_BUILD.  
5768 1738d 4h hendricks266 /source/duke3d/rsrc/ Remove trailing whitespace from anything we don't need to rebase from an upstream.  
5643 1835d 2h hendricks266 /source/duke3d/rsrc/ Windows: Eliminate the need for separate manifests for 32-bit and 64-bit builds by specifying a wildcard for processorArchitecture attributes.  
5253 2113d 0h hendricks266 /source/duke3d/rsrc/ Revert recent icon changes.  
5197 2120d 11h hendricks266 /source/duke3d/rsrc/ Add SW to our build system and make relevant changes to avoid fatal build errors.  
4891 2249d 4h terminx /source/duke3d/rsrc/ Identify Windows 10 in the startup window/log. DONT_BUILD.  
4774 2292d 6h hendricks266 /source/duke3d/rsrc/ Restore SDL 1.2 on Windows to a working state. DONT_BUILD.  
4130 2682d 5h hendricks266 /source/duke3d/rsrc/ Sweeping modifications to synthesis and the package directory structure so that every potential binary is in its own package.
While we're rearranging files, ensure all SVN mime-types are set correctly.
 
4078 2709d 23h hendricks266 /source/duke3d/rsrc/ Iron out all errors and warnings when compiling with MinGW-w64, targeting either 32-bit or 64-bit.  
4041 2747d 4h terminx /source/duke3d/rsrc/ Update Windows application manifests to allow GetVersionEx() to return Windows 8.1 on systems running Windows 8.1. Microsoft is pretty stupid sometimes. :/  
3800 2846d 15h terminx /source/duke3d/rsrc/ Support high DPI setups for the startup dialogs on Windows  
3551 2927d 5h terminx /source/duke3d/rsrc/ Directory cleanup. Move the "Apple", "Windows", and "Wii" directories to a new "platform" dir, move the contents of "psd" to "rsrc/source", move eobj* and obj* directories so that they're under the "source" dir.  
3548 2927d 5h terminx /source/duke3d/rsrc/ Remove unused rsrc/orange_icon.ico  
3339 2991d 22h hendricks266 /source/duke3d/rsrc/ Fix SVN mime-types of binary files.
Windows batch file:
for /r %%G in (*.a) do svn propset svn:mime-type application/octet-stream "%%~G"
for /r %%G in (*.lib) do svn propset svn:mime-type application/octet-stream "%%~G"
for /r %%G in (*.dll) do svn propset svn:mime-type application/x-msdownload "%%~G"
for /r %%G in (*.ico) do svn propset svn:mime-type image/vnd.microsoft.icon "%%~G"
for /r %%G in (*.icns) do svn propset svn:mime-type image/icns "%%~G"
for /r %%G in (*.bmp) do svn propset svn:mime-type image/bmp "%%~G"
for /r %%G in (*.png) do svn propset svn:mime-type image/png "%%~G"
for /r %%G in (*.xcf) do svn propset svn:mime-type image/x-xcf "%%~G"
for /r %%G in (*.psd) do svn propset svn:mime-type image/vnd.adobe.photoshop "%%~G"
for /r %%G in (*.nib) do svn propset svn:mime-type application/octet-stream "%%~G"
for /r %%G in (*.map) do svn propset svn:mime-type application/octet-stream "%%~G"
svn propset -R svn:mime-type application/octet-stream polymer/eduke32/Apple/lib
svn propset -R svn:mime-type application/octet-stream polymer/eduke32/Windows/lib/32
svn propset -R svn:mime-type application/octet-stream polymer/eduke32/Windows/lib/64
svn propset -R svn:mime-type application/octet-stream polymer/eduke32/source/jaudiolib/third-party/Apple/lib
svn propset -R svn:mime-type application/octet-stream polymer/eduke32/source/jaudiolib/third-party/Windows/lib/32
svn propset -R svn:mime-type application/octet-stream polymer/eduke32/source/jaudiolib/third-party/Windows/lib/64
 
3278 3008d 6h hendricks266 /source/duke3d/rsrc/ Win64 support! (Meaning it works, not that we recommend it for everyday use.)

This includes a complete Windows header and library refresh, including the addition of 64-bit compiled libs:
*libogg 1.3.0
*libvorbis 1.3.3
*zlib 1.2.7
*libpng 1.5.13
*libvpx 9a3de881c0e681ba1a79a166a86308bbc84b4acd
*SDL_mixer 1.2.12 (for RENDERTYPE=SDL)
*DirectX import libraries: dsound and dxguid (now included)

To build in 64-bit, you essentially need MinGW's MSYS (but not MinGW itself) and MinGW-w64 at the top of your PATH. The target is automatically detected using `$(CC) -dumpmachine`. The EDukeWiki will get detailed instrucitons.

All compiler and linker warnings when building in 64-bit mode have been fixed.

Remaining 64-bit to-do:
- The ebacktrace dll does not build under 64-bit. It uses code specific to the format of 32-bit executables and will have to be ported to work with 64-bit executables. A future 64-bit version will be named ebacktrace1-64.dll.
- RENDERTYPE=SDL crashes in SDL_mixer's Mix_Linked_Version().
- DirectInput gives an error and does not function. This only affects joysticks, and the error never happens without any plugged in.
- Port the classic renderer ASM to 64-bit. (Just kidding, this is way out of my league.)

This commit includes a fair bit of Makefile development spanning all platforms, including simplifying the SDLCONFIG code, fixing build on Mac OS X (thanks rhoenie!), globally factoring Apple brew/port inclusion, enforcing that all -L come before all -l, and ensuring that $(shell ) is always :='d.

In addition, I have resurrected the old GCC_MAJOR and GCC_MINOR detection using `$(CC) -dumpversion`, but I have made it failsafe in case the command fails or the version is manually specified. I have applied this new fine-grained detection where applicable, including allowing LTO, and restraining -W's to versions that support them.
 
3222 3026d 5h hendricks266 /source/duke3d/rsrc/ Replace SDL icons, freshly generated using GIMP 2.6.11.

The code has been factored. Additionally, 32x32 is used on Windows with SDL_MAJOR_VERSION==1, while 48x48 is the default.

See: http://www.libsdl.org/cgi/docwiki.cgi/SDL_WM_SetIcon
 
2382 3300d 6h hendricks266 /source/duke3d/rsrc/ cosmetic:
* update Windows icons to include 64x64, 128x128, and 256x256 sizes
* add "orange_icon.ico" (unused; classic orange color of logo)
* remove unused 32x32 "build_icon.bmp" file
 
1652 3940d 22h terminx /source/duke3d/rsrc/ Updated synthesis script, moved some non-essential files around, updated license headers on all non-BUILDLIC files, added memory cache on top of texcache to improve load times, moved some duplicated keyboard handling stuff from winlayer/sdlayer to baselayer, fixed keypad / in Mapster32 tile selector, fixed bug where p->rotscrnang and p->look_ang never reset to 0, added support for reloading maphack based polymer lights after mode changes/savegame loads, other minor changes  
1525 4174d 6h terminx /source/duke3d/rsrc/ better version of the 16x16 icon from hendricks266  
1351 4332d 8h terminx /source/duke3d/rsrc/ test versions of new startup dialog images  
1089 4538d 0h terminx /source/duke3d/rsrc/  
1083 4544d 1h terminx /source/duke3d/rsrc/  
1037 4576d 3h terminx /source/duke3d/rsrc/  
854 4622d 19h hnt_ts /source/duke3d/rsrc/ 1. Removed unneeded the svn:executable proprties. These files aren't actually executable.
2. Added the svn:ignore properties to clean up the output of "svn update" so that it doesn't show some unversioned files anymore sush as compiled binaries and object files(*.a).
3. Converted the end-of-line charapter sequences from Windows(CR LF) to Unix format(LF). It used to be a mixture of both styles that often confuse some programs. If some files have to be in Windows format, you should add the svn:eol-style on them(svn propset svn:eol-style native polymer/eduke32/source/thefile.c).
 
561 4943d 22h terminx /source/duke3d/rsrc/ config file global variable rape  
377 5210d 9h terminx /source/duke3d/rsrc/ Blar.  
376 5211d 3h terminx /source/duke3d/rsrc/ updatesectorz() -> updatesector()

I now have a clue about updatesectorz() breaking things. :o
 
308 5269d 1h terminx /source/duke3d/rsrc/