Revision r7135
Move CONTROL_ProcessBinds() call to P_GetInput()
Esplora i log in modo ordinato: filtri per tipo/anno, ricerca testuale e dettaglio commit revisionato.
Move CONTROL_ProcessBinds() call to P_GetInput()
Fix usages of tab characters that slipped into menus.h at some point, and fix declaration of function Menu_Change() to match its definition
Very (very) slightly less terrible G_CheckPlayerColor() function.
Additional const and constexpr usage in compat.h and pragmas
Using automatic typing here improves the readability of this code.
Use range-based loops for simplicity
Add CSTAT_SPRITE_ALIGNMENT_MASK. It's identical to CSTAT_SPRITE_ALIGNMENT_SLAB, but should be used in cases where you're checking either CSTAT_SPRITE_ALIGNMENT_WALL or CSTAT_SPRITE_ALIGNMENT_FLOOR rather than checking for a slab (voxel).
Mark libdivide constructors explicit
The last of my audiolib changes for now. These change no functionality.
Fix screwed up spacing in a few audiolib files. No functional changes.
This precaching stuff doesn't belong in EDUKE32_STANDALONE builds
Remove unnecessary "Playing" member of VoiceNode struct
Lower DEFAULTMOUSESENSITIVITY to 4
Rework volume control to not completely suck
Make ASS's mixing functions take a pointer to a voice instead of passing a bunch of parameters separately
Mixer function fixups from H266
More sound work
Move editor headers into correct VS project
Add per-sound volume support to audiolib. This allows you to control the volume of sounds independently from the distance-based system exposed through CON. To use this, you must define your sounds via the .def syntax and set the "volume" property--default is 1.0.
Add support for defining all sound parameters through the .def syntax, instead of just the filename
sdlayer: don't add windowed modes that are larger than the monitor's actual resolution
Don't use size_t for loop iterators (or other things not counted in bytes, realistically)
Fix issue with Bgetsysmemsize() on some platforms after the changeover to ::min and ::max.
Savegame cleanup
Fix HIGH_PRECISION_SPRITE, broken when switching to std::min and std::max.
Clean up a few functions in mact scriplib
This commit is useless
Make tabledivide64 actually return an int64_t...
userbytever is uint32_t and needs %u instead of %d
Fix derpy menu bug
Use _strlwr and _strupr with MSVC
Fix bounds checks occurring after array access in tessectrap() and polymost_precache() with very minor cleanup of surrounding lines.
Small cleanups to fogcalc() and fogcalc_old()
Slightly simplify TrackedType operator stuff
pitch.cpp cleanup.
Untabify minidumper
Shut up a warning about potentially passing a null ptr to strlen() by way of a bad FILE ptr. The condition wasn't actually possible, but this is just as or more correct than it was before. This sure is a long commit message for something that only adds an 'else'.
Remember to free library in minidumper
Update miniz to 3616bf804b1e7b9be5e2769b1e4a7d74d575b13c
Fix printf format specifier mismatches in G_PrintFPS()
This looks dumb as fuck, but it tells static analysis tools that our memory allocation functions literally never return a null pointer
Clean up Bgethomedir() and a few of the other directory functions
Return invalid keyword string instead of null when passing a bad ID to VM_GetKeywordForID()
Replace player number check with equivalent null pointer check
Useless warning silencing
Minor update to _clang-format
imo auto is cleaner here because the cast of the rvalue makes the resulting type explicitly clear
Completely unused struct...?
Add debug_break() to default case in VM_Execute()
Remove some dead statements, useless assigments, etc
polymost_setTexturePosSize() and polymost_setHalfTexelSize(): pass vec4f_t and vec2f_t by const reference instead of by value
Fix double free in osdcmd_do() and clean up the variable definitions while we're there
sscanf format parameter fixups
Fix downmix_int_8bit() in libxmp-lite assuming char is a signed type
macOS build fix
Fix potential buffer overruns in sdlayer
Replace remaining instances of regular malloc/calloc/realloc/strdup with our memory error handler versions
Use std::min and std::max instead of min and max macros.
Remove redundant assignments
Bump BYTEVERSION for previous change
The LZ4 versions of kdfread and kdfwrite don't have the size limitations that the LZW versions have
Remove duplicated line
Update engine headers so that argument names in function declarations match the actual function definitions. This also removes const from function declarations in cases when it isn't meaningful.
Same sort of thing as the previous commits, but for the engine. Forward declaration cleanup and constification.
Update duke3d headers so that argument names in function declarations match the actual function definitions. This also removes const from function declarations in cases when it isn't meaningful.
Remove a few useless forward declarations and const-ify a couple of function parameters. Yawn.
Remove redundant return statements
Convert a couple of strings with escaped characters to raw string literals
------------------------------------------------------------------------ r7136 | terminx | 2018-10-25 16:34:15 -0700 (Thu, 25 Oct 2018) | 1 line Drop C++ standard used in Visual Studio builds from C++17 to C++14, to be more consistent with our GNU makefile. ------------------------------------------------------------------------ r7135 | terminx | 2018-10-25 16:34:08 -0700 (Thu, 25 Oct 2018) | 1 line Move CONTROL_ProcessBinds() call to P_GetInput() ------------------------------------------------------------------------ r7134 | terminx | 2018-10-25 16:34:03 -0700 (Thu, 25 Oct 2018) | 1 line Fix usages of tab characters that slipped into menus.h at some point, and fix declaration of function Menu_Change() to match its definition ------------------------------------------------------------------------ r7133 | terminx | 2018-10-25 16:33:58 -0700 (Thu, 25 Oct 2018) | 1 line Very (very) slightly less terrible G_CheckPlayerColor() function. ------------------------------------------------------------------------ r7132 | terminx | 2018-10-25 16:33:52 -0700 (Thu, 25 Oct 2018) | 1 line Additional const and constexpr usage in compat.h and pragmas ------------------------------------------------------------------------ r7131 | terminx | 2018-10-25 16:33:47 -0700 (Thu, 25 Oct 2018) | 1 line Using automatic typing here improves the readability of this code. ------------------------------------------------------------------------ r7130 | terminx | 2018-10-25 16:33:40 -0700 (Thu, 25 Oct 2018) | 1 line Use range-based loops for simplicity ------------------------------------------------------------------------ r7129 | terminx | 2018-10-25 16:33:32 -0700 (Thu, 25 Oct 2018) | 1 line Add CSTAT_SPRITE_ALIGNMENT_MASK. It's identical to CSTAT_SPRITE_ALIGNMENT_SLAB, but should be used in cases where you're checking either CSTAT_SPRITE_ALIGNMENT_WALL or CSTAT_SPRITE_ALIGNMENT_FLOOR rather than checking for a slab (voxel). ------------------------------------------------------------------------ r7128 | terminx | 2018-10-25 16:33:26 -0700 (Thu, 25 Oct 2018) | 1 line Mark libdivide constructors explicit ------------------------------------------------------------------------ r7127 | terminx | 2018-10-25 16:33:21 -0700 (Thu, 25 Oct 2018) | 1 line The last of my audiolib changes for now. These change no functionality. ------------------------------------------------------------------------ r7126 | terminx | 2018-10-25 16:33:14 -0700 (Thu, 25 Oct 2018) | 1 line Fix screwed up spacing in a few audiolib files. No functional changes. ------------------------------------------------------------------------ r7125 | terminx | 2018-10-25 16:33:09 -0700 (Thu, 25 Oct 2018) | 1 line This precaching stuff doesn't belong in EDUKE32_STANDALONE builds ------------------------------------------------------------------------ r7124 | terminx | 2018-10-25 16:33:04 -0700 (Thu, 25 Oct 2018) | 1 line Remove unnecessary "Playing" member of VoiceNode struct ------------------------------------------------------------------------ r7123 | terminx | 2018-10-25 16:32:57 -0700 (Thu, 25 Oct 2018) | 1 line Lower DEFAULTMOUSESENSITIVITY to 4 ------------------------------------------------------------------------ r7122 | terminx | 2018-10-25 16:32:50 -0700 (Thu, 25 Oct 2018) | 1 line Rework volume control to not completely suck ------------------------------------------------------------------------ r7121 | terminx | 2018-10-25 16:32:41 -0700 (Thu, 25 Oct 2018) | 1 line Make ASS's mixing functions take a pointer to a voice instead of passing a bunch of parameters separately ------------------------------------------------------------------------ r7120 | terminx | 2018-10-25 16:32:35 -0700 (Thu, 25 Oct 2018) | 1 line Mixer function fixups from H266 ------------------------------------------------------------------------ r7119 | terminx | 2018-10-25 16:32:29 -0700 (Thu, 25 Oct 2018) | 1 line More sound work ------------------------------------------------------------------------ r7118 | terminx | 2018-10-25 16:32:21 -0700 (Thu, 25 Oct 2018) | 1 line Move editor headers into correct VS project ------------------------------------------------------------------------ r7117 | terminx | 2018-10-25 16:32:14 -0700 (Thu, 25 Oct 2018) | 1 line Add per-sound volume support to audiolib. This allows you to control the volume of sounds independently from the distance-based system exposed through CON. To use this, you must define your sounds via the .def syntax and set the "volume" property--default is 1.0. ------------------------------------------------------------------------ r7116 | terminx | 2018-10-25 16:32:05 -0700 (Thu, 25 Oct 2018) | 1 line Add support for defining all sound parameters through the .def syntax, instead of just the filename ------------------------------------------------------------------------ r7115 | terminx | 2018-10-25 16:32:00 -0700 (Thu, 25 Oct 2018) | 1 line sdlayer: don't add windowed modes that are larger than the monitor's actual resolution ------------------------------------------------------------------------ r7114 | terminx | 2018-10-25 16:31:54 -0700 (Thu, 25 Oct 2018) | 1 line Don't use size_t for loop iterators (or other things not counted in bytes, realistically) ------------------------------------------------------------------------ r7113 | terminx | 2018-10-25 16:31:49 -0700 (Thu, 25 Oct 2018) | 1 line Fix issue with Bgetsysmemsize() on some platforms after the changeover to ::min and ::max. ------------------------------------------------------------------------ r7112 | terminx | 2018-10-25 16:31:45 -0700 (Thu, 25 Oct 2018) | 1 line Savegame cleanup ------------------------------------------------------------------------ r7111 | terminx | 2018-10-25 16:31:40 -0700 (Thu, 25 Oct 2018) | 1 line Fix HIGH_PRECISION_SPRITE, broken when switching to std::min and std::max. ------------------------------------------------------------------------ r7110 | terminx | 2018-10-25 16:31:35 -0700 (Thu, 25 Oct 2018) | 1 line Clean up a few functions in mact scriplib ------------------------------------------------------------------------ r7109 | terminx | 2018-10-25 16:31:30 -0700 (Thu, 25 Oct 2018) | 1 line This commit is useless ------------------------------------------------------------------------ r7108 | terminx | 2018-10-25 16:31:25 -0700 (Thu, 25 Oct 2018) | 1 line Make tabledivide64 actually return an int64_t... ------------------------------------------------------------------------ r7107 | terminx | 2018-10-25 16:31:20 -0700 (Thu, 25 Oct 2018) | 1 line userbytever is uint32_t and needs %u instead of %d ------------------------------------------------------------------------ r7106 | terminx | 2018-10-25 16:31:15 -0700 (Thu, 25 Oct 2018) | 1 line Fix derpy menu bug ------------------------------------------------------------------------ r7105 | terminx | 2018-10-25 16:31:10 -0700 (Thu, 25 Oct 2018) | 1 line Use _strlwr and _strupr with MSVC ------------------------------------------------------------------------ r7104 | terminx | 2018-10-25 16:31:05 -0700 (Thu, 25 Oct 2018) | 1 line Fix bounds checks occurring after array access in tessectrap() and polymost_precache() with very minor cleanup of surrounding lines. ------------------------------------------------------------------------ r7103 | terminx | 2018-10-25 16:31:01 -0700 (Thu, 25 Oct 2018) | 1 line Small cleanups to fogcalc() and fogcalc_old() ------------------------------------------------------------------------ r7102 | terminx | 2018-10-25 16:30:56 -0700 (Thu, 25 Oct 2018) | 1 line Slightly simplify TrackedType operator stuff ------------------------------------------------------------------------ r7101 | terminx | 2018-10-25 16:30:51 -0700 (Thu, 25 Oct 2018) | 1 line pitch.cpp cleanup. ------------------------------------------------------------------------ r7100 | terminx | 2018-10-25 16:30:46 -0700 (Thu, 25 Oct 2018) | 1 line Untabify minidumper ------------------------------------------------------------------------ r7099 | terminx | 2018-10-25 16:30:41 -0700 (Thu, 25 Oct 2018) | 1 line Shut up a warning about potentially passing a null ptr to strlen() by way of a bad FILE ptr. The condition wasn't actually possible, but this is just as or more correct than it was before. This sure is a long commit message for something that only adds an 'else'. ------------------------------------------------------------------------ r7098 | terminx | 2018-10-25 16:30:37 -0700 (Thu, 25 Oct 2018) | 1 line Remember to free library in minidumper ------------------------------------------------------------------------ r7097 | terminx | 2018-10-25 16:30:32 -0700 (Thu, 25 Oct 2018) | 1 line Update miniz to 3616bf804b1e7b9be5e2769b1e4a7d74d575b13c ------------------------------------------------------------------------ r7096 | terminx | 2018-10-25 16:30:27 -0700 (Thu, 25 Oct 2018) | 1 line Fix printf format specifier mismatches in G_PrintFPS() ------------------------------------------------------------------------ r7095 | terminx | 2018-10-25 16:30:22 -0700 (Thu, 25 Oct 2018) | 1 line This looks dumb as fuck, but it tells static analysis tools that our memory allocation functions literally never return a null pointer ------------------------------------------------------------------------ r7094 | terminx | 2018-10-25 16:30:17 -0700 (Thu, 25 Oct 2018) | 1 line Clean up Bgethomedir() and a few of the other directory functions ------------------------------------------------------------------------ r7093 | terminx | 2018-10-25 16:30:12 -0700 (Thu, 25 Oct 2018) | 1 line Return invalid keyword string instead of null when passing a bad ID to VM_GetKeywordForID() ------------------------------------------------------------------------ r7092 | terminx | 2018-10-25 16:30:08 -0700 (Thu, 25 Oct 2018) | 1 line Replace player number check with equivalent null pointer check ------------------------------------------------------------------------ r7091 | terminx | 2018-10-25 16:30:03 -0700 (Thu, 25 Oct 2018) | 1 line Useless warning silencing ------------------------------------------------------------------------ r7090 | terminx | 2018-10-25 16:29:58 -0700 (Thu, 25 Oct 2018) | 1 line Minor update to _clang-format ------------------------------------------------------------------------ r7089 | terminx | 2018-10-25 16:29:54 -0700 (Thu, 25 Oct 2018) | 1 line imo auto is cleaner here because the cast of the rvalue makes the resulting type explicitly clear ------------------------------------------------------------------------ r7088 | terminx | 2018-10-25 16:29:49 -0700 (Thu, 25 Oct 2018) | 1 line Completely unused struct...? ------------------------------------------------------------------------ r7087 | terminx | 2018-10-25 16:29:44 -0700 (Thu, 25 Oct 2018) | 1 line Add debug_break() to default case in VM_Execute() ------------------------------------------------------------------------ r7086 | terminx | 2018-10-25 16:29:38 -0700 (Thu, 25 Oct 2018) | 1 line Remove some dead statements, useless assigments, etc ------------------------------------------------------------------------ r7085 | terminx | 2018-10-25 16:29:30 -0700 (Thu, 25 Oct 2018) | 1 line polymost_setTexturePosSize() and polymost_setHalfTexelSize(): pass vec4f_t and vec2f_t by const reference instead of by value ------------------------------------------------------------------------ r7084 | terminx | 2018-10-25 16:29:25 -0700 (Thu, 25 Oct 2018) | 1 line Fix double free in osdcmd_do() and clean up the variable definitions while we're there ------------------------------------------------------------------------ r7083 | terminx | 2018-10-25 16:29:20 -0700 (Thu, 25 Oct 2018) | 1 line sscanf format parameter fixups ------------------------------------------------------------------------ r7082 | terminx | 2018-10-25 16:29:13 -0700 (Thu, 25 Oct 2018) | 1 line Fix downmix_int_8bit() in libxmp-lite assuming char is a signed type ------------------------------------------------------------------------ r7081 | terminx | 2018-10-25 16:29:08 -0700 (Thu, 25 Oct 2018) | 1 line macOS build fix ------------------------------------------------------------------------ r7080 | terminx | 2018-10-25 16:29:04 -0700 (Thu, 25 Oct 2018) | 1 line Fix potential buffer overruns in sdlayer ------------------------------------------------------------------------ r7079 | terminx | 2018-10-25 16:28:56 -0700 (Thu, 25 Oct 2018) | 1 line Replace remaining instances of regular malloc/calloc/realloc/strdup with our memory error handler versions ------------------------------------------------------------------------ r7078 | terminx | 2018-10-15 23:09:54 -0700 (Mon, 15 Oct 2018) | 1 line Use std::min and std::max instead of min and max macros. ------------------------------------------------------------------------ r7077 | terminx | 2018-10-15 23:09:42 -0700 (Mon, 15 Oct 2018) | 1 line Remove redundant assignments ------------------------------------------------------------------------ r7076 | terminx | 2018-10-15 23:09:37 -0700 (Mon, 15 Oct 2018) | 1 line Bump BYTEVERSION for previous change ------------------------------------------------------------------------ r7075 | terminx | 2018-10-15 23:09:32 -0700 (Mon, 15 Oct 2018) | 1 line The LZ4 versions of kdfread and kdfwrite don't have the size limitations that the LZW versions have ------------------------------------------------------------------------ r7074 | terminx | 2018-10-15 23:09:26 -0700 (Mon, 15 Oct 2018) | 1 line Remove duplicated line ------------------------------------------------------------------------ r7073 | terminx | 2018-10-15 23:09:20 -0700 (Mon, 15 Oct 2018) | 1 line Update engine headers so that argument names in function declarations match the actual function definitions. This also removes const from function declarations in cases when it isn't meaningful. ------------------------------------------------------------------------ r7072 | terminx | 2018-10-15 23:09:09 -0700 (Mon, 15 Oct 2018) | 1 line Same sort of thing as the previous commits, but for the engine. Forward declaration cleanup and constification. ------------------------------------------------------------------------ r7071 | terminx | 2018-10-15 23:08:58 -0700 (Mon, 15 Oct 2018) | 1 line Update duke3d headers so that argument names in function declarations match the actual function definitions. This also removes const from function declarations in cases when it isn't meaningful. ------------------------------------------------------------------------ r7070 | terminx | 2018-10-15 23:08:50 -0700 (Mon, 15 Oct 2018) | 1 line Remove a few useless forward declarations and const-ify a couple of function parameters. Yawn. ------------------------------------------------------------------------ r7069 | terminx | 2018-10-15 23:08:42 -0700 (Mon, 15 Oct 2018) | 1 line Remove redundant return statements ------------------------------------------------------------------------ r7068 | terminx | 2018-10-15 23:08:36 -0700 (Mon, 15 Oct 2018) | 1 line Convert a couple of strings with escaped characters to raw string literals ------------------------------------------------------------------------ See http://svn.eduke32.com/listing.php?repname=eduke32 for more details.