hendricks266
ac1c5d63dd
KenBuild: Fix OS X build.
...
git-svn-id: https://svn.eduke32.com/eduke32@5740 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-23 04:46:37 +00:00
hendricks266
942690dac6
KenBuild: Fix symbol issues.
...
git-svn-id: https://svn.eduke32.com/eduke32@5739 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-23 04:46:34 +00:00
hendricks266
c0b9c3a189
KenBuild, SW: rotatepoint
...
git-svn-id: https://svn.eduke32.com/eduke32@5738 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-23 04:46:30 +00:00
hendricks266
8be6da168f
KenBuild, SW: Fix "psky" typo.
...
git-svn-id: https://svn.eduke32.com/eduke32@5737 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-23 04:46:25 +00:00
hendricks266
6e62295872
KenBuild: tspritetype
...
git-svn-id: https://svn.eduke32.com/eduke32@5736 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-23 04:46:21 +00:00
hendricks266
a8287f676f
KenBuild: Fix mul3 and sqr pragmas.
...
git-svn-id: https://svn.eduke32.com/eduke32@5735 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-23 04:46:18 +00:00
hendricks266
c9897c55e0
KenBuild, SW: Fix Win32 startup window warnings.
...
git-svn-id: https://svn.eduke32.com/eduke32@5734 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-23 04:46:14 +00:00
hendricks266
d87833f02a
Use "Backslash" instead of "\" for keybinds because its nature as an escape character causes issues. Fixes ticket #16 .
...
git-svn-id: https://svn.eduke32.com/eduke32@5733 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-23 04:46:11 +00:00
hendricks266
42d0f08d18
libdivide.h: Silence "warning: non-constant-expression cannot be narrowed from type 'uint64_t' (aka 'unsigned long long') to 'long long' in initializer list in C++11 [-Wc++11-narrowing]".
...
The problem that the block of code in question works around was fixed in LLVM r82228 and landed in clang 2.7.
git-svn-id: https://svn.eduke32.com/eduke32@5732 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-23 04:46:07 +00:00
hendricks266
1f761df37f
libdivide.h: Silence "warning: variable 'result' is uninitialized when used here [-Wuninitialized]".
...
git-svn-id: https://svn.eduke32.com/eduke32@5731 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-23 04:46:02 +00:00
hendricks266
4282640c6c
Amend previous commit. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5730 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-22 21:01:12 +00:00
hendricks266
764336bdea
Fix NO_ALIGNED_MALLOC to actually work and not transpose the parameters. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5729 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-21 02:39:58 +00:00
terminx
584b748897
Add CON_CLAMP
...
git-svn-id: https://svn.eduke32.com/eduke32@5728 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-13 22:15:37 +00:00
terminx
ce86532949
VS solution update. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5727 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-13 22:15:34 +00:00
terminx
a3b3a992c0
Fix issue where sometimes hitscan projectile trails weren't spawning
...
git-svn-id: https://svn.eduke32.com/eduke32@5726 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-13 22:15:31 +00:00
terminx
0de66c3411
Misc Polymost crap. Improves detection of sprite/wall collisions for z-fighting avoidance
...
git-svn-id: https://svn.eduke32.com/eduke32@5725 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-13 22:15:28 +00:00
terminx
e33d010e1a
Replace uses of "swap64bit" where "swapdouble" is what is really meant. There is nothing in this to handle potential platforms where sizeof(double) != sizeof(int64_t)
...
git-svn-id: https://svn.eduke32.com/eduke32@5724 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-13 22:15:25 +00:00
terminx
2d9f205c69
Revert bad attempt at fixing cstat 1024
...
git-svn-id: https://svn.eduke32.com/eduke32@5723 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-13 22:15:20 +00:00
terminx
f23eb60036
Apply patch from http://bugs.eduke32.com/index.php?do=details&task_id=21
...
git-svn-id: https://svn.eduke32.com/eduke32@5722 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-13 22:15:17 +00:00
terminx
31326f2910
Change default pointhighlightdist in the editor to 128
...
git-svn-id: https://svn.eduke32.com/eduke32@5721 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-13 22:15:12 +00:00
hendricks266
b12c8dc268
Reorder preprocessor lines in libdivide.h so that LIBDIVIDE_USE_SSE2 is defined before emmintrin.h is included. Fixes ticket #23 . DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5720 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-11 02:59:15 +00:00
hendricks266
e0ab25a24c
More Android build changes. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5719 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-11 01:03:56 +00:00
hendricks266
0331870c1b
A quick hack so that Mapster can load more pre-v7 PALETTE.DAT files.
...
git-svn-id: https://svn.eduke32.com/eduke32@5718 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-05 19:50:22 +00:00
hendricks266
3cba791f5b
Some stuff for using clang to build on Android. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5717 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-04 08:26:08 +00:00
hendricks266
93a86e2840
Enable LIBDIVIDE_USE_SSE2 under x86_64 builds or if the binary is built with SSE2 optimizations.
...
git-svn-id: https://svn.eduke32.com/eduke32@5716 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-04 00:25:27 +00:00
hendricks266
61fe1c554a
GL ES: Interpreting glGetError as always meaning "this internal texture format doesn't work" is too dangerous to keep in the live code (not to mention wasteful). Move it to a new and improved Polymost_InitDummyTexture, now called Polymost_DetermineTextureFormatSupport.
...
git-svn-id: https://svn.eduke32.com/eduke32@5715 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-04 00:25:24 +00:00
hendricks266
b8f22a6d9c
Polymost: Factor out the ETC block preparation by moving the ETC function decision from Polymost_SendTexToDriver into Polymost_PickETCFunction.
...
git-svn-id: https://svn.eduke32.com/eduke32@5714 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-04 00:25:20 +00:00
hendricks266
868306abef
Polymost: Allow compressed ART tiles (r_texcompr 2) to be cached.
...
git-svn-id: https://svn.eduke32.com/eduke32@5713 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-04 00:25:17 +00:00
hendricks266
b40f9b5b80
You'll Cowards Don't Even Indent
...
git-svn-id: https://svn.eduke32.com/eduke32@5712 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-04 00:25:13 +00:00
hendricks266
73459ede47
Polymost: Tweak the "don't upload textures with dimension > xdim" GL ES rule to limit to the power of two greater than xdim instead of less than it.
...
git-svn-id: https://svn.eduke32.com/eduke32@5711 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-04 00:25:10 +00:00
hendricks266
84a2695cdc
Polymost: Clean up and rearrange some texcache code. No functional changes.
...
git-svn-id: https://svn.eduke32.com/eduke32@5710 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-04 00:25:06 +00:00
hendricks266
d1266434f1
Polymost: Call texcache_calcid once per texture instead of twice. Clean it up a little while we're at it.
...
git-svn-id: https://svn.eduke32.com/eduke32@5709 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-04 00:25:02 +00:00
hendricks266
9db5f7e44f
Ensure that game backgrounds that sometimes get drawn with orientation&64 always get drawn with orientation&64 to avoid wasting RAM.
...
git-svn-id: https://svn.eduke32.com/eduke32@5708 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-04 00:24:55 +00:00
hendricks266
5c95eb842a
Small tweaks to Android.mk.
...
git-svn-id: https://svn.eduke32.com/eduke32@5707 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-02 18:29:41 +00:00
hendricks266
93349bd8e0
Add a hack so that when exit() is called on Android, we instead longjmp to main() and return from there.
...
git-svn-id: https://svn.eduke32.com/eduke32@5706 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-02 18:29:38 +00:00
hendricks266
1fcf91d933
Defs: Add "artquality" subtoken to textures, model skins, and skyboxes, which grants the texture HICR_ARTIMMUNITY. In effect, this implies "nodownsize" and signals that texture compression would be undesirable, but okay using r_texcompr mode 2 (aggressive).
...
git-svn-id: https://svn.eduke32.com/eduke32@5705 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-02 18:29:35 +00:00
hendricks266
b529af4b55
In polymost_glinit, pass a dummy 4x4 texture to uploadtexture in order to detect what compressed texture formats are acceptable without wasting time compressing the first texture it encounters, such as the 3D Realms screen, in case the graphics chip won't take it.
...
git-svn-id: https://svn.eduke32.com/eduke32@5704 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-02 18:29:32 +00:00
hendricks266
9b4957aa17
Models: This seems like a bugfix.
...
git-svn-id: https://svn.eduke32.com/eduke32@5703 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-02 18:29:28 +00:00
hendricks266
5c9933439e
Fix an unused variable warning introduced in r5696.
...
git-svn-id: https://svn.eduke32.com/eduke32@5702 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-02 18:29:25 +00:00
hendricks266
5f824d02f6
Revert post-r5496 warning cleanup.
...
git-svn-id: https://svn.eduke32.com/eduke32@5701 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-02 18:29:21 +00:00
terminx
6173a8c339
Revert r5496
...
git-svn-id: https://svn.eduke32.com/eduke32@5700 1a8010ca-5511-0410-912e-c29ae57300e0
2016-04-13 04:04:13 +00:00
terminx
958cdfbcbd
Tweak nofog, DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5699 1a8010ca-5511-0410-912e-c29ae57300e0
2016-04-13 04:04:07 +00:00
terminx
21212558d5
Disable prompt to upgrade from the shareware version after 50 runs
...
git-svn-id: https://svn.eduke32.com/eduke32@5698 1a8010ca-5511-0410-912e-c29ae57300e0
2016-04-13 04:04:03 +00:00
terminx
5927047a3b
Allow turning off the jetpack or HoloDuke while looking through a security monitor
...
git-svn-id: https://svn.eduke32.com/eduke32@5697 1a8010ca-5511-0410-912e-c29ae57300e0
2016-04-13 04:03:59 +00:00
terminx
552c88b879
Lookup tables for mapping inventory item indexes to icons (and vice versa). DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5696 1a8010ca-5511-0410-912e-c29ae57300e0
2016-04-13 04:03:55 +00:00
terminx
f93e06ffd4
This file lives elsewhere now. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5695 1a8010ca-5511-0410-912e-c29ae57300e0
2016-04-13 04:03:49 +00:00
hendricks266
1254ce06d9
Polymost: Fix shading on ART tiles with fullbrights displayed without masking, such as on a whitewall.
...
git-svn-id: https://svn.eduke32.com/eduke32@5694 1a8010ca-5511-0410-912e-c29ae57300e0
2016-04-06 03:07:52 +00:00
hendricks266
38553fc0e3
Menus: Adjust the way bottom edges are clipped in rotatesprite to better handle tall text, or text with long Q tails.
...
git-svn-id: https://svn.eduke32.com/eduke32@5693 1a8010ca-5511-0410-912e-c29ae57300e0
2016-04-06 03:07:47 +00:00
hendricks266
2c9b4d7336
A potential fix for the "loading sounds and music from zip files" bug.
...
git-svn-id: https://svn.eduke32.com/eduke32@5692 1a8010ca-5511-0410-912e-c29ae57300e0
2016-04-01 23:02:23 +00:00
hendricks266
b879597dd4
OS X: Only build the SDLMain object with SDL 1.2.
...
git-svn-id: https://svn.eduke32.com/eduke32@5691 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-28 05:16:18 +00:00
hendricks266
b3f2532bb5
GL ES: Introduce ETC1 and (alpha-less) ETC2 texture compression, which improves performance by using less VRAM and requiring shorter data bus transfers.
...
git-svn-id: https://svn.eduke32.com/eduke32@5690 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-28 05:16:14 +00:00
hendricks266
c942d9c4b9
etcpak: Modify ProcessRGB to take input in RGBA format instead of BGRA.
...
git-svn-id: https://svn.eduke32.com/eduke32@5689 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-28 05:16:09 +00:00
hendricks266
6c13494fca
etcpak: Enforce C linkage on the ProcessRGB functions.
...
git-svn-id: https://svn.eduke32.com/eduke32@5688 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-28 05:16:05 +00:00
hendricks266
7b639accc1
etcpak: Replace use of std::array (which seems not to exist under all compilers) with simple custom class.
...
git-svn-id: https://svn.eduke32.com/eduke32@5687 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-28 05:16:02 +00:00
hendricks266
b4d59a287d
etcpak: Replace x86-specific _bswap intrinsic with custom byteswap function (which a good compiler should treat identically anyway).
...
git-svn-id: https://svn.eduke32.com/eduke32@5686 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-28 05:15:59 +00:00
hendricks266
f07aebfc28
etcpak: Remove C++11 dependency on cstdint when compiling with an earlier standard revision.
...
git-svn-id: https://svn.eduke32.com/eduke32@5685 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-28 05:15:56 +00:00
hendricks266
6fb3ac4fab
etcpak: Modify include guard tokens to conform to the C and C++ standards by not using underscore prefixes.
...
git-svn-id: https://svn.eduke32.com/eduke32@5684 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-28 05:15:52 +00:00
hendricks266
a98e36e095
etcpak: Remove SSE4.1 and AVX2 support.
...
They are of no use to us on ARM.
git-svn-id: https://svn.eduke32.com/eduke32@5683 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-28 05:15:48 +00:00
hendricks266
7a940a255f
etcpak: The fma function is not a member of the std namespace.
...
git-svn-id: https://svn.eduke32.com/eduke32@5682 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-28 05:15:44 +00:00
hendricks266
b2339862ce
etcpak: Fix type problem in ProcessRGB_ETC2.
...
git-svn-id: https://svn.eduke32.com/eduke32@5681 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-28 05:15:41 +00:00
hendricks266
33634859c6
Add the ETC compression algorithm portions of etcpak to the repository, with no modifications.
...
git-svn-id: https://svn.eduke32.com/eduke32@5680 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-28 05:15:37 +00:00
hendricks266
bd6c92926e
Fix Android warnings missed due to Android.mk misconfiguration.
...
git-svn-id: https://svn.eduke32.com/eduke32@5679 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-28 05:15:32 +00:00
hendricks266
fdf4f2d74b
Fix warnings pointed out by Xcode.
...
git-svn-id: https://svn.eduke32.com/eduke32@5678 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-28 05:15:27 +00:00
hendricks266
e1ee089da5
Android: Minor build system cleanup.
...
git-svn-id: https://svn.eduke32.com/eduke32@5677 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-28 05:15:23 +00:00
hendricks266
7e12cf2a83
jwzgles: Add glCompressedTexImage2D and glCompressedTexSubImage2D as cheap copies of their non-compressed variants.
...
git-svn-id: https://svn.eduke32.com/eduke32@5676 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-28 05:15:20 +00:00
hendricks266
1c3ed04bcd
jwzgles: Allow using RGBA as the input texture format for an alpha-less internal texture format.
...
git-svn-id: https://svn.eduke32.com/eduke32@5675 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-28 05:15:17 +00:00
hendricks266
82e9e4e304
jwzgles: Revert part of r5655 that wiped out my cast-qual fixes from r5551.
...
git-svn-id: https://svn.eduke32.com/eduke32@5674 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-28 05:15:14 +00:00
hendricks266
84c949c419
Engine: Clean up texcache_enabled.
...
git-svn-id: https://svn.eduke32.com/eduke32@5673 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-28 05:15:10 +00:00
hendricks266
3bbe30a6f8
Un-break the iOS build.
...
git-svn-id: https://svn.eduke32.com/eduke32@5672 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-28 05:15:05 +00:00
terminx
6363de0a4c
Fix drawing voxels with ids >= 256
...
git-svn-id: https://svn.eduke32.com/eduke32@5671 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-16 00:22:44 +00:00
terminx
34f208afa2
Make sprite tails and label borders purple if the sprite is blocking.
...
git-svn-id: https://svn.eduke32.com/eduke32@5670 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-15 22:17:04 +00:00
terminx
99cb974d0c
Fix Mapster32 sprite selection colors when using a tiles.cfg that defines tile groups using colors from the bright half of the original 16-color palette.
...
In layman's terms, this fixes the effect sprites flashing black in 2d mode.
git-svn-id: https://svn.eduke32.com/eduke32@5669 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-14 00:08:02 +00:00
terminx
76d318ab1b
Minor change of scope of a couple variables. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5668 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-14 00:07:58 +00:00
terminx
7b0a4fb965
Add .ssi to the list of file extensions loaded automatically when passing a directory with -game_dir
...
git-svn-id: https://svn.eduke32.com/eduke32@5667 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-14 00:07:55 +00:00
terminx
eeea08cfa6
Fix a bug where cvars of type CVAR_UINT couldn't be set to values larger than a signed int due to clamping by atoi/atol.
...
git-svn-id: https://svn.eduke32.com/eduke32@5666 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-14 00:07:52 +00:00
terminx
ea0e00a431
Play DUKE_GETWEAPON6 in cheat menu
...
git-svn-id: https://svn.eduke32.com/eduke32@5665 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-14 00:07:48 +00:00
terminx
1b5335ad72
Add #pragma once to the top of a couple of the most commonly included headers in build/include. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5664 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-14 00:07:44 +00:00
terminx
4ea156822d
Android UI work. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5663 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-14 00:07:40 +00:00
terminx
18a8e840bb
pragma once for mact headers.
...
git-svn-id: https://svn.eduke32.com/eduke32@5662 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-14 00:07:34 +00:00
terminx
e2c24bda95
Android stuff. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5661 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-14 00:07:28 +00:00
terminx
83acadd3b4
Remove useless bytesperline parameter from a couple of kplib functions.
...
git-svn-id: https://svn.eduke32.com/eduke32@5660 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-14 00:07:22 +00:00
terminx
8257e199fd
Disable gamma based brightness with GL ES because it's too slow. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5659 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-14 00:07:18 +00:00
terminx
2a55c890e0
Remove a couple of apparently unncessary glPushMatrix()/glPopMatrix() calls.
...
git-svn-id: https://svn.eduke32.com/eduke32@5658 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-14 00:07:15 +00:00
terminx
9c927bcb36
Don't squish the player in lotag 1 sectors that have a SE7.
...
git-svn-id: https://svn.eduke32.com/eduke32@5657 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-14 00:07:12 +00:00
terminx
0dda248b3f
Move inventory enums into a separate inv.h. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5656 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-14 00:07:08 +00:00
terminx
b999c714ba
A couple of jwzgles fixes for mobile, from a newer version of xscreensaver. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5655 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-14 00:07:04 +00:00
terminx
101940d727
Make PLUTOPAKSPRITE glow on the startup screen like it glows in the menu, because the startup screen is displayed until input is received on mobile.
...
git-svn-id: https://svn.eduke32.com/eduke32@5654 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-14 00:07:01 +00:00
terminx
9de3befbba
Fix parental lock
...
git-svn-id: https://svn.eduke32.com/eduke32@5653 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-14 00:06:58 +00:00
terminx
2b357b58f1
Android work. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5652 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-14 00:06:54 +00:00
terminx
6f6762edfa
VS project and MSVC Makefile updates. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5651 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-14 00:06:45 +00:00
hendricks266
e577335bd9
Revert r5601 in its entirety. This fixes MIDI playback on Windows.
...
git-svn-id: https://svn.eduke32.com/eduke32@5650 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-07 11:22:07 +00:00
hendricks266
dd0f16875f
Engine: Add one-bit alpha detection for hightile and model skins.
...
git-svn-id: https://svn.eduke32.com/eduke32@5649 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-07 11:22:02 +00:00
hendricks266
e9d3b4cc43
Polymost: Add r_texcompr 2, which compresses ART in addition to hightile.
...
git-svn-id: https://svn.eduke32.com/eduke32@5648 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-07 11:21:58 +00:00
hendricks266
7dd054069f
Polymost: Add HICR_ARTIMMUNITY and DAMETH_ARTIMMUNITY, which currently function identically to NOTEXCOMPRESS and NODOWNSIZE combined, and are only used when:
...
1. Using an ART tile
2. Using a hightile defined through the tilefromtexture "texture" subtoken
3. Using a hightile that, if downsized, will be smaller than the ART tile for that tilenum (tenuous)
git-svn-id: https://svn.eduke32.com/eduke32@5647 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-07 11:21:55 +00:00
hendricks266
97219ea3e6
Nuke some troublesome default texcache setting detection/enforcement in game.c that looks redundant anyway.
...
git-svn-id: https://svn.eduke32.com/eduke32@5646 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-07 11:21:51 +00:00
hendricks266
c73e8c5036
Fix mistakes in r5642.
...
git-svn-id: https://svn.eduke32.com/eduke32@5645 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-07 11:21:46 +00:00
hendricks266
7011b30e50
Engine: Move daskinloader into mdloadskin and clean up it and gloadtile_hi against one another.
...
git-svn-id: https://svn.eduke32.com/eduke32@5644 1a8010ca-5511-0410-912e-c29ae57300e0
2016-03-04 19:24:54 +00:00
hendricks266
f76c5177f4
Windows: Eliminate the need for separate manifests for 32-bit and 64-bit builds by specifying a wildcard for processorArchitecture attributes.
...
git-svn-id: https://svn.eduke32.com/eduke32@5643 1a8010ca-5511-0410-912e-c29ae57300e0
2016-02-29 06:34:29 +00:00
hendricks266
506e89fefb
Polymost: Refactor all GL internal texture format decision making into uploadtexture().
...
This directly achieves the following:
* Eliminated codedup.
* Recently introduced GL ES performance downsampling now applies to model skins.
* Replaces the alpha/art format distinction with {RGB/no alpha, RGBA/one-bit alpha (ART transparency), RGBA/full alpha}.
* Cleanly allows multiple fallback formats for each type.
* Ready for further commits.
git-svn-id: https://svn.eduke32.com/eduke32@5642 1a8010ca-5511-0410-912e-c29ae57300e0
2016-02-29 06:34:20 +00:00
hendricks266
aec2da83cd
Add BuildGLErrorCheck(), useful for debugging GL.
...
git-svn-id: https://svn.eduke32.com/eduke32@5641 1a8010ca-5511-0410-912e-c29ae57300e0
2016-02-29 06:34:16 +00:00
hendricks266
e2df2d60d1
Engine: Rename HICR_NOCOMPRESS to HICR_NODOWNSIZE, CACHEAD_NOCOMPRESS to CACHEAD_NODOWNSIZE, DAMETH_NOCOMPRESS to DAMETH_NODOWNSIZE, and HICR_NOSAVE to HICR_NOTEXCOMPRESS.
...
git-svn-id: https://svn.eduke32.com/eduke32@5640 1a8010ca-5511-0410-912e-c29ae57300e0
2016-02-29 06:34:12 +00:00
hendricks266
d88df093a7
Windows: Remove OS version guard. Unsupported versions will fail to run in the first place due to missing symbol errors.
...
git-svn-id: https://svn.eduke32.com/eduke32@5639 1a8010ca-5511-0410-912e-c29ae57300e0
2016-02-29 06:34:08 +00:00
hendricks266
85d1fa60c8
Windows: Re-add pre-XP version strings.
...
git-svn-id: https://svn.eduke32.com/eduke32@5638 1a8010ca-5511-0410-912e-c29ae57300e0
2016-02-29 06:34:04 +00:00
hendricks266
92d223aa36
More SDL 1.2 on Windows stuff that should not have been removed in r4749 and was missed in r4774.
...
git-svn-id: https://svn.eduke32.com/eduke32@5637 1a8010ca-5511-0410-912e-c29ae57300e0
2016-02-29 06:34:01 +00:00
hendricks266
dce9e3c91e
Add preprocessor token NO_ALIGNED_MALLOC which disables compilation with aligned memory allocation. Useful for old versions of Windows and Mac OS X.
...
git-svn-id: https://svn.eduke32.com/eduke32@5636 1a8010ca-5511-0410-912e-c29ae57300e0
2016-02-29 06:33:58 +00:00
hendricks266
db535acbf8
More of r5556.
...
git-svn-id: https://svn.eduke32.com/eduke32@5635 1a8010ca-5511-0410-912e-c29ae57300e0
2016-02-29 06:33:55 +00:00
hendricks266
e07fff7d64
iOS: Fix on-screen keyboard, broken in r5625.
...
git-svn-id: https://svn.eduke32.com/eduke32@5634 1a8010ca-5511-0410-912e-c29ae57300e0
2016-02-29 06:33:52 +00:00
hendricks266
6634845c35
Xcode: Add recently created game source files to project.
...
git-svn-id: https://svn.eduke32.com/eduke32@5633 1a8010ca-5511-0410-912e-c29ae57300e0
2016-02-29 06:33:49 +00:00
hendricks266
dcba0b3ed1
Xcode: Require full screen.
...
git-svn-id: https://svn.eduke32.com/eduke32@5632 1a8010ca-5511-0410-912e-c29ae57300e0
2016-02-29 06:33:45 +00:00
hendricks266
f4394c580d
Xcode: Fix launching on iOS 6.
...
git-svn-id: https://svn.eduke32.com/eduke32@5631 1a8010ca-5511-0410-912e-c29ae57300e0
2016-02-29 06:33:42 +00:00
hendricks266
089bb09410
Xcode: Fix iOS hardware deployment.
...
git-svn-id: https://svn.eduke32.com/eduke32@5630 1a8010ca-5511-0410-912e-c29ae57300e0
2016-02-29 06:33:36 +00:00
terminx
d3ff92c5d5
Android shit. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5629 1a8010ca-5511-0410-912e-c29ae57300e0
2016-02-17 19:08:32 +00:00
terminx
aca7533f55
Fix animsounds
...
git-svn-id: https://svn.eduke32.com/eduke32@5628 1a8010ca-5511-0410-912e-c29ae57300e0
2016-02-14 03:49:38 +00:00
terminx
8b5c77e563
Fix CON_IFCUTSCENE
...
git-svn-id: https://svn.eduke32.com/eduke32@5627 1a8010ca-5511-0410-912e-c29ae57300e0
2016-02-13 21:06:34 +00:00
terminx
0e2eed5ee9
Fix anim definition problem
...
git-svn-id: https://svn.eduke32.com/eduke32@5626 1a8010ca-5511-0410-912e-c29ae57300e0
2016-02-13 21:06:31 +00:00
terminx
5672004ba1
Android crap. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5625 1a8010ca-5511-0410-912e-c29ae57300e0
2016-02-13 21:06:28 +00:00
terminx
facae6f175
Add some debug assertions for the hash table stuff.
...
git-svn-id: https://svn.eduke32.com/eduke32@5624 1a8010ca-5511-0410-912e-c29ae57300e0
2016-02-13 21:06:21 +00:00
terminx
9da0c09505
Fix https://forums.duke4.net/topic/8450-
...
git-svn-id: https://svn.eduke32.com/eduke32@5623 1a8010ca-5511-0410-912e-c29ae57300e0
2016-02-13 21:06:18 +00:00
terminx
04b975f3d4
Remove -fno-lto-odr-type-merging, turns out it's an obscure option that isn't enabled in the synthesis toolchain. Oh well.
...
git-svn-id: https://svn.eduke32.com/eduke32@5622 1a8010ca-5511-0410-912e-c29ae57300e0
2016-02-13 21:06:15 +00:00
terminx
66e6bbff0d
Add support for changing the refresh rate in SDL builds. Should also fix non-SDL builds.
...
git-svn-id: https://svn.eduke32.com/eduke32@5621 1a8010ca-5511-0410-912e-c29ae57300e0
2016-02-13 21:06:12 +00:00
terminx
463b90bcd3
Android build fix. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5620 1a8010ca-5511-0410-912e-c29ae57300e0
2016-02-13 21:06:06 +00:00
terminx
0acacf0fce
Update Android Makefile with new source files
...
git-svn-id: https://svn.eduke32.com/eduke32@5619 1a8010ca-5511-0410-912e-c29ae57300e0
2016-02-13 21:06:03 +00:00
terminx
dbbc7b1e13
Break out screen drawing stuff from game.c into screens.c and command line processing stuff into cmdline.c
...
git-svn-id: https://svn.eduke32.com/eduke32@5618 1a8010ca-5511-0410-912e-c29ae57300e0
2016-02-13 21:05:57 +00:00
terminx
7b47a21cf2
Limit -fno-lto-odr-type-merging to GCC 5.x
...
git-svn-id: https://svn.eduke32.com/eduke32@5617 1a8010ca-5511-0410-912e-c29ae57300e0
2016-02-07 03:15:46 +00:00
terminx
eaa2b90251
Implement CON_NEXTSECTORNEIGHBORZ
...
git-svn-id: https://svn.eduke32.com/eduke32@5616 1a8010ca-5511-0410-912e-c29ae57300e0
2016-02-07 02:38:32 +00:00
terminx
69c928aa33
Better names for anim playback functions
...
git-svn-id: https://svn.eduke32.com/eduke32@5615 1a8010ca-5511-0410-912e-c29ae57300e0
2016-02-07 02:38:28 +00:00
terminx
023bc40020
Break all of the text printing stuff out of game.c and into a separate screentext.c/h
...
git-svn-id: https://svn.eduke32.com/eduke32@5614 1a8010ca-5511-0410-912e-c29ae57300e0
2016-02-07 02:38:23 +00:00
terminx
5b7a4a9a78
Break out status bar code into sbar.c/h
...
git-svn-id: https://svn.eduke32.com/eduke32@5613 1a8010ca-5511-0410-912e-c29ae57300e0
2016-02-07 02:38:16 +00:00
terminx
cbd659b3b0
Minor cleanup
...
git-svn-id: https://svn.eduke32.com/eduke32@5612 1a8010ca-5511-0410-912e-c29ae57300e0
2016-02-07 02:38:08 +00:00
terminx
51bc13a9d7
Break cheat code stuff out of game.c and into cheats.c/h. Remove unnecessary header includes from several modules (all relevant headers are already pulled in by duke3d.h).
...
git-svn-id: https://svn.eduke32.com/eduke32@5611 1a8010ca-5511-0410-912e-c29ae57300e0
2016-02-07 02:38:03 +00:00
terminx
463f5b5faa
Add -fno-lto-odr-type-merging to LTO builds to disable a feature that generates a warning in newer versions of GCC
...
git-svn-id: https://svn.eduke32.com/eduke32@5610 1a8010ca-5511-0410-912e-c29ae57300e0
2016-02-07 02:37:54 +00:00
terminx
b8eb4af3f7
Fix compile warning
...
git-svn-id: https://svn.eduke32.com/eduke32@5609 1a8010ca-5511-0410-912e-c29ae57300e0
2016-02-07 02:37:50 +00:00
terminx
1b93d87b1a
Fix r5548
...
git-svn-id: https://svn.eduke32.com/eduke32@5608 1a8010ca-5511-0410-912e-c29ae57300e0
2016-02-02 21:10:16 +00:00
terminx
86f2cbaa88
"i needed to comment out line 111 in source/sdlmusic.c to be able to compile r5606"
...
git-svn-id: https://svn.eduke32.com/eduke32@5607 1a8010ca-5511-0410-912e-c29ae57300e0
2016-02-02 07:30:53 +00:00
terminx
ea997707a1
Pause and resume sounds instead of just stopping them when opening menus or pausing the game.
...
git-svn-id: https://svn.eduke32.com/eduke32@5606 1a8010ca-5511-0410-912e-c29ae57300e0
2016-02-02 06:39:22 +00:00
terminx
0edf078f0c
Fix Polymost issue reported at https://forums.duke4.net/topic/8470-weirdness-of-players-sprite-in-view-modef7/
...
git-svn-id: https://svn.eduke32.com/eduke32@5605 1a8010ca-5511-0410-912e-c29ae57300e0
2016-02-02 00:21:27 +00:00
terminx
03b0335130
Implement Mapster32's CON_FOR into EDuke32.
...
git-svn-id: https://svn.eduke32.com/eduke32@5604 1a8010ca-5511-0410-912e-c29ae57300e0
2016-02-02 00:21:24 +00:00
terminx
2ad6e2811a
VS project fixes, DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5603 1a8010ca-5511-0410-912e-c29ae57300e0
2016-02-02 00:21:21 +00:00
terminx
8ac3e86da3
Add SFLAG_REALCLIPDIST to bypass hard-coded clipdist fuckery based on xrepeat and picnum. This also changes some bad uses of A_CheckSpriteTileFlags() into A_CheckSpriteFlags() instead.
...
git-svn-id: https://svn.eduke32.com/eduke32@5602 1a8010ca-5511-0410-912e-c29ae57300e0
2016-02-02 00:21:17 +00:00
terminx
7466904eaf
Bring out yer dead!
...
git-svn-id: https://svn.eduke32.com/eduke32@5601 1a8010ca-5511-0410-912e-c29ae57300e0
2016-02-02 00:21:12 +00:00
terminx
79670ecfcf
Add a few missing files to the VS project. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5600 1a8010ca-5511-0410-912e-c29ae57300e0
2016-02-02 00:21:07 +00:00
terminx
f1760d64ad
This never should have been committed. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5599 1a8010ca-5511-0410-912e-c29ae57300e0
2016-02-02 00:21:04 +00:00
terminx
33f6826573
Renamed "veryclean" make recipe to "clean" and added veryclean back as an alias for compatibility. This also adds a suggestion to run "make clean" when linking fails. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5598 1a8010ca-5511-0410-912e-c29ae57300e0
2016-02-02 00:20:59 +00:00
terminx
4861b13c6e
Fix Polymer wall updating
...
git-svn-id: https://svn.eduke32.com/eduke32@5597 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-27 10:28:00 +00:00
terminx
6e30845fc7
Fix animsounds error message. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5596 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-27 10:27:56 +00:00
terminx
b53767000b
Cheap hack to let Mapster32 read the visibility parameter from gamestartup when parsing the CONs for sound definitions.
...
git-svn-id: https://svn.eduke32.com/eduke32@5595 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-27 10:06:03 +00:00
terminx
798685ee80
Fix switch/case regressions introduced in r5577.
...
git-svn-id: https://svn.eduke32.com/eduke32@5594 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-27 10:06:00 +00:00
hendricks266
93884b1a91
Fix potential build failure when static inline G_CheckForSpace{Ceiling,Floor} are declared without namesdyn.h first being included.
...
Exposed by lunatic_game.c when LUNATIC=1.
git-svn-id: https://svn.eduke32.com/eduke32@5593 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-27 07:30:34 +00:00
hendricks266
3c726065f7
Lunatic: Fix unused-parameter warnings.
...
git-svn-id: https://svn.eduke32.com/eduke32@5592 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-27 07:30:31 +00:00
hendricks266
a61d1b6a11
Lunatic: Fix discarded-qualifiers warnings.
...
git-svn-id: https://svn.eduke32.com/eduke32@5591 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-27 07:30:28 +00:00
hendricks266
f1d187d378
Lunatic: Fix cast-qual warnings having to do with L_RunString.
...
git-svn-id: https://svn.eduke32.com/eduke32@5590 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-27 07:30:23 +00:00
hendricks266
7f5654879d
Clean up some cvar definitions.
...
git-svn-id: https://svn.eduke32.com/eduke32@5589 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-27 07:30:18 +00:00
terminx
6d9273d502
"4 spaces originally
...
2 spaces now
0 idea how that even happened"
git-svn-id: https://svn.eduke32.com/eduke32@5588 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-27 07:26:40 +00:00
terminx
b36f2bdc7f
Fix problem with C-CON sector and wall structure access. Oops.
...
git-svn-id: https://svn.eduke32.com/eduke32@5587 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-27 07:16:47 +00:00
terminx
f8e1d814ce
Minor cleanup. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5586 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-27 07:16:45 +00:00
terminx
9bdac4d868
Fix issue with the info message for toggling floor texture expansion bit in Mapster32 only reading the value from the sector's ceiling instead of what you were actually pointing at.
...
git-svn-id: https://svn.eduke32.com/eduke32@5585 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-27 07:16:40 +00:00
terminx
e4e2954eea
I still make off-by-one errors because I am a horrible programmer. :D
...
git-svn-id: https://svn.eduke32.com/eduke32@5584 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-24 19:44:49 +00:00
hendricks266
f146abe68e
Update scripts that make 7-Zip packages to enable solid archives for better compression. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5583 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-22 01:24:58 +00:00
terminx
3e82145e2c
CON_MOVESECTOR. Triggers built-in sector movement routines... not really appropriate to use outside of EVENT_MOVEEFFECTORS.
...
git-svn-id: https://svn.eduke32.com/eduke32@5581 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-21 19:35:34 +00:00
terminx
10fca8594d
Replace msx/msy global arrays with vec2_t g_origins. Bump BYTEVERSION.
...
git-svn-id: https://svn.eduke32.com/eduke32@5580 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-21 19:35:30 +00:00
terminx
72d7f042de
EVENT_MOVEEFFECTORS. Allows disabling, overriding, or just plain tampering with built-in SECTOREFFECTOR effects.
...
git-svn-id: https://svn.eduke32.com/eduke32@5579 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-21 19:35:25 +00:00
terminx
d30efa9a0a
EVENT_MOVESECTOR. This isn't enough to really do anything with yet--more to come.
...
git-svn-id: https://svn.eduke32.com/eduke32@5578 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-21 19:35:22 +00:00
terminx
180d33c66e
Revise compilation of CON_CASE and CON_DEFAULT.
...
git-svn-id: https://svn.eduke32.com/eduke32@5577 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-21 19:35:19 +00:00
terminx
2d004034b1
Inline some things that looked like happy, fun candidates for inlining.
...
git-svn-id: https://svn.eduke32.com/eduke32@5576 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-21 19:35:16 +00:00
terminx
806413e887
Fix compilation of malformed statements using array style notation.
...
git-svn-id: https://svn.eduke32.com/eduke32@5575 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-21 19:35:14 +00:00
terminx
c4193d933b
Move C-CON compile stat printing into its own function.
...
git-svn-id: https://svn.eduke32.com/eduke32@5574 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-21 19:35:11 +00:00
terminx
621f5db188
Use lists for the many hash tables used in the C-CON compiler instead of dozens of lines of calls to hash_init() and hash_free().
...
git-svn-id: https://svn.eduke32.com/eduke32@5573 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-21 19:35:09 +00:00
terminx
86a4660f08
const stuff
...
git-svn-id: https://svn.eduke32.com/eduke32@5572 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-21 19:35:06 +00:00
terminx
39b9a77581
Add CON compiler error for malformed comments
...
git-svn-id: https://svn.eduke32.com/eduke32@5571 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-21 19:35:03 +00:00
terminx
37ae2ed416
Minor cleanup, DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5570 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-21 19:35:00 +00:00
terminx
ba80a5f35e
First attempt at providing CON control of the internal sector animation system. Read the commit if you want to know how it works!
...
git-svn-id: https://svn.eduke32.com/eduke32@5569 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-21 19:34:56 +00:00
terminx
eacd9527a3
Mapster32: configurable point and line highlight/selection distances
...
git-svn-id: https://svn.eduke32.com/eduke32@5568 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-15 07:58:57 +00:00
terminx
ba54de3ab3
Further cleanup of A_InsertSprite().
...
git-svn-id: https://svn.eduke32.com/eduke32@5567 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-15 07:58:52 +00:00
hendricks266
28ba642342
Xcode: HAVE_VORBIS and HAVE_FLAC under OS X
...
git-svn-id: https://svn.eduke32.com/eduke32@5566 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-12 10:31:46 +00:00
hendricks266
3d0a4c6691
Xcode: Enable many more compiler warnings.
...
(and fix some compiler settings)
git-svn-id: https://svn.eduke32.com/eduke32@5565 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-12 10:31:43 +00:00
hendricks266
03afe5c1ea
Xcode: Add GameController.framework, needed by SDL2, when building for iOS.
...
git-svn-id: https://svn.eduke32.com/eduke32@5564 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-12 10:31:40 +00:00
hendricks266
0874812e34
Xcode: Don't link libs to libs.
...
git-svn-id: https://svn.eduke32.com/eduke32@5563 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-12 10:31:36 +00:00
hendricks266
a4b4171f71
Xcode: Bump OS X deployment target to 10.10, because I run that on my machine and Homebrew's libs target it. Also set the iOS deployment target to 6.0, the minimum Xcode will allow me.
...
git-svn-id: https://svn.eduke32.com/eduke32@5562 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-12 10:31:33 +00:00
hendricks266
88dbd6113a
Xcode: Update file listings.
...
git-svn-id: https://svn.eduke32.com/eduke32@5561 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-12 10:31:30 +00:00
hendricks266
bc1ea6171f
Xcode: Clean up how some file paths are defined.
...
git-svn-id: https://svn.eduke32.com/eduke32@5560 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-12 10:31:27 +00:00
hendricks266
334d5c1ef6
Xcode: Automatically suggested changes.
...
git-svn-id: https://svn.eduke32.com/eduke32@5559 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-12 10:31:24 +00:00
hendricks266
2beee7056c
iOS: Eliminate some minor warnings.
...
git-svn-id: https://svn.eduke32.com/eduke32@5558 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-12 10:31:19 +00:00
hendricks266
95a70e063d
OS X: Fix Polymer build.
...
git-svn-id: https://svn.eduke32.com/eduke32@5557 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-12 10:31:15 +00:00
hendricks266
a35f3b13dc
Replace the semicolon trailing empty-bodied loops with opening and closing braces.
...
I believe this is the clearest way to indicate that an empty-bodied loop is intended, as opposed to the possibility of a mistaken semicolon.
This eliminates "warning: suggest a space before ‘;’ or explicit braces around empty body in ‘for’ statement" with GCC 4.2, which is important for old OS X versions.
git-svn-id: https://svn.eduke32.com/eduke32@5556 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-12 10:31:12 +00:00
hendricks266
c695e8e911
Makefile: Improve how we enable and disable warnings. This fixes incompatibilities between r5543 and certain platforms.
...
git-svn-id: https://svn.eduke32.com/eduke32@5555 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-12 10:31:07 +00:00
hendricks266
4c7a460d6a
Add some UNREFERENCED_PARAMETER for when Vorbis or FLAC are disabled.
...
git-svn-id: https://svn.eduke32.com/eduke32@5554 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-12 10:31:05 +00:00
hendricks266
c1f67576a4
CON: Add userdef[].soundtoggle. Read-only.
...
git-svn-id: https://svn.eduke32.com/eduke32@5553 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-12 10:31:01 +00:00
hendricks266
344e10628f
Part two of more const casting, this time affecting argv instances.
...
git-svn-id: https://svn.eduke32.com/eduke32@5552 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-12 10:30:56 +00:00
hendricks266
98ebda94ec
Address some const-disregarding casts missed in r5540 due to conditional compilation settings and platforms.
...
git-svn-id: https://svn.eduke32.com/eduke32@5551 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-12 10:30:48 +00:00
hendricks266
da1081112c
Winlayer: Bound code with USE_GLEXT where missed in r5526.
...
Also make some dead GL debugging code not dead during debug builds.
git-svn-id: https://svn.eduke32.com/eduke32@5550 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-12 10:30:40 +00:00
terminx
3126cec75e
I'm either clever, or an idiot. Or both.
...
git-svn-id: https://svn.eduke32.com/eduke32@5548 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-11 05:06:14 +00:00
terminx
db8b4a00b6
Enable -Wwrite-strings and fix all instances where string constants were passed to functions accepting a char ptr.
...
git-svn-id: https://svn.eduke32.com/eduke32@5547 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-11 05:06:10 +00:00
terminx
e27eb7a7e5
Use XXH64 functions for editor undo/redo when building for 64-bit.
...
git-svn-id: https://svn.eduke32.com/eduke32@5546 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-11 05:06:02 +00:00
terminx
ea1f6dc476
Fix some ENet const issues. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5545 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-11 05:05:59 +00:00
terminx
cf5ff0fcdc
Update ENet to v1.3.13. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5544 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-11 05:05:54 +00:00
terminx
e0d8a753a1
Add -Wuninitialized, -Wlogical-op, and -Wcast-qual. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5543 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-11 05:05:50 +00:00
terminx
df32b0b788
Update to the newest version of xxHash.
...
git-svn-id: https://svn.eduke32.com/eduke32@5542 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-11 05:05:47 +00:00
terminx
3d72611f57
Update vcxproj. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5541 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-11 05:05:43 +00:00
terminx
a7e6ed8745
Fix quite a few issues with casting away const and volatile qualifiers, found with -Wcast-qual. If we're going to use const everywhere, we should really mean it!
...
git-svn-id: https://svn.eduke32.com/eduke32@5540 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-11 05:05:38 +00:00
terminx
8fc803fee3
Negligible change to OS string printed at startup.
...
git-svn-id: https://svn.eduke32.com/eduke32@5539 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-11 05:05:25 +00:00
terminx
b1103bb342
Fix a stupid error in MACT, found with GCC's -Wlogical-op parameter.
...
git-svn-id: https://svn.eduke32.com/eduke32@5538 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-11 05:05:21 +00:00
terminx
603ae7eb7a
CON compilation and debug message fuckery affecting virtually nobody
...
git-svn-id: https://svn.eduke32.com/eduke32@5537 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-11 05:05:18 +00:00
terminx
88e08319b9
Clean up some of the SDL version number spam at startup.
...
git-svn-id: https://svn.eduke32.com/eduke32@5536 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-11 05:05:16 +00:00
terminx
15b57d4dcf
Fix a few instances where bitptr wasn't properly set after writing to the compiled script
...
git-svn-id: https://svn.eduke32.com/eduke32@5535 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-11 05:05:13 +00:00
terminx
31e89f12b2
Clean up a couple instances of direct usage of a magic number in the CON compiler. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5534 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-11 05:05:10 +00:00
terminx
e1124f9d12
Make the bitptr stuff in the CON compiler more readable.
...
git-svn-id: https://svn.eduke32.com/eduke32@5533 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-11 05:05:05 +00:00
hendricks266
2e968b90bf
Add inthashtable_t, mapping intptr_t to intptr_t.
...
git-svn-id: https://svn.eduke32.com/eduke32@5532 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-08 01:33:46 +00:00
hendricks266
d4dc72bac4
C-CON: Add getpv and setpv as short forms for get/setplayervar, and #include as an alternate for include.
...
git-svn-id: https://svn.eduke32.com/eduke32@5531 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-08 01:33:43 +00:00
hendricks266
f403d6234c
C-CON: Add ifvarge, ifvarle, and ifvarboth in line with ifvarvarge, ifvarvarle, and ifvarvarboth.
...
git-svn-id: https://svn.eduke32.com/eduke32@5530 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-08 01:33:39 +00:00
hendricks266
3a8d53573c
Remove actors_inline, game_inline, and sector_inline objects, and move their code into other headers, set up to be compiled into well-fitting objects if inlining them is disabled.
...
git-svn-id: https://svn.eduke32.com/eduke32@5529 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-08 01:33:35 +00:00
hendricks266
28a9372a79
Enable models by default under EDUKE32_GLES, because they now work!
...
git-svn-id: https://svn.eduke32.com/eduke32@5528 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-08 01:33:28 +00:00
hendricks266
8e52d7b1f7
Fix miscellaneous GL ES warnings
...
git-svn-id: https://svn.eduke32.com/eduke32@5527 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-08 01:33:25 +00:00
hendricks266
e00115c043
Introduce USE_GLEXT macro and use it to conditionally compile out all GL ARB function calls when compiling for GL ES platforms.
...
This replaces the previous hack where we kept the dynamic pointers null and simply never tried calling any of them by a conspiracy of default runtime settings and disabled menu options.
Code affected: VBO support for models, VPX GLSL decoding, texture compression (texture cache), and multitexturing (glow/detail maps).
This commit also replaces EDUKE32_GLES conditionals with USE_GLEXT where appropriate.
I didn't touch polymer.c because it depends too heavily on extensions for conditionally compiling them to make sense.
git-svn-id: https://svn.eduke32.com/eduke32@5526 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-08 01:33:20 +00:00
hendricks266
ff80e020ad
jwzgles: fix warnings when compiling on Linux
...
git-svn-id: https://svn.eduke32.com/eduke32@5525 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-08 01:33:15 +00:00
hendricks266
8d73dca2d2
jwzgles: uncomment stub glPush/PopAttrib so that the editor links
...
git-svn-id: https://svn.eduke32.com/eduke32@5524 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-08 01:33:11 +00:00
hendricks266
409b14fb62
jwzgles: fix errors when compiling on Linux
...
git-svn-id: https://svn.eduke32.com/eduke32@5523 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-08 01:33:08 +00:00
hendricks266
8cd708cef4
C-CON: Fix the return command within events, broken since r5097.
...
git-svn-id: https://svn.eduke32.com/eduke32@5522 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-08 01:33:05 +00:00
hendricks266
5d9b8a2bb1
C-CON: Clean up pointer handling in the parser so we have less to re-offset in C_SetScriptSize. Also fixes bugs in r5093 and/or r5097.
...
git-svn-id: https://svn.eduke32.com/eduke32@5521 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-08 01:33:01 +00:00
hendricks266
1807aec2a7
C-CON: Fix VM_ScriptInfo so that it never reads before the beginning of the bytecode.
...
git-svn-id: https://svn.eduke32.com/eduke32@5520 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-08 01:32:57 +00:00
hendricks266
d3f9244d66
Remove -CONversion command line parameter, because it has been supplanted by r5499's automatic identifier masking.
...
git-svn-id: https://svn.eduke32.com/eduke32@5519 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-08 01:32:53 +00:00
hendricks266
aafb01ab33
Move loading of settings.cfg to before video init so that it can respect r_togglecomposition.
...
git-svn-id: https://svn.eduke32.com/eduke32@5518 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-08 01:32:50 +00:00
hendricks266
c2b5ae8256
Menus: Move "Cheats" from Options to Game Setup.
...
git-svn-id: https://svn.eduke32.com/eduke32@5517 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-08 01:32:47 +00:00
hendricks266
d5b22a714f
Fix POLYMER=0 warnings introduced in r5496.
...
git-svn-id: https://svn.eduke32.com/eduke32@5516 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-08 01:32:44 +00:00
hendricks266
855e9117ff
Fix USE_OPENGL=0 compiler errors introduced in r5475.
...
git-svn-id: https://svn.eduke32.com/eduke32@5515 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-08 01:32:41 +00:00
hendricks266
cd97e9fd3b
Windows: SDL 2.0.4
...
git-svn-id: https://svn.eduke32.com/eduke32@5514 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-08 01:32:29 +00:00
terminx
748d9ac22f
Alter VM_ScriptInfo() to take a ptr to the script to disassemble, and dump disassembly to the log at startup when an internal compiler error occurs.
...
git-svn-id: https://svn.eduke32.com/eduke32@5513 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-07 03:30:07 +00:00
terminx
085333a5fb
Minor change to some gamevar warnings. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5512 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-07 03:30:02 +00:00
terminx
f372d8184a
Fix CON compiler errors. Me no smart.
...
git-svn-id: https://svn.eduke32.com/eduke32@5511 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-07 03:29:59 +00:00
terminx
149df3663f
Remove unused and utterly useless GAMEVAR_SECRET flag.
...
git-svn-id: https://svn.eduke32.com/eduke32@5510 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-07 03:29:56 +00:00
terminx
8848ffcbd9
Fix warnings. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5509 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-07 03:29:52 +00:00
terminx
e122da5de9
Get constified
...
git-svn-id: https://svn.eduke32.com/eduke32@5508 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-07 03:29:49 +00:00
terminx
96ab0aba08
Fix a major bug where "enda" could be used to terminate an event, resulting in all kinds of issues.
...
git-svn-id: https://svn.eduke32.com/eduke32@5507 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-07 03:29:44 +00:00
terminx
1cc28df380
Get rid of a bunch of useless comments.
...
git-svn-id: https://svn.eduke32.com/eduke32@5506 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-03 20:07:27 +00:00
terminx
7bbd2c8ffd
Misc cleanup, add shorthand versions of getplayer, getactor, etc.
...
git-svn-id: https://svn.eduke32.com/eduke32@5505 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-03 20:07:24 +00:00
terminx
08ea5c4242
Fix MSVC warning. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5504 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-03 20:07:20 +00:00
terminx
174c556e2d
No longer link to GOG.com when no game data is found. :(
...
git-svn-id: https://svn.eduke32.com/eduke32@5503 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-03 20:07:17 +00:00
terminx
1d57de831a
Treat "[]" as "[THISACTOR]" when accessing structure members through CON.
...
git-svn-id: https://svn.eduke32.com/eduke32@5502 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-03 20:07:11 +00:00
terminx
14938ea5fd
Add "klabs" keyword to CON, to take a gamevar and set it to its absolute value. The internal "inv" function to invert a gamevar's value has also been exposed externally.
...
git-svn-id: https://svn.eduke32.com/eduke32@5501 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-02 01:56:29 +00:00
terminx
01ebee280e
Add commands added in previous commit to g_keywdate[], clean up a few CON compilation warning messages
...
git-svn-id: https://svn.eduke32.com/eduke32@5500 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-02 01:56:25 +00:00
terminx
7c976018be
Adds the following keywords from M32script into CON: shiftvarvarl, shiftvarvarr, ifvarvarle, ifvarvarge, ifvarvarboth, whilevarl, and whilevarvarl.
...
This also adds the shorthand versions of some commands, like "set" for "setvarvar", "add" for "addvarvar", "ife" for "ifvarvare", etc. There are about 30 of these. Because some of these names may already be used in some projects as variable names, this revision also includes a somewhat large change in variable naming rules: gamevars may now have the same names as CON keywords, with the caveat that the masked keyword is no longer accessible. This results in a warning at compile time but should ensure nobody's project ever stops compiling due to the introduction of new keywords.
git-svn-id: https://svn.eduke32.com/eduke32@5499 1a8010ca-5511-0410-912e-c29ae57300e0
2016-01-02 01:56:20 +00:00
terminx
0871e56b92
Projectile changes:
...
-palette is now set at spawn time, instead of during movement (oops!)
-projectiles can no longer hit their owner during their first tic of movement
git-svn-id: https://svn.eduke32.com/eduke32@5498 1a8010ca-5511-0410-912e-c29ae57300e0
2015-12-28 02:04:41 +00:00
terminx
935e9fa197
Fix hard coded white and red color indexes used in on-screen debug output, to better operate with a palette dissimilar to Duke3D.
...
git-svn-id: https://svn.eduke32.com/eduke32@5497 1a8010ca-5511-0410-912e-c29ae57300e0
2015-12-28 02:04:36 +00:00
terminx
1d17d2c6f6
Polymer lighting tweaks, mostly internal.
...
git-svn-id: https://svn.eduke32.com/eduke32@5496 1a8010ca-5511-0410-912e-c29ae57300e0
2015-12-28 02:04:29 +00:00
hendricks266
0075e746ba
Mapster: Don't restrict setgamepalette to the range [0, 3].
...
git-svn-id: https://svn.eduke32.com/eduke32@5495 1a8010ca-5511-0410-912e-c29ae57300e0
2015-12-26 15:42:13 +00:00
hendricks266
7f5a8f9a23
Polymost: Make voxels take on the current basepalette, like they should.
...
git-svn-id: https://svn.eduke32.com/eduke32@5494 1a8010ca-5511-0410-912e-c29ae57300e0
2015-12-26 15:42:09 +00:00
hendricks266
223e67983d
Polymost: Fix voxels so palette colors are treated as 8-bit, not 6-bit. Overlooked in r5349.
...
git-svn-id: https://svn.eduke32.com/eduke32@5493 1a8010ca-5511-0410-912e-c29ae57300e0
2015-12-26 15:42:05 +00:00
hendricks266
aac1900472
Add new spriteflag SFLAG_GREENSLIMEFOOD = 8388608, which controls whether GREENSLIME will eat a given actor.
...
The flag is automatically set on LIZTROOP, LIZMAN, PIGCOP, and NEWBEAST, in a similar fashion as SFLAG_NOWATERDIP (r4956) and SFLAG_NODAMAGEPUSH (r4371).
git-svn-id: https://svn.eduke32.com/eduke32@5492 1a8010ca-5511-0410-912e-c29ae57300e0
2015-12-26 15:41:59 +00:00
terminx
81d286dcc4
Fix CLANG warnings
...
git-svn-id: https://svn.eduke32.com/eduke32@5491 1a8010ca-5511-0410-912e-c29ae57300e0
2015-12-23 04:06:28 +00:00
terminx
f64a397b34
Fix issue with sin/cos CON commands that prevented using the special builtin structure shortcut access vars for input.
...
git-svn-id: https://svn.eduke32.com/eduke32@5490 1a8010ca-5511-0410-912e-c29ae57300e0
2015-12-23 04:06:24 +00:00
terminx
97c4b40ca2
Add vm_player, vm_sprite and vm_distance to get/setuserdef. This controls the sprite and player referenced by things like "THISACTOR", all of the "ifp" conditionals, per-actor gamevar access, etc. This is intended to be used to un-gimp things like EVENT_WORLD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5489 1a8010ca-5511-0410-912e-c29ae57300e0
2015-12-23 04:06:20 +00:00