commit ab90c721b94d2e683b909f1a49b35f6ed8af8901 Merge: dc0e6cc00 f3b7ab974 Author: Richard Gobeille Date: Sat Jun 6 17:06:06 2020 -0700 Merge branch 'goodbye_lunatic' into 'master' Remove Lunatic-related code This removes almost anything related to Lunatic, not just LunaCON. It may remove a bit more than desired, e.g., functions that can be used as possible hooks (I believe that this was one purpose of LUNATIC_EXTERN, now replaced with static anywhere). Some bits like the optional fix for software rendering of walls with non-POT tile heights remain, albeit they're still compile-time disabled. As previously written, I still know that Philipp Kutin was spending a lot of time on this. See merge request terminx/eduke32!13 commit f3b7ab9745cc2c3177ddbc239b8a4208a982c65b Author: NY00123 Date: Sun May 17 22:28:34 2020 +0300 source/build/include: Remove elauxlib.h and elua.h. Again, it is clear that Helixhorned was spending a lot of time on Lunatic for EDuke32. commit b34dc16328fe41e9859229c25386a7d99878b386 Author: NY00123 Date: Sun May 17 22:27:22 2020 +0300 Remove LPeg sources commit e1e17c3aed5ec20b906842900753a95d6dd9afe1 Author: NY00123 Date: Sun May 17 22:27:09 2020 +0300 Remove LPeg Windows libraries commit f27854c6970b720327c4cbe395fb120de53cee00 Author: NY00123 Date: Sun May 17 22:26:55 2020 +0300 Remove LPeg from platform/Windows/lib/instructions.txt commit cc3f96421278c22dc1d08288f43d1069fc0b0f17 Author: NY00123 Date: Sun May 17 22:26:22 2020 +0300 GNUmakefile: Remove re LPeg-related code commit 1c0c05871cca36b3ab87b4ba52d43ff4bf351b5a Author: NY00123 Date: Sun May 17 22:12:13 2020 +0300 Remove jit directory commit e19ec17fe98128b6baefc4c578bfaf2249c3f45b Author: NY00123 Date: Sun May 17 22:08:43 2020 +0300 Duke3D: Remove KEEPINSYNC comments referencing LUA code commit 4de04462eb4f1d5327bd4a6276cd26b56291e82a Author: NY00123 Date: Sun May 17 22:03:31 2020 +0300 platform/Windows/lib/instructions.txt: Remove references to LuaJIT commit 2ff1d752ac983214a6bb7047c03b14e789b60192 Author: NY00123 Date: Sun May 17 22:00:54 2020 +0300 Remove LuaJIT headers and libraries for Windows commit c9648f81336a21b5f97bdd8b160a4ca9bde20203 Author: NY00123 Date: Sun May 17 21:59:55 2020 +0300 Engine: Remove lunatic.h and lunatic.cpp commit 11a16533776b6a2ee450b2cdd673bd5320358264 Author: NY00123 Date: Sun May 17 21:59:22 2020 +0300 Remove lunatic.cpp from platform/Windows/build.vcxproj* commit 72b25e0cc9f1d22bba88331afbfd490aec8526b6 Author: NY00123 Date: Sun May 17 21:57:37 2020 +0300 Remove LuaJIT/LUNATIC definitions from GNUmakefile and Common.mak commit 5f1e4f57bd933fd6f2f20b5f6442d3064b8acc14 Author: NY00123 Date: Sun May 17 21:53:02 2020 +0300 Keep NEW_MAP_FORMAT undefined commit c24a136974b192a1b062292ba332c4613c740785 Author: NY00123 Date: Sun May 17 21:52:28 2020 +0300 Remove LUNATIC_CB commit 8b0998cd7ee6d35135bb4c362fff4da668fa5ee6 Author: NY00123 Date: Sun May 17 21:51:20 2020 +0300 Use static instead of LUNATIC_EXTERN commit f02b96a2551e2cd7edc627581deee2119930c399 Author: NY00123 Date: Sun May 17 21:47:27 2020 +0300 Let's just use __fastcall instead of LUNATIC_FASTCALL commit 7266ceafab4e866bea8853dd5312aaead0936439 Author: NY00123 Date: Sun May 17 21:44:24 2020 +0300 Engine: Let's not define CLASSIC_NONPOW2_YSIZE_WALLS for now, regardless of LUNATIC, but keep the code, since it may become useful in the future. commit 47f07f5e6636ed508c19a6658ef6d4fc196a104c Author: NY00123 Date: Sun May 17 21:41:07 2020 +0300 Engine: Remove a few more LUNATIC-specific definitions commit 17f1393449d682d1a2353fbf3e184298d36fbf09 Author: NY00123 Date: Sun May 17 21:40:10 2020 +0300 Engine: Adjust krand for removal of LUNATIC commit eb1a8353cae57567f3735a1bec7fc7ba1a7a28a4 Author: NY00123 Date: Sun May 17 21:37:27 2020 +0300 source/build/*/palette.*: Remove LUNATIC-specific definition of paletteGetBlendTable, but keep using the non-LUNATIC macro instead of blendtable[blend] commit dd26d46ab9f939e934b939e691b065d4b16b2352 Author: NY00123 Date: Sun May 17 21:35:20 2020 +0300 Engine: Remove the LUNATIC-specific definitions of engine_main_arrays_are_static, engine_v8 and Mulscale. commit 6f1c229088750fec934b500b61eef8d9924f8749 Author: NY00123 Date: Sun May 17 21:28:02 2020 +0300 source/duke3d/src/actors.h: Remove last remaining mention of the LUNATIC macro in Duke3D. AC_ACTIONTICS and AC_MOVFLAGS are still used. commit aa1a3c6dabc4d0e8c9f347c1eacfcee4015fe203 Author: NY00123 Date: Sun May 17 21:27:01 2020 +0300 source/duke3d/src/osdcmds.cpp:osdcmd_spawn: Remove LUNATIC-specific code while defining the two loop vars at once. commit 74128b234ed3da163066a6194cfea5d5fe5938a1 Author: NY00123 Date: Sun May 17 21:25:54 2020 +0300 Duke3D: Remove a few more LUNATIC-specific definitions and macro references commit bd7465918a988dabd4de712fa322e9c5425e5bb7 Author: NY00123 Date: Sun May 17 21:12:21 2020 +0300 source/duke3d/src/m32common.cpp:M_RegisterFunction: Remove param which was not used in non-LUNATIC builds commit 44433d612648bef95f528314e935daa30b3f4aed Author: NY00123 Date: Sun May 17 21:11:14 2020 +0300 source/duke3d/src/m32common.cpp: Remove LUNATIC/MENU_HAVE_DESCRIPTION code commit 3a69990787f097161657334913c01a40fa2daf5d Author: NY00123 Date: Sun May 17 21:08:20 2020 +0300 source/duke3d/src/gamevars.cpp: Remove LUNATIC definition of ADDWEAPONVAR commit 524873c3656ef66576cde975b45374eaae1be2e5 Author: NY00123 Date: Sun May 17 21:04:30 2020 +0300 source/duke3d/src/gamevars.cpp: Remove POSTADDWEAPONVAR, since this is a no-op in non-LUNATIC builds, which will be the only ones to stay. commit 1a6c22437d02e8327741ac853218b96eac0abc77 Author: NY00123 Date: Sun May 17 20:58:37 2020 +0300 source/duke3d/src/player.cpp: Remove LUNATIC implementation of G_HandlePal. In fact, let's not use a separate P_HandlePal function. commit 4e1ee797b0fedc42310e7f8dd0b4f6d9047f4d1d Author: NY00123 Date: Sun May 17 20:55:51 2020 +0300 source/duke3d/src/premap.cpp:P_ResetTintFade: Remove LUNATIC-specific assignment, but keep the function instead of separately setting pals.f. commit 955fc06e2b38a8b776f99d7c12c39e2fc3a6ca49 Author: NY00123 Date: Sun May 17 20:54:43 2020 +0300 source/duke3d/src/network.cpp: Remove LUNATIC-specific code commit b15d3ae315a864b26f870879261d5121a468f392 Author: NY00123 Date: Sun May 17 20:29:34 2020 +0300 source/duke3d/src: Remove almost all "#ifdef LUNATIC" blocks. Surrounding "#if !defined LUNATIC"/"#endif" pairs are also covered. commit b8993fb9a902c80f3893e09be10b2dd7857fdf75 Author: NY00123 Date: Sun May 17 19:08:48 2020 +0300 Start removing all Lunatic-related code, with source/duke3d/src/lunatic being the first. Thanks to Helixhorned for originally experimenting with the idea. It's clear that a lot of time and work was spent on it. See https://voidpoint.io/terminx/eduke32 for more details.