hendricks266
b73f2f3e17
Reinstitute the cosmetic cleanups that should have been a separate commit from r5484 and were reverted in r5723.
...
git-svn-id: https://svn.eduke32.com/eduke32@5856 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-09 03:12:20 +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
4a6676dd87
Fix warning: signed and unsigned type in conditional expression [-Wsign-compare]
...
git-svn-id: https://svn.eduke32.com/eduke32@5852 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-06 02:15:37 +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
hendricks266
ec4d6f7b89
Windows: Update libpng to 1.6.25, built with GCC 6.2.
...
Fixes warning: type 'struct _SETJMP_FLOAT128' violates one definition rule [-Wodr]
git-svn-id: https://svn.eduke32.com/eduke32@5847 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-06 02:15:13 +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
ad4bb9c25d
Fix Polymer breakage
...
git-svn-id: https://svn.eduke32.com/eduke32@5845 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-02 01:21:10 +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
599e58bfef
Satisfy warning: this 'if' clause does not guard... [-Wmisleading-indentation]
...
DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@5843 1a8010ca-5511-0410-912e-c29ae57300e0
2016-08-28 21:26:55 +00:00
hendricks266
78f939a2f9
Fix warning: logical 'and' of equal expressions [-Wlogical-op]
...
DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@5842 1a8010ca-5511-0410-912e-c29ae57300e0
2016-08-28 21:26:51 +00:00
hendricks266
a0183c9c42
Fix warning: left shift of negative value [-Wshift-negative-value]
...
DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@5841 1a8010ca-5511-0410-912e-c29ae57300e0
2016-08-28 21:26:48 +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
3c34256867
Fix a software mode crash bug involving bad animation flags set on tiles
...
git-svn-id: https://svn.eduke32.com/eduke32@5836 1a8010ca-5511-0410-912e-c29ae57300e0
2016-08-27 01:42:07 +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
47edac436b
Support hex constants in scriptfile_getsymbolvalue()
...
git-svn-id: https://svn.eduke32.com/eduke32@5822 1a8010ca-5511-0410-912e-c29ae57300e0
2016-08-27 01:40:11 +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
d7595edc41
Update _clang-format file. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5820 1a8010ca-5511-0410-912e-c29ae57300e0
2016-08-27 01:39:59 +00:00
terminx
51c47a9ef7
ldist/dist tweak
...
git-svn-id: https://svn.eduke32.com/eduke32@5819 1a8010ca-5511-0410-912e-c29ae57300e0
2016-08-27 01:39:56 +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
531814ecc4
Mapster32: on TROR point insertion, mark more points.
...
This fixes a bug reported by Micky C on 2016-01-11 where too
few points were marked to be inserted. See AMC TC SVN r2308.
git-svn-id: https://svn.eduke32.com/eduke32@5811 1a8010ca-5511-0410-912e-c29ae57300e0
2016-07-04 14:09:08 +00:00
helixhorned
eda5300b33
Mapster32: pull out some code from M32_InsertPoint() into M32_MarkPointInsertion().
...
git-svn-id: https://svn.eduke32.com/eduke32@5810 1a8010ca-5511-0410-912e-c29ae57300e0
2016-07-04 14:09:08 +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
helixhorned
f0cb3ea994
SDL2 layer: in Mapster32, fix menu Ctrl-F in case NumLock is on.
...
git-svn-id: https://svn.eduke32.com/eduke32@5808 1a8010ca-5511-0410-912e-c29ae57300e0
2016-07-04 14:09:06 +00:00
helixhorned
46f39b725c
engine.c: fix potential smostwall[-1] access. Found by ASan.
...
git-svn-id: https://svn.eduke32.com/eduke32@5807 1a8010ca-5511-0410-912e-c29ae57300e0
2016-07-04 14:09:05 +00:00