pogokeen
1df7127609
Support software renderer upscaling engine-side in sdlayer and sdlayer12 with various scaling factors (beyond just pixel doubling).
...
When glsurface is available, use GL to upscale the render buffer.
Additionally, fix build issues with sdlayer12 introduced by GLAD changes (r6656).
git-svn-id: https://svn.eduke32.com/eduke32@6939 1a8010ca-5511-0410-912e-c29ae57300e0
2018-07-14 21:36:44 +00:00
hendricks266
c64bfef4f1
Makefile: Build debug builds with -Og instead of -O0 where available.
...
git-svn-id: https://svn.eduke32.com/eduke32@6631 1a8010ca-5511-0410-912e-c29ae57300e0
2018-01-30 16:02:24 +00:00
terminx
b65458ebfe
Rename CLANG_DEBUG_FLAGS -> ASAN_FLAGS in makefile and enable them for GCC, because GCC supports ASan these days
...
git-svn-id: https://svn.eduke32.com/eduke32@6549 1a8010ca-5511-0410-912e-c29ae57300e0
2017-12-10 03:24:39 +00:00
terminx
882877054b
DEBUGANYWAY -> FORCEDEBUG in Common.mak
...
git-svn-id: https://svn.eduke32.com/eduke32@6548 1a8010ca-5511-0410-912e-c29ae57300e0
2017-12-10 03:24:29 +00:00
hendricks266
82eedfb6fe
Try the previous commit in a different way so that make CC=gcc CXX=g++ COBJC="clang -x -objective-x" COBJCXX="clang++ -x objective-c++"
does not require the non-obvious CLANG=0. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@6430 1a8010ca-5511-0410-912e-c29ae57300e0
2017-08-12 02:33:27 +00:00
hendricks266
f77cfe8aad
Invoke clang as the default compiler on macOS. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@6429 1a8010ca-5511-0410-912e-c29ae57300e0
2017-08-12 02:25:44 +00:00
hendricks266
eb332f21a4
Makefile: More no-shell stuff that I didn't want to rebase past the lowercase stuff.
...
git-svn-id: https://svn.eduke32.com/eduke32@6424 1a8010ca-5511-0410-912e-c29ae57300e0
2017-08-06 13:44:54 +00:00
hendricks266
8f0848d901
Makefile: Mess with Wii stuff to fix a majority of its make invocation circumstances.
...
git-svn-id: https://svn.eduke32.com/eduke32@6420 1a8010ca-5511-0410-912e-c29ae57300e0
2017-08-06 13:44:44 +00:00
hendricks266
04bc041c2e
Makefile: Eliminate all mandatory use of *nix userland tools.
...
Windows should no longer need an msys install to build with MinGW-w64.
Working Title: MSYS Gets Shell-Shocked
git-svn-id: https://svn.eduke32.com/eduke32@6419 1a8010ca-5511-0410-912e-c29ae57300e0
2017-08-06 13:44:41 +00:00
hendricks266
b56255e774
Makefile: Assignment operator cleanup.
...
git-svn-id: https://svn.eduke32.com/eduke32@6418 1a8010ca-5511-0410-912e-c29ae57300e0
2017-08-06 13:44:39 +00:00
terminx
fd19569099
Drop libpng and zlib in favor of a custom < 100 line .png writer and a drop-in zlib replacement called miniz.
...
git-svn-id: https://svn.eduke32.com/eduke32@6365 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-18 20:53:00 +00:00
terminx
a17eb158e8
Fix building with Clang
...
git-svn-id: https://svn.eduke32.com/eduke32@6364 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-18 20:52:42 +00:00
terminx
5839947350
Makefile changes required for MSYS2 builds to be functional again
...
git-svn-id: https://svn.eduke32.com/eduke32@6310 1a8010ca-5511-0410-912e-c29ae57300e0
2017-07-02 00:44:30 +00:00
hendricks266
44536c51d0
Makefile: Add libxmp-lite, replacing static linking to a library that was uncommon in Linux and Mac package managers.
...
git-svn-id: https://svn.eduke32.com/eduke32@6159 1a8010ca-5511-0410-912e-c29ae57300e0
2017-06-09 06:39:42 +00:00
hendricks266
91c8ca11bd
Makefile: Remove printing of compiler/assembler/linker options at build start. Use PRETTY_OUTPUT=0 if you need that information.
...
git-svn-id: https://svn.eduke32.com/eduke32@6148 1a8010ca-5511-0410-912e-c29ae57300e0
2017-06-09 06:38:46 +00:00
hendricks266
b3d597200b
Common.mak: Massive reorganization/cleanup.
...
Any functional changes are incidental and minor, other than the outright removals.
git-svn-id: https://svn.eduke32.com/eduke32@6147 1a8010ca-5511-0410-912e-c29ae57300e0
2017-06-09 06:38:42 +00:00
hendricks266
d0ad379c4c
Flip the switch to C++11.
...
It's happening.
git-svn-id: https://svn.eduke32.com/eduke32@6120 1a8010ca-5511-0410-912e-c29ae57300e0
2017-04-12 08:30:38 +00:00
hendricks266
f4fa0ceafd
Makefile: Replace "gnu" with "c" in language standard declarations if we are using clang.
...
This should give us compatibility without compromising platforms that either don't recognize the "gnu" variants but include strdup, snprintf, etc anyway (clang on desktop), or that support "gnu" and don't include these functions in the "c" variants (gcc in devkitPPC).
DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@6110 1a8010ca-5511-0410-912e-c29ae57300e0
2017-03-27 17:13:13 +00:00
hendricks266
cf3a4550b0
Makefile: Add phony target "clang-tools" for use with clang-tools.
...
ex: clang-query `make clang-tools`
DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@6108 1a8010ca-5511-0410-912e-c29ae57300e0
2017-03-23 20:47:11 +00:00
hendricks266
f0b73188ed
Makefile: Clean up more Lunatic setup.
...
git-svn-id: https://svn.eduke32.com/eduke32@6104 1a8010ca-5511-0410-912e-c29ae57300e0
2017-03-23 20:47:00 +00:00
hendricks266
bc081e6593
Makefile: Move -funsigned-char from COMMONFLAGS to COMPILERFLAGS. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@6096 1a8010ca-5511-0410-912e-c29ae57300e0
2017-03-23 03:03:39 +00:00
hendricks266
28ad096e38
Revert r6089. We can't live without strdup, strtoll, snprintf, strcasecmp, etc.
...
This is only an issue on some platforms.
git-svn-id: https://svn.eduke32.com/eduke32@6090 1a8010ca-5511-0410-912e-c29ae57300e0
2017-03-23 03:03:21 +00:00
hendricks266
b015f1044b
Makefile: Use -std=c99 and -std=c++03 instead of -std=gnu99 and -std=gnu++03.
...
git-svn-id: https://svn.eduke32.com/eduke32@6089 1a8010ca-5511-0410-912e-c29ae57300e0
2017-03-22 15:46:06 +00:00
hendricks266
ed75d4086c
Makefile: Use "clang++" for building C++ with clang.
...
git-svn-id: https://svn.eduke32.com/eduke32@6088 1a8010ca-5511-0410-912e-c29ae57300e0
2017-03-22 15:46:04 +00:00
hendricks266
029facac6f
Makefile: Add CROSS_SUFFIX option, as requested by rhoenie.
...
git-svn-id: https://svn.eduke32.com/eduke32@6087 1a8010ca-5511-0410-912e-c29ae57300e0
2017-03-22 15:46:01 +00:00
hendricks266
9d8b5d1ce0
Makefile: Move CUSTOMOPT to follow COMPILERFLAGS and LINKERFLAGS, so that it can overwrite more.
...
git-svn-id: https://svn.eduke32.com/eduke32@6086 1a8010ca-5511-0410-912e-c29ae57300e0
2017-03-22 15:45:59 +00:00
hendricks266
ebf78c721d
Makefile: Move "-Wimplicit -Werror-implicit-function-declaration" from CONLYFLAGS to a new CONLYWARNS.
...
git-svn-id: https://svn.eduke32.com/eduke32@6085 1a8010ca-5511-0410-912e-c29ae57300e0
2017-03-22 15:45:56 +00:00
hendricks266
7fbee490e5
Makefile: Unfactor CWARNS from COMPILER_*.
...
git-svn-id: https://svn.eduke32.com/eduke32@6084 1a8010ca-5511-0410-912e-c29ae57300e0
2017-03-22 15:45:54 +00:00
hendricks266
d15251b96f
Makefile: Factor out common uses of COMMONFLAGS, COMPILERFLAGS, and LINKERFLAGS into COMPILER_* and LINKER.
...
Collateral changes: Engine objects now use COMPILER_CXX instead of CXX, BUILD_SETTINGS_LINKER now includes GUI_LIBS, and the Build tools now use LINK_STATUS and result instead of ONESTEP.
git-svn-id: https://svn.eduke32.com/eduke32@6083 1a8010ca-5511-0410-912e-c29ae57300e0
2017-03-22 15:45:49 +00:00
hendricks266
22fbca52ca
Remove HAVE_INTTYPES define.
...
No #else was ever provided for any build system that lacks inttypes besides MSVC.
git-svn-id: https://svn.eduke32.com/eduke32@6073 1a8010ca-5511-0410-912e-c29ae57300e0
2017-02-25 08:15:20 +00:00
hendricks266
05c4fa61f6
Explicitly specify the version of the C++ standard as which we are compiling.
...
git-svn-id: https://svn.eduke32.com/eduke32@6068 1a8010ca-5511-0410-912e-c29ae57300e0
2017-02-19 22:16:00 +00:00
hendricks266
417b047cf3
Bring the previous commit into effect.
...
git-svn-id: https://svn.eduke32.com/eduke32@6056 1a8010ca-5511-0410-912e-c29ae57300e0
2017-02-01 10:20:54 +00:00
hendricks266
1cc9d13ccf
The great repository rearrangement of 2017.
...
Files moved but not modified. Changes to follow in a subsequent commit.
You down with CPP?
git-svn-id: https://svn.eduke32.com/eduke32@6055 1a8010ca-5511-0410-912e-c29ae57300e0
2017-02-01 10:01:11 +00:00