Commit Graph

3930 Commits

Author SHA1 Message Date
hendricks266 c9de8faefb AudioLib: Fix improper matching of loop tags with initial substrings of them, and add proper support for LOOP as a synonym of LOOP_START.
git-svn-id: https://svn.eduke32.com/eduke32@5899 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-14 07:40:59 +00:00
hendricks266 52e6cd09cf C-CON: Fix addlogvar command, broken in r5835.
git-svn-id: https://svn.eduke32.com/eduke32@5895 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-14 07:40:47 +00:00
hendricks266 c8f1e9bf37 C-CON: Allow gamestartup to read in one additional parameter (MAXFLAMETHROWERAMMO). Do nothing with it yet.
git-svn-id: https://svn.eduke32.com/eduke32@5894 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-14 07:40:44 +00:00
hendricks266 3ce371d84d C-CON: Implement "ifplaybackon" conditional, used by World Tour to determine if the replay feature is enabled. In our case, it is always false.
git-svn-id: https://svn.eduke32.com/eduke32@5893 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-14 07:40:41 +00:00
hendricks266 259d51bec0 Replace all "g_scriptVersion == 14" with "g_scriptVersion >= 14".
git-svn-id: https://svn.eduke32.com/eduke32@5892 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-14 07:40:38 +00:00
hendricks266 9ce6cd2009 Apply the same bugfix as r4947 to XA sounds so that they only loop when intended.
git-svn-id: https://svn.eduke32.com/eduke32@5891 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-14 07:40:35 +00:00
terminx d7328f738d Minor changes to gamevar error handling
git-svn-id: https://svn.eduke32.com/eduke32@5885 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-09 00:15:18 +00:00
terminx b18db99691 Exterminate the smurfs! This fixes the problem where everything in the game was drastically hue shifted on certain hardware configurations, particularly the Raspberry Pi.
git-svn-id: https://svn.eduke32.com/eduke32@5884 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-09 00:15:14 +00:00
terminx 231c22d654 Misc cleanup. Removed ability to use .CON files found in the .GRP when the .CON files found in the directory can't be compiled.
git-svn-id: https://svn.eduke32.com/eduke32@5883 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-09 00:15:10 +00:00
terminx cf6790b23e Fix MSVC warnings
git-svn-id: https://svn.eduke32.com/eduke32@5882 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-09 00:15:06 +00:00
hendricks266 6780fecfdc Duke: Don't unpause sounds when exiting the menu back to a Game Paused state.
git-svn-id: https://svn.eduke32.com/eduke32@5880 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-03 02:43:57 +00:00
hendricks266 f046d6bef4 Menus: Remove the Polymer aspect ratio option, as it was always broken, and I don't know what purpose it has besides configuring non-square pixel stretching, which we have a long way to go in terms of configuring anyway.
Use r_pr_customaspect from the console instead.

git-svn-id: https://svn.eduke32.com/eduke32@5879 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-03 02:43:54 +00:00
hendricks266 0feb1e0273 Menus: Fix the Widescreen and Texture Mode video settings to use my menu system properly.
git-svn-id: https://svn.eduke32.com/eduke32@5878 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-03 02:43:51 +00:00
terminx f5363194ff Fix detection of menu sounds in EVENT_SOUND
git-svn-id: https://svn.eduke32.com/eduke32@5875 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-18 03:54:45 +00:00
hendricks266 03a8877f55 Fix erroneous display of MESSAGES: ON when it should be OFF.
git-svn-id: https://svn.eduke32.com/eduke32@5871 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-16 21:58:46 +00:00
hendricks266 295c654740 Fix TEST_SYNC_KEY macro to always return 1 or 0.
git-svn-id: https://svn.eduke32.com/eduke32@5870 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-16 21:55:45 +00:00
hendricks266 e99dbb858e Fix undefined behavior: null pointer passed as argument which is declared to never be null
git-svn-id: https://svn.eduke32.com/eduke32@5868 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-16 21:55:39 +00:00
hendricks266 dcbb2891ae Fix warning: suggest parentheses around '&&' within '||' [-Wparentheses]
git-svn-id: https://svn.eduke32.com/eduke32@5863 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-16 21:55:24 +00:00
hendricks266 6f194b7f7c Fix pausing MIDI music on Windows, regressed in r5817.
git-svn-id: https://svn.eduke32.com/eduke32@5861 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-16 21:55:09 +00:00
terminx 559a34e875 Support saving specified CON arrays in map states
git-svn-id: https://svn.eduke32.com/eduke32@5860 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-10 05:21:01 +00:00
hendricks266 750ceb932c Fix MIDI playback on Windows, broken in r5817.
The main fix here is GET_NEXT_EVENT.

