Re: [Pipmak-Devel] Transition interrupts
Status: Alpha
Brought to you by:
cwalther
From: Christian W. <cwa...@gm...> - 2008-02-24 16:13:14
|
Aidan Gauland wrote: > Using your Lua code, I was able to make chamges to Pipmak, so it will > now ignore a click during a transition, but will also ignore the button > up event ONLY if it is from a click DURING a transition. It would > probably make more sense if you look at my changes. Looks good, from the distance (I don't have time to really test it right now). I wonder, would any bad things happen if you'd check for "&& mouseButton != 0" instead of "&& clickDuringTransition == 0" in the SDL_MOUSEBUTTONUP case? Then you could get rid of the new clickDuringTransition variable. > And I am sending the patch for my workaround for the bug where Pipmak > grabs the mouse if the user clicks cancel on the save game dialog. Maybe > not the best solution, but I don't think it broke anything. Thanks, this is committed (without extensive testing): rev. 180. > I have messed around with my text editor's settings, so it should only > be using tabs now. Please let me know if it isn't. Looks good now. :) > Oh, I almost forgot, I'm also sending a patch to the file > build-linux/Makefile, which changes the path to look for the Lua, and > PhysFS libraries. It changes the paths to where the Debain packages for > these libraries get installed, but I don't know if it would work for > non-Debain Linux systems. This means that the instructions in Building.txt wouldn't work anymore. You'd need to change these instructions too. But even then I'm not sure if I want this. Can we rely on all distributions having packages for Lua and Physfs? Perhaps something could be done with automatically determining whether these libraries are present in the system, and otherwise use the ones installed in the build-linux folder according to the instructions? Would it be possible to use system-installed libraries without modifying the makefile by placing symlinks in build-linux? Also, you're linking Lua and Physfs dynamically now (assuming their Debian packages include dynamic libraries). That's fine when you're compiling from source, but for the distributed binary I'd rather move towards linking more libraries statically, not less, to avoid dependency problems. Is there a reason for the removal of two empty lines? -Christian |