Commit graph

13475 commits

Author SHA1 Message Date
Rachael Alexanderson
0dcb1fe74c - fix zscript-side definition for Warp 2017-11-14 18:44:35 -05:00
Christoph Oelckers
5935e14c09 - exported P_Thing_Warp to ZScript. 2017-11-13 21:00:17 +01:00
alexey.lysiuk
5d83ee5e89 Exposed String.Remove() function to ZScript
https://forum.zdoom.org/viewtopic.php?t=58402
2017-11-12 14:44:21 +02:00
alexey.lysiuk
285834ae5b Fixed return state of player entered event
https://forum.zdoom.org/viewtopic.php?t=58433
2017-11-12 11:03:08 +02:00
Rachael Alexanderson
1088c60add - add doom e1m6 to rebuildnodes list. https://forum.zdoom.org/viewtopic.php?f=15&t=58430 2017-11-11 15:54:42 -05:00
Rachael Alexanderson
cdf0733c8b - added latching CVARs to CVARINFO 2017-11-11 09:37:41 -05:00
Rachael Alexanderson
5716dfe050 - put limits on A_SoundVolume 2017-11-10 08:21:28 -05:00
alexey.lysiuk
0e706bfecf Use tmpfileplus() instead of tempnam()
Finally get rid of security or deprecated warnings cause by tempnam() function usage
2017-11-07 11:50:07 +02:00
alexey.lysiuk
e6c9ccf3a1 Changed tmpfileplus() to our needs
Removed exclusive flag, made it C++ friendly, replaced unlink() with remove()
2017-11-07 11:13:53 +02:00
alexey.lysiuk
e60c6d35c3 Added tmpfileplus 2.0.0
https://www.di-mgt.com.au/c_function_to_create_temp_file.html
https://www.di-mgt.com.au/tmpfileplus-2.0.0.zip
2017-11-07 11:13:53 +02:00
Chris Robinson
f353f8b5aa Improved OpenGL profile selection in SDL backend
https://forum.zdoom.org/viewtopic.php?t=56852
2017-11-07 11:05:06 +02:00
Major Cooke
d422392b94 Extended LineAttack() with offsets and new flags
Added forward and side offsets for LineAttack() function
Added absolute offset and absolute position flags for LineAttack() function
2017-11-07 11:02:54 +02:00
alexey.lysiuk
4beefb7007 Removed warning for uninitialized variables in ZScript
This reverts commit 8104ef5189
2017-11-06 15:38:28 +02:00
Magnus Norddahl
d4ebe51e83 - Place the HUD model correctly in the world so that shader light calculations work 2017-11-05 15:35:03 +01:00
Magnus Norddahl
23e5d81746 - Implement VSMatrix::inverseMatrix 2017-11-05 15:32:42 +01:00
alexey.lysiuk
61ead4f470 Better STL compatibility for array iterator
Extended iterator with types and functions required to use array objects in STL algorithms
2017-11-05 15:20:25 +02:00
alexey.lysiuk
274951839a Removed unused parameter from several functions in FStateDefinitions class
src/p_states.cpp:724:54: warning: parameter ‘actor’ set but not used [-Wunused-but-set-parameter]
https://forum.zdoom.org/viewtopic.php?t=58364
2017-11-05 15:20:25 +02:00
Magnus Norddahl
bd08568b90 - Fix wrong math for model/light distance check 2017-11-05 13:28:56 +01:00
alexey.lysiuk
ba298ccd6e Added GCC 4.9 to Travis configuration 2017-11-05 10:31:19 +02:00
alexey.lysiuk
a1562c5a76 Use Xcode 9.1 for Travis builds 2017-11-05 10:31:19 +02:00
Christoph Oelckers
fafc636476 - allow allocating constructor of TArray to also reserve the allocated data and use this to properly handle the precalc arrays for the texture resizer. 2017-11-03 17:27:32 +01:00
alexey.lysiuk
8104ef5189 Added warning for uninitialized variables in ZScript
https://forum.zdoom.org/viewtopic.php?t=57868
2017-11-03 16:23:41 +02:00
alexey.lysiuk
dac5777a70 Removed obsolete declarations from codegen.h 2017-11-03 12:44:28 +02:00
alexey.lysiuk
81ea9fb372 Added runtime check for negative array indices in VM
https://forum.zdoom.org/viewtopic.php?t=57886
2017-11-02 18:01:13 +02:00
alexey.lysiuk
57de598e48 Added implicit scope for if/else, while and do/while statements in ZScript
Scope is added only for variable or constant definition so it will no longer leak to outer scope
https://forum.zdoom.org/viewtopic.php?t=57848
2017-11-02 17:10:54 +02:00
alexey.lysiuk
587f6f0f91 Added wait for debugger feature to Cocoa backend
Use -wait_for_debugger command line switch to display message box on startup
It's available in Debug configuration only
2017-11-02 14:49:08 +02:00
alexey.lysiuk
de7d8995d5 Added string representation of 'static const' token
No more 'Unknown(-141)' in 'Expecting ...' error message
2017-11-02 14:45:35 +02:00
alexey.lysiuk
62e91b23bd Extended String.LastIndexOf() with endIndex parameter
https://forum.zdoom.org/viewtopic.php?t=57326
2017-11-01 15:24:05 +02:00
Rachael Alexanderson
037bb1408b - add search dirs for SDL2 for Hiaku OS 2017-10-30 19:45:21 +00:00
alexey.lysiuk
d543408fd4 Enabled MSVC 2017 64-bit target in AppVeyor configuration 2017-10-29 16:15:03 +02:00
alexey.lysiuk
ea6daf0212 Added workaround for MSVC 2017 internal compiler error
game-music-emu\gme\fir_resampler.cpp(28): fatal error C1001: An internal error has occurred in the compiler.
(compiler file 'f:\dd\vctools\compiler\utc\src\p2\main.c', line 256)
2017-10-29 16:14:04 +02:00
alexey.lysiuk
415ed57713 Added Wads.CheckNumForFullName() to ZScript
https://forum.zdoom.org/viewtopic.php?t=57814
2017-10-29 15:11:49 +02:00
alexey.lysiuk
2f45218f70 Added Wads.ReadLump() to ZScript
https://forum.zdoom.org/viewtopic.php?t=57814
2017-10-29 11:36:22 +02:00
alexey.lysiuk
91fda180de Added Wads.FindLump() to ZScript
https://forum.zdoom.org/viewtopic.php?t=57814
2017-10-29 11:36:22 +02:00
alexey.lysiuk
527cc7ecf1 Changed MSBuild verbosity level to minimal in AppVeyor configuration 2017-10-29 10:11:33 +02:00
alexey.lysiuk
c4865d2bb6 Exposed string split functionality to ZScript
https://forum.zdoom.org/viewtopic.php?t=58114
2017-10-28 11:44:12 +03:00
alexey.lysiuk
3b3f2e20cc Added ability to split FString on tokens
https://forum.zdoom.org/viewtopic.php?t=58114
2017-10-28 11:44:12 +03:00
alexey.lysiuk
da94008f39 Fixed indentation in dynarrays.txt 2017-10-27 18:24:29 +03:00
alexey.lysiuk
40a348b1f1 Fixed potential crash in resolving of multiple assignment
https://forum.zdoom.org/viewtopic.php?t=58055
https://forum.zdoom.org/viewtopic.php?t=58237
2017-10-27 18:15:24 +03:00
alexey.lysiuk
79bdfe4ab2 Fixed wrong owner for *evillaugh sound
https://forum.zdoom.org/viewtopic.php?t=58274
2017-10-26 17:23:55 +03:00
Rachael Alexanderson
2fd5d0da54 - improve speed for ARMv7 processors by specifying hardware float calculations, and tuning it specifically for the Cortex-a7 CPU (for Raspberry Pi 2). 2017-10-25 09:31:55 -04:00
alexey.lysiuk
b8406228e6 Made dynamic array's Find() and Max() functions contant
https://forum.zdoom.org/viewtopic.php?t=58088
2017-10-25 11:24:01 +03:00
alexey.lysiuk
6617294c2d Added ZScript functions GetBool() and SetBool() to CVar class 2017-10-25 10:33:18 +03:00
alexey.lysiuk
5f7a06c66e Fixed non-portable usage of __solaris__ preprocessor definition
GCC: this use of "defined" may not be portable [-Wexpansion-to-defined]
Clang: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
2017-10-24 15:32:43 +03:00
alexey.lysiuk
1e7b692c77 Disabled annoying GCC compilation warnings in Travis config
These false positives could hide some real problem
2017-10-24 15:32:41 +03:00
alexey.lysiuk
f40a31409d Added ability to get texture name from script
Use TexMan.GetName(TextureID tex) member function
2017-10-24 11:11:33 +03:00
Christoph Oelckers
714259d715 - removed the ugly grenades from the extra .pk3, now that the main file contains a much nicer and unproblematic replacement. 2017-10-23 20:51:00 +02:00
Rachael Alexanderson
66773b6a1a - added 'classicflight' user cvar which allows players to move forward and backward without pitch when flying 2017-10-23 12:16:02 -04:00
alexey.lysiuk
50d39771c0 Fixed out of bound read in zip file loader 2017-10-23 12:31:39 +03:00
alexey.lysiuk
cb982ec313 Use FString::Back() when possible
Changed usages of str[str.Len() - 1] to str.Back()
2017-10-23 11:55:20 +03:00