git-svn-id: https://svn.eduke32.com/eduke32@5855 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-09 03:12:15 +00:00
terminx 07cbae15c9 Fix autoaim. Oops.
git-svn-id: https://svn.eduke32.com/eduke32@5854 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-06 04:25:36 +00:00
terminx b3273dbebf Cleanups
git-svn-id: https://svn.eduke32.com/eduke32@5853 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-06 04:25:32 +00:00
hendricks266 da52bac304 Fix a bug in r5826 regarding display of the WWII GI rocket launcher.
git-svn-id: https://svn.eduke32.com/eduke32@5851 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-06 02:15:34 +00:00
hendricks266 d466b2ae51 Add bit 1 to action flags: use the viewpoint's position relative to the actor when calculating which rotation to display, instead of the viewpoint's angle, for viewtypes 2/3/4/8. 5/7 already do this.
git-svn-id: https://svn.eduke32.com/eduke32@5850 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-06 02:15:31 +00:00
hendricks266 d8ce0f042d CON: Add an optional sixth parameter, a flags bitfield, to action definitions. Bump BYTEVERSION.
git-svn-id: https://svn.eduke32.com/eduke32@5849 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-06 02:15:28 +00:00
hendricks266 abd1523477 Enumify stuff having to do with action parameters.
git-svn-id: https://svn.eduke32.com/eduke32@5848 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-06 02:15:23 +00:00
terminx 0025c8c96a I need to quit trying to be clever
git-svn-id: https://svn.eduke32.com/eduke32@5846 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-04 04:30:30 +00:00
terminx b13ad6bdc8 Fix builds on broken compilers that don't properly support using "z" in the length field of a printf format placeholder.
git-svn-id: https://svn.eduke32.com/eduke32@5844 1a8010ca-5511-0410-912e-c29ae57300e0
2016-08-29 19:11:47 +00:00
hendricks266 1fc836fa21 etcpak: Fix simple_array operator[] parameter type.
DONT_BUILD.

