------------------------------------------------------------------------ r8412 | terminx | 2019-12-07 15:53:10 -0800 (Sat, 07 Dec 2019) | 1 line Fix SW compilation under VS ------------------------------------------------------------------------ r8411 | terminx | 2019-12-07 15:53:06 -0800 (Sat, 07 Dec 2019) | 1 line Fix Mapster32 undo corruption issue ------------------------------------------------------------------------ r8410 | terminx | 2019-12-07 15:53:02 -0800 (Sat, 07 Dec 2019) | 3 lines This is a __restricted area Theoretically, this will help the compiler generate more optimized code. In practicality, I haven't seen any difference yet but I don't think giving the compiler hints as to the intended operation of the code is ever really a bad thing. ------------------------------------------------------------------------ r8409 | terminx | 2019-12-07 15:52:58 -0800 (Sat, 07 Dec 2019) | 1 line Track cache1d block overhead differently ------------------------------------------------------------------------ r8408 | terminx | 2019-12-07 15:52:54 -0800 (Sat, 07 Dec 2019) | 1 line These shouldn't be references ------------------------------------------------------------------------ r8407 | terminx | 2019-12-07 15:52:51 -0800 (Sat, 07 Dec 2019) | 1 line Update cvar help strings, WIP ------------------------------------------------------------------------ r8406 | terminx | 2019-12-07 15:52:47 -0800 (Sat, 07 Dec 2019) | 3 lines Improve console cvar printing This breaks cvar printing out of osdcmd_cvar_set() and creates osdfunc_printvar(), which prints the cvar's current value and the range of values it accepts. This also improves the output of the "help" command. ------------------------------------------------------------------------ r8405 | terminx | 2019-12-07 15:52:43 -0800 (Sat, 07 Dec 2019) | 1 line Remove dead code ------------------------------------------------------------------------ r8404 | terminx | 2019-12-07 15:52:40 -0800 (Sat, 07 Dec 2019) | 1 line Fix cacheAllSounds() being called before .def parsing... oops! ------------------------------------------------------------------------ r8403 | terminx | 2019-12-07 15:52:36 -0800 (Sat, 07 Dec 2019) | 1 line Cast the nanoseconds to uint64_t before multiplying in timerGetTicks() ------------------------------------------------------------------------ r8402 | terminx | 2019-12-07 15:52:32 -0800 (Sat, 07 Dec 2019) | 1 line Move logic for timer type selection into its own function ------------------------------------------------------------------------ r8401 | terminx | 2019-12-07 15:52:29 -0800 (Sat, 07 Dec 2019) | 3 lines Use -march=nocona for x86_64 builds This appears to be preferable for producing generic x86_64 binaries these days. ------------------------------------------------------------------------ r8400 | terminx | 2019-12-07 15:52:26 -0800 (Sat, 07 Dec 2019) | 1 line Use -march=pentium-m for i686 builds ------------------------------------------------------------------------ r8399 | terminx | 2019-12-07 15:52:22 -0800 (Sat, 07 Dec 2019) | 1 line No more std::chrono! ------------------------------------------------------------------------ r8398 | terminx | 2019-12-07 15:52:17 -0800 (Sat, 07 Dec 2019) | 1 line Timer maintenance ------------------------------------------------------------------------ r8397 | terminx | 2019-12-07 15:52:13 -0800 (Sat, 07 Dec 2019) | 1 line Fix osdcmd_changelevel ------------------------------------------------------------------------ r8396 | terminx | 2019-12-07 15:52:10 -0800 (Sat, 07 Dec 2019) | 1 line This change to Gv_DivVar() is faster when benchmarked ------------------------------------------------------------------------ r8395 | terminx | 2019-12-07 15:52:06 -0800 (Sat, 07 Dec 2019) | 1 line Clean up CON_FOR a little ------------------------------------------------------------------------ r8394 | terminx | 2019-12-07 15:52:02 -0800 (Sat, 07 Dec 2019) | 1 line Change VS project DiagnosticsFormat option ------------------------------------------------------------------------ r8393 | terminx | 2019-12-07 15:51:57 -0800 (Sat, 07 Dec 2019) | 3 lines Only use lfence with rdtsc I was going to use the CPU vendor to determine whether to use mfence or lfence, but reading the links in the comments lead me to the conclusion that lfence is still the correct choice on AMD. ------------------------------------------------------------------------ r8392 | terminx | 2019-12-07 15:51:54 -0800 (Sat, 07 Dec 2019) | 1 line Start ripping out std::chrono because it sucks ------------------------------------------------------------------------ r8391 | terminx | 2019-12-07 15:51:49 -0800 (Sat, 07 Dec 2019) | 1 line Remove sound init messages from Shadow Warrior as they're emitted by the library itself now ------------------------------------------------------------------------ r8390 | terminx | 2019-12-07 15:51:45 -0800 (Sat, 07 Dec 2019) | 3 lines Add snd_sdl_audiodriver cvar to select which audio backend SDL uses This also cleans up the sound init messages a bit. ------------------------------------------------------------------------ r8389 | terminx | 2019-12-07 15:51:39 -0800 (Sat, 07 Dec 2019) | 1 line I'm pretty sure none of our output goes through the code path that uses this hint, but if it does we probably want the good one and not the crappy one ------------------------------------------------------------------------ r8388 | terminx | 2019-12-07 15:51:36 -0800 (Sat, 07 Dec 2019) | 1 line Don't write blank string cvars to settings.cfg ------------------------------------------------------------------------ r8387 | terminx | 2019-12-07 15:51:32 -0800 (Sat, 07 Dec 2019) | 3 lines Remove driver_nosound from audiolib Why? Because it's fucking useless. If we want to waste CPU on outputting nothing, SDL has us covered with its "dummy" audio backend. ------------------------------------------------------------------------ r8386 | terminx | 2019-12-07 15:51:25 -0800 (Sat, 07 Dec 2019) | 3 lines Remove obsolete option to reverse the stereo channels Anyone who plugged in their speakers backwards is SOL. ------------------------------------------------------------------------ r8385 | terminx | 2019-12-07 15:51:17 -0800 (Sat, 07 Dec 2019) | 3 lines ENet fix to allow running on Windows XP again... completely untested tbh This is not the only thing that breaks compatibility with XP, but this fixes the ENet part of it. ------------------------------------------------------------------------ r8384 | terminx | 2019-12-07 15:51:14 -0800 (Sat, 07 Dec 2019) | 1 line Add mus_winmm_device cvar to allow selecting the Windows MME MIDI output device ------------------------------------------------------------------------ r8383 | terminx | 2019-12-07 15:51:09 -0800 (Sat, 07 Dec 2019) | 3 lines Add mus_xmp_interpolation cvar to control XMP interpolation mode Full disclosure: changing the interpolation mode is practically useless. I was going to drop this commit from my tree, but a later commit doesn't merge without it and I didn't feel like dealing with it. ------------------------------------------------------------------------ r8382 | terminx | 2019-12-07 15:51:05 -0800 (Sat, 07 Dec 2019) | 1 line Only restart the sound system itself when pressing "apply" in the advanced sound setup menu if the playback rate or number of voices changed ------------------------------------------------------------------------ r8381 | terminx | 2019-12-07 15:51:00 -0800 (Sat, 07 Dec 2019) | 1 line MIDI shuffling ------------------------------------------------------------------------ r8380 | terminx | 2019-12-07 15:50:51 -0800 (Sat, 07 Dec 2019) | 1 line Use mouse wheel to scroll console and limit scroll area to the number of lines actually present ------------------------------------------------------------------------ r8379 | terminx | 2019-12-07 15:50:47 -0800 (Sat, 07 Dec 2019) | 3 lines Use GrowArray<> to save individual lines of text printed to the console so we can rebuild the concatenated text buffer without fucked formatting when the console resolution changes A proper solution would probably shitcan the big buffer altogether and just print the lines stored in the GrowArray<> directly, but this commit is not that. ------------------------------------------------------------------------ r8378 | terminx | 2019-12-07 15:50:42 -0800 (Sat, 07 Dec 2019) | 1 line Update console cvar descriptions ------------------------------------------------------------------------ r8377 | terminx | 2019-12-07 15:50:39 -0800 (Sat, 07 Dec 2019) | 3 lines Change osdlogcutoff to control the maximum number of errors printed to the console Previously osdlogcutoff controlled the max number of lines (error or otherwise) printed to the console, and the error limit was hard-coded at 4096. This seems more useful. ------------------------------------------------------------------------ r8376 | terminx | 2019-12-07 15:50:34 -0800 (Sat, 07 Dec 2019) | 1 line intitialization ------------------------------------------------------------------------ r8375 | terminx | 2019-12-07 15:50:30 -0800 (Sat, 07 Dec 2019) | 1 line Remove duplicate call to cacheAllSounds() from S_SoundStartup() ------------------------------------------------------------------------ r8374 | terminx | 2019-12-07 15:50:27 -0800 (Sat, 07 Dec 2019) | 3 lines Move atoi_safe() from editor.h to compat.h and #define Batoi atoi_safe They were the same thing so they might as well be in the same place. ------------------------------------------------------------------------ r8373 | terminx | 2019-12-07 15:50:23 -0800 (Sat, 07 Dec 2019) | 1 line Properly use platform-specific cpuid intrinsics ------------------------------------------------------------------------ r8372 | terminx | 2019-12-07 15:50:20 -0800 (Sat, 07 Dec 2019) | 1 line Minor changes to hash table code ------------------------------------------------------------------------ r8371 | terminx | 2019-12-07 15:50:16 -0800 (Sat, 07 Dec 2019) | 1 line Add Xaligned_calloc() ------------------------------------------------------------------------ r8370 | terminx | 2019-12-07 15:50:12 -0800 (Sat, 07 Dec 2019) | 1 line cache1d improvements: add reset function, support for specifying the mininum block size, and make the information printed out by the cacheinfo console command more useful ------------------------------------------------------------------------ r8369 | terminx | 2019-12-07 15:50:08 -0800 (Sat, 07 Dec 2019) | 1 line Improve interaction between cheat entry and player input ------------------------------------------------------------------------ r8368 | terminx | 2019-12-07 15:50:04 -0800 (Sat, 07 Dec 2019) | 1 line Fix noclip in Duke3d ------------------------------------------------------------------------ See http://svn.eduke32.com/listing.php?repname=eduke32 for more details.