------------------------------------------------------------------------ r2976 | hendricks266 | 2012-08-26 20:53:59 -0700 (Sun, 26 Aug 2012) | 3 lines Modify EVENT_CHANGEWEAPON so that it actually serves a purpose. Instead of being triggered before curr_weapon is changed, with nothing used for input or output with RETURN (meaning you could not cancel), now RETURN is set to the prospective new weapon ID and you can change it or cancel it in the event. Note that since setting RETURN did nothing before, there is no backwards compatibility to uphold. Therefore, setting RETURN to 1 will cause the pistol to be selected, not disable the event. Set RETURN to -1 to cancel switching. ------------------------------------------------------------------------ r2975 | hendricks266 | 2012-08-26 20:52:38 -0700 (Sun, 26 Aug 2012) | 3 lines Expand "Switch weapons on pickup" to three options: "Off", "All weapons", and a new one, "Fav priority". It switches to the weapon you have just picked up only if it is ranked higher in the favorite weapon hierarchy using the "-u" parameter. Suggested at: http://forums.duke4.net/topic/5667-tiny-request/ ------------------------------------------------------------------------ r2974 | hendricks266 | 2012-08-26 20:51:17 -0700 (Sun, 26 Aug 2012) | 3 lines The Build tools no longer link with SDL or SDL_mixer because they don't need to. Fix for: http://forums.duke4.net/topic/5392-mkpalette-fails-to-build/page__view__findpost__p__132791 ------------------------------------------------------------------------ r2973 | hendricks266 | 2012-08-26 20:49:55 -0700 (Sun, 26 Aug 2012) | 7 lines Add EVENT_PREGAME. Now all sprites are processed in the following fashion: 1. EVENT_PREGAME 2. hardcoded stuff 3. EVENT_GAME One potential use is to examine values which are clobbered by commands such as ifhitweapon/ifwasweapon. ------------------------------------------------------------------------ r2972 | hendricks266 | 2012-08-26 20:48:27 -0700 (Sun, 26 Aug 2012) | 1 line Disable questionable lines from Makefile.common that were causing my build system to deep crash. ------------------------------------------------------------------------