git-svn-id: https://svn.eduke32.com/eduke32@5840 1a8010ca-5511-0410-912e-c29ae57300e0
2016-08-28 21:26:44 +00:00
terminx bf41fc91b0 Fix a memory leak in CON_RESIZEARRAY. This commit also includes an inconsequential dozen or so lines of formatting changes I had done when I stumbled across the bug.
git-svn-id: https://svn.eduke32.com/eduke32@5839 1a8010ca-5511-0410-912e-c29ae57300e0
2016-08-27 01:42:19 +00:00
terminx 3f4a4679ce Add "string" alias for "definequote" and "print" alias for "quote".
git-svn-id: https://svn.eduke32.com/eduke32@5838 1a8010ca-5511-0410-912e-c29ae57300e0
2016-08-27 01:42:16 +00:00
terminx c2d8a66c3a Fix a couple of gcc 6.x warnings.
git-svn-id: https://svn.eduke32.com/eduke32@5837 1a8010ca-5511-0410-912e-c29ae57300e0
2016-08-27 01:42:12 +00:00
terminx d7d6623364 More readability cleanup. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@5835 1a8010ca-5511-0410-912e-c29ae57300e0
2016-08-27 01:42:01 +00:00
terminx bd628ea2f7 This probably adds support for saving game arrays into map states. Probably.
git-svn-id: https://svn.eduke32.com/eduke32@5834 1a8010ca-5511-0410-912e-c29ae57300e0
2016-08-27 01:41:50 +00:00
terminx 638312e7f9 More cleanup. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@5833 1a8010ca-5511-0410-912e-c29ae57300e0
2016-08-27 01:41:46 +00:00
terminx 0520994a8f Remove some unused gamevars pertaining to the original multiplayer code. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@5832 1a8010ca-5511-0410-912e-c29ae57300e0
2016-08-27 01:41:41 +00:00
terminx e3a7c98a25 Fix a gcc 6.x warning
git-svn-id: https://svn.eduke32.com/eduke32@5831 1a8010ca-5511-0410-912e-c29ae57300e0
2016-08-27 01:41:37 +00:00
terminx c6617a98b2 More cleanup. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@5830 1a8010ca-5511-0410-912e-c29ae57300e0
2016-08-27 01:41:33 +00:00
terminx 4575148c02 Use size_t or ssize_t in for loops where possible
git-svn-id: https://svn.eduke32.com/eduke32@5829 1a8010ca-5511-0410-912e-c29ae57300e0
2016-08-27 01:41:21 +00:00
terminx aae66ccb11 Further cleanup. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@5828 1a8010ca-5511-0410-912e-c29ae57300e0
2016-08-27 01:41:04 +00:00
terminx 34453f5090 Continued cleanup. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@5827 1a8010ca-5511-0410-912e-c29ae57300e0
2016-08-27 01:40:56 +00:00
terminx 5c6d8c96ad The great cleanup continues. This one also adds a new feature, SFLAG_WAKEUPBADGUYS. When awoken (changed to an active actor), any sprite with this flag set will wake up any enemy it has line of sight with.
git-svn-id: https://svn.eduke32.com/eduke32@5826 1a8010ca-5511-0410-912e-c29ae57300e0
2016-08-27 01:40:46 +00:00
terminx 52f678a743 Massive readability cleanup of game code part 1. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@5825 1a8010ca-5511-0410-912e-c29ae57300e0
2016-08-27 01:40:35 +00:00
terminx 8e92183835 Android build fix. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@5824 1a8010ca-5511-0410-912e-c29ae57300e0
2016-08-27 01:40:18 +00:00
terminx 9d0916b6b7 Mapster32: add home/end modifier keys to 3d mode slope keys ([ and ]), plus a third increment modifier (home and end at the same time)
git-svn-id: https://svn.eduke32.com/eduke32@5823 1a8010ca-5511-0410-912e-c29ae57300e0
2016-08-27 01:40:15 +00:00
terminx ae5f941ad0 You're just going to have to trust me that this is 10000 lines worth of formatting and variable name cleanup, and not 10000 lines of functional changes.
git-svn-id: https://svn.eduke32.com/eduke32@5821 1a8010ca-5511-0410-912e-c29ae57300e0
2016-08-27 01:40:06 +00:00
terminx 3f641d314f Fix EVENT_DISPLAYROOMS and EVENT_DISPLAYROOMSCAMERA RETURN values
git-svn-id: https://svn.eduke32.com/eduke32@5818 1a8010ca-5511-0410-912e-c29ae57300e0
2016-08-27 01:39:53 +00:00
terminx ae7fcd43a6 Windows MIDI cleanup. Removal of some remaining unused functionality lingering from the DOS days and some formatting changes that happened along the way. If anything breaks with music on Windows, this is probably the commit to look at.
git-svn-id: https://svn.eduke32.com/eduke32@5817 1a8010ca-5511-0410-912e-c29ae57300e0
2016-08-27 01:39:50 +00:00
terminx 9a0a62fdcb Windows MIDI support: remove a few unused structure members and the code that relied on them
git-svn-id: https://svn.eduke32.com/eduke32@5816 1a8010ca-5511-0410-912e-c29ae57300e0
2016-08-27 01:39:45 +00:00
terminx 51992210b8 basic cleanup and formatting
git-svn-id: https://svn.eduke32.com/eduke32@5815 1a8010ca-5511-0410-912e-c29ae57300e0
2016-08-27 01:39:41 +00:00
terminx a58e1ff580 audiolib:
consolidate all multivoc invalid file errors into MV_InvalidFile
renamed FX_PlayLooped to FX_Play and removed original FX_Play
removed device type parameter from FX_Init
moved several FX_ multivoc wrapper functions to the header and made them FORCE_INLINE

git-svn-id: https://svn.eduke32.com/eduke32@5814 1a8010ca-5511-0410-912e-c29ae57300e0
2016-08-27 01:39:38 +00:00
terminx 1305d32e84 audiolib: initialization is better than assignment
git-svn-id: https://svn.eduke32.com/eduke32@5813 1a8010ca-5511-0410-912e-c29ae57300e0
2016-08-27 01:39:30 +00:00
terminx 065db7d5e8 Sound cleanup: remove some unused functions
git-svn-id: https://svn.eduke32.com/eduke32@5812 1a8010ca-5511-0410-912e-c29ae57300e0
2016-08-27 01:39:24 +00:00
helixhorned edd7a82be8 Lunatic: fix map-text loading.
The file descriptor was closed from Lua code, causing the
subsequent kfilelength() to fail and attempt an allocation
of (size_t)-1 bytes.

git-svn-id: https://svn.eduke32.com/eduke32@5809 1a8010ca-5511-0410-912e-c29ae57300e0
2016-07-04 14:09:07 +00:00
terminx 0d41360676 Build fix
git-svn-id: https://svn.eduke32.com/eduke32@5804 1a8010ca-5511-0410-912e-c29ae57300e0
2016-06-21 04:29:06 +00:00
terminx 95f7cf0982 "return" is not a function.
git-svn-id: https://svn.eduke32.com/eduke32@5803 1a8010ca-5511-0410-912e-c29ae57300e0
2016-06-21 00:34:41 +00:00
terminx 03daded192 Vectorize a few more things.
git-svn-id: https://svn.eduke32.com/eduke32@5800 1a8010ca-5511-0410-912e-c29ae57300e0
2016-06-21 00:34:18 +00:00
terminx d5ceeebfcb Miscellaneous tomfoolery of little consequence.
git-svn-id: https://svn.eduke32.com/eduke32@5798 1a8010ca-5511-0410-912e-c29ae57300e0
2016-06-21 00:34:07 +00:00
terminx 5800cd588c tsectortype -> usectortype
twalltype -> uwalltype
tspritetype -> uspritetype

No other changes.

git-svn-id: https://svn.eduke32.com/eduke32@5796 1a8010ca-5511-0410-912e-c29ae57300e0
2016-06-21 00:33:58 +00:00
terminx 0562de125f More changes similar to the previous commit
git-svn-id: https://svn.eduke32.com/eduke32@5795 1a8010ca-5511-0410-912e-c29ae57300e0
2016-06-21 00:33:45 +00:00
terminx 3b7aa279b1 Clipping function tweaks. Fixes building without HAVE_CLIPSHAPE_FEATURE.
git-svn-id: https://svn.eduke32.com/eduke32@5793 1a8010ca-5511-0410-912e-c29ae57300e0
2016-06-21 00:33:35 +00:00
terminx 205a757109 Move palette related functionality from engine.c to palette.c/h.
git-svn-id: https://svn.eduke32.com/eduke32@5789 1a8010ca-5511-0410-912e-c29ae57300e0
2016-06-21 00:33:06 +00:00
terminx 212e84ce21 Minor CON optimization bs.
git-svn-id: https://svn.eduke32.com/eduke32@5786 1a8010ca-5511-0410-912e-c29ae57300e0
2016-06-21 00:32:44 +00:00
terminx 74b01416d0 Allow non-player hitscan projectiles to spawn sprites when impacting walls or sectors, and allow them to break sector textures (they could already break wall textures)
git-svn-id: https://svn.eduke32.com/eduke32@5783 1a8010ca-5511-0410-912e-c29ae57300e0
2016-06-21 00:32:33 +00:00
terminx 3c9f97a58e Allow SFLAG_NOCLIP to apply to projectile movement
git-svn-id: https://svn.eduke32.com/eduke32@5782 1a8010ca-5511-0410-912e-c29ae57300e0
2016-06-21 00:32:28 +00:00
hendricks266 3dba49a1e3 Replace uses of the HAVE_DS and HAVE_SDL preprocessor macros with MIXERTYPEWIN and MIXERTYPESDL.
git-svn-id: https://svn.eduke32.com/eduke32@5780 1a8010ca-5511-0410-912e-c29ae57300e0
2016-06-15 07:08:45 +00:00
hendricks266 d8c03ba267 Duke3D: Restore some accidentally-working cases of SEs 5, 6, 14, and 30 broken in r3161.
git-svn-id: https://svn.eduke32.com/eduke32@5773 1a8010ca-5511-0410-912e-c29ae57300e0
2016-06-10 18:23:15 +00:00
hendricks266 0434a87e3a Remove trailing whitespace from anything we don't need to rebase from an upstream.
git-svn-id: https://svn.eduke32.com/eduke32@5768 1a8010ca-5511-0410-912e-c29ae57300e0
2016-06-05 04:46:28 +00:00
hendricks266 3719146448 Clean up fallback video mode attempt code in order to fix at least three bugs.
git-svn-id: https://svn.eduke32.com/eduke32@5758 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-29 21:11:17 +00:00
hendricks266 5ae7bd99f2 Lunatic: Fix build. BUILD_LUNATIC.
git-svn-id: https://svn.eduke32.com/eduke32@5755 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-23 04:47:22 +00:00
hendricks266 39f00bcb35 KenBuild: Address "warning: shifting a negative signed value is undefined [-Wshift-negative-value]".
git-svn-id: https://svn.eduke32.com/eduke32@5741 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-23 04:46:41 +00:00
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
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 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 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
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 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 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 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 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 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 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