Re: [Warzone-dev] [Warzone-commits] r4403 - in /trunk: ./ lib/framework/ lib/ivis_common/ lib/ivis_opengl/ lib/netplay/ lib/script/ lib/widget/ src/
On Sat, Mar 29, 2008 at 1:26 AM, Giel van Schijndel [EMAIL PROTECTED] wrote: -Wmissing-declarations causes compiling of the lexers to generate warnings, which due to -Werror now fail to compile. I am sorry about that. Can you post the warnings? - Per ___ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev
Re: [Warzone-dev] [Warzone-commits] r4403 - in /trunk: ./ lib/framework/ lib/ivis_common/ lib/ivis_opengl/ lib/netplay/ lib/script/ lib/widget/ src/
Per Inge Mathisen schreef: On Sat, Mar 29, 2008 at 1:26 AM, Giel van Schijndel [EMAIL PROTECTED] wrote: -Wmissing-declarations causes compiling of the lexers to generate warnings, which due to -Werror now fail to compile. I am sorry about that. Can you post the warnings? strres_lexer.l seems to be the only one affected: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -DYY_NO_INPUT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -DDEBUG -DDATADIR=\/usr/local/share/warzone2100\ -DLOCALEDIR=\/usr/local/share/locale\ -I../.. -O0 -g -Wall -Werror -Wno-unused-label -Wno-pointer-to-int-cast -Wmissing-field-initializers -Wcast-align -Wmissing-declarations -MT strres_lexer.lex.o -MD -MP -MF .deps/strres_lexer.lex.Tpo -c -o strres_lexer.lex.o strres_lexer.lex.c cc1: warnings being treated as errors strres_lexer.lex.c:1721: warning: no previous declaration for 'strres_get_lineno' strres_lexer.lex.c:1730: warning: no previous declaration for 'strres_get_in' strres_lexer.lex.c:1738: warning: no previous declaration for 'strres_get_out' strres_lexer.lex.c:1746: warning: no previous declaration for 'strres_get_leng' strres_lexer.lex.c:1755: warning: no previous declaration for 'strres_get_text' strres_lexer.lex.c:1764: warning: no previous declaration for 'strres_set_lineno' strres_lexer.lex.c:1776: warning: no previous declaration for 'strres_set_in' strres_lexer.lex.c:1781: warning: no previous declaration for 'strres_set_out' strres_lexer.lex.c:1786: warning: no previous declaration for 'strres_get_debug' strres_lexer.lex.c:1791: warning: no previous declaration for 'strres_set_debug' make[1]: *** [strres_lexer.lex.o] Error 1 -- Giel signature.asc Description: OpenPGP digital signature ___ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev
Re: [Warzone-dev] [Warzone-commits] r4403 - in /trunk: ./ lib/framework/ lib/ivis_common/ lib/ivis_opengl/ lib/netplay/ lib/script/ lib/widget/ src/
Giel van Schijndel schreef: Per Inge Mathisen schreef: On Sat, Mar 29, 2008 at 1:26 AM, Giel van Schijndel [EMAIL PROTECTED] wrote: -Wmissing-declarations causes compiling of the lexers to generate warnings, which due to -Werror now fail to compile. I am sorry about that. Can you post the warnings? strres_lexer.l seems to be the only one affected: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -DYY_NO_INPUT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -DDEBUG -DDATADIR=\/usr/local/share/warzone2100\ -DLOCALEDIR=\/usr/local/share/locale\ -I../.. -O0 -g -Wall -Werror -Wno-unused-label -Wno-pointer-to-int-cast -Wmissing-field-initializers -Wcast-align -Wmissing-declarations -MT strres_lexer.lex.o -MD -MP -MF .deps/strres_lexer.lex.Tpo -c -o strres_lexer.lex.o strres_lexer.lex.c cc1: warnings being treated as errors strres_lexer.lex.c:1721: warning: no previous declaration for 'strres_get_lineno' strres_lexer.lex.c:1730: warning: no previous declaration for 'strres_get_in' strres_lexer.lex.c:1738: warning: no previous declaration for 'strres_get_out' strres_lexer.lex.c:1746: warning: no previous declaration for 'strres_get_leng' strres_lexer.lex.c:1755: warning: no previous declaration for 'strres_get_text' strres_lexer.lex.c:1764: warning: no previous declaration for 'strres_set_lineno' strres_lexer.lex.c:1776: warning: no previous declaration for 'strres_set_in' strres_lexer.lex.c:1781: warning: no previous declaration for 'strres_set_out' strres_lexer.lex.c:1786: warning: no previous declaration for 'strres_get_debug' strres_lexer.lex.c:1791: warning: no previous declaration for 'strres_set_debug' make[1]: *** [strres_lexer.lex.o] Error 1 Apparently Buginator had the same issues, and after a short debugging session on IRC we found out that upgrading Flex from 2.5.34 to 2.5.35 solved this issue for the both of us. -- Giel signature.asc Description: OpenPGP digital signature ___ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev
Re: [Warzone-dev] Behavior when out of focus
Am Samstag, 29. März 2008 21:09:43 schrieb Ari Johnson: I have brought this up before, but I really think something should be done. However, I'd rather get some agreement on the matter before committing any changes. Warzone currently pauses everything when it loses focus. This has two shortcomings: Pause on focusloss was added mainly on request by laptop users, who wanted to save battery time. (And I think I discovered abadoned code at that same time.) So it is definitely not necessary that WZ pauses on focus loss, just an optimisation. As long as we can achieve the same (or a similar) effect with something else, I would be completely happy with it. 1. Some people (such as myself) likely want to be able to play with Warzone in a window and, for instance, let their tanks drive across the map in the background while they talk on IM or work on something. If the game pauses when it's not the foreground window, this doesn't work. 2. Warzone doesn't just pause the gameplay, but it pauses everything else when it is in the background. This includes the menu. To see what I mean, run Warzone in a window and, as soon as it creates the window, change to another application while it loads. The loading bar will run until it is done loading and then appear to lock up, until you give focus back to Warzone. Once you do that, the menu will display. Any argument in favor of #1 being correct behavior notwithstanding, this is simply wrong. What I propose is this: 1. Fix #2 above. There is no justification for the game doing that. 2. Provide an option to let the user select from three modes when the game is in the background: a) Pause and mute b) Mute only c) Neither pause nor mute This should let everyone be happy. Any thoughts? Proposal/issue 1 is fixed by proposal 2? --Dennis signature.asc Description: This is a digitally signed message part. ___ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev
Re: [Warzone-dev] [Warzone-commits] r4418 - in /branches/2.1: lib/framework/resource_lexer.l lib/framework/strres_lexer.l lib/gamelib/audp_lexer.l lib/script/chat_lexer.l lib/script/script_lexer.l src
Am Samstag, 29. März 2008 21:01:35 schrieb Ari Johnson: Author: ari Date: Sat Mar 29 21:01:32 2008 New Revision: 4418 URL: http://svn.gna.org/viewcvs/warzone?rev=4418view=rev Log: Merged r4376 to allow building with older versions of flex 4384 may also be interesting. It may fix the memory leak fixed in 4353 for older (2.5.9) versions of flex and corrects the version check. --Dennis signature.asc Description: This is a digitally signed message part. ___ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev