From MAILER-DAEMON Sun Nov 02 12:30:12 2003 Received: from list by monty-python.gnu.org with archive (Exim 4.24) id 1AGM1q-0005Xx-Hf for mharc-liquidwar-user@gnu.org; Sun, 02 Nov 2003 12:28:42 -0500 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AGM0J-0002fz-WE for liquidwar-user@nongnu.org; Sun, 02 Nov 2003 12:27:08 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AGLvg-0000gL-11 for liquidwar-user@nongnu.org; Sun, 02 Nov 2003 12:22:51 -0500 Received: from [80.13.172.24] (helo=guenegaud) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AGLve-0000ej-8z for liquidwar-user@nongnu.org; Sun, 02 Nov 2003 12:22:18 -0500 Received: from ufoot by guenegaud with local (Exim 3.35 #1 (Debian)) id 1AGLvY-0001eV-00 for ; Sun, 02 Nov 2003 18:22:12 +0100 Date: Sun, 2 Nov 2003 18:22:12 +0100 To: liquidwar-user@nongnu.org Subject: Re: [liquidwar-user] Danish version Message-ID: <20031102172212.GA6148@guenegaud.streets> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i From: Christian Mauduit X-BeenThere: liquidwar-user@nongnu.org X-Mailman-Version: 2.1.2 Precedence: list Reply-To: liquidwar-user@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Nov 2003 17:28:36 -0000 Hi, On Tue, Oct 28, 2003 at 07:14:05PM +0000, Kasper Hviid wrote: > Hello! I have now made langdk.c It can be downloaded here: > http://levels.2v1.cz/langdk.c OK, I've downloaded it and it has been commited into CVS. > I guess that LW_LANGEN_DATA should be replaced by LW_LANGDK_DATA, but > programming is not my stuff. I have only altered the text. No problem, LANGEN has indeed been replaced by LANGDK, but I could do this part myself without any trouble 8-) > The Gnu General Public License I use is an unofficial translation, made by > Christian Hansen. OK, perfect. > Question: The documentation of liquid war says that the textures should be > in 255 colors, since LW would convert them to 32 bit colors. Is there any > purpose of converting 255 colors to 32 bit? Another thing is that the game > dont seem to to accept more than 32 colors. And what is vbitmap? Short answer: LW is crappy enough not to be able to handle anything else than 256 colors "paletted" bitmaps, and it reduces this number of colors to 32, which is, well, "very few" indeed. Long answer: LW was first developped in 1995. LW5 was released in 1998, so logically its developpement had to start before. Even in commercial "professionnal" games at that time it was not unusual to have 256 colors support only. Truecolor really came after, helped by DirectX AFAIK. So at that time there was no "easy" way to deal with Truecolor (ie 16-bit or 32-bit video modes) in a standard and efficient manner. Allegro provided this support anyway but still it was a little clumsy to use it, and I still prefered the good old 256 colors paletted mode, which is standard on any VGA card, and VGA is IMHO the last video standard at a hardware level. So a good reason to use 256 colors mode was that it had a better technical support than truecolor modes (at that time). Another reason is that *if* the hardware really uses this 256 colors mode (under DOS with VGA graphics this is the case) then display is really faster (although less beautifull) than in any truecolor mode. That was at least really true back in 1998. So another reason to use 256 colors mode was performance. Now once I had chosen to use 256 colors mode, I had to face a choice: either choose a palette and stick to it (this is what DOOM or QUAKE1 did) or reserve "some portions" of the palette for various things. I chose the latter. So in LW, colors from 0 to 31 are for the menus, 32 to 63 are for one texture (foreground), 64 to 95 are for another texture (background), and some colors are reserved for the "fighters". It was easier to handle this way, and 32 colors textures do not look *that* ugly. Now for various reasons involving the format of my .tex files, the fact that LW's code is awfully ugly and barely maintainable, and that LW5 is really tied to the fact that it uses a 256 colors mode, it's nearly impossible to change that without a complete rewrite... This is a shame since most users now run LW on truecolor displays, in high resolutions, and the performance or quality of support of the 256 color mode is no more a valid argument. On the contrary, it happens that today it totally super sucks that LW is programmed this way 8-/ So, well, truecolor mode is for Liquid War 6, definitely. There's no way to hack better color support in Liquid War 5, believe me. > Could we have the "corner menu" (Back, Play, Quit and Main) to be displayed > when the user gets an error message? Or maybe only the "Back"-button? Its a > bit clumsy to use the keyboard to get the message away, and then being > teleported to the main menu. mmm, I see, will see what I can do, I have no idea wether it's difficult to change, yet. > Maybe there should be a question mark (?) to the left of the buttons? When > the user clicks the (?), he gets a description of what the button will do. > The documentation already have a good description of the different buttons > in the menu. Not a bad idea. Old LW releases used to have a help button on every screen, but the help was empty and/or not accurate and however noone ever read it. I removed this button and now there's the "Play" button instead. > It would probably not be necessary to describe obvious stuff, like the main > menu. If someone dont understand what "play" does, he surely wont > understand an explanation. It should more be for buttons like "Curser X1" > or "No rps limit" Yep, those buttons are perfectly ununderstandable, something must be done. I'll try to hack some "question mark" solution as you mentionned. Might be feasible. FYI, I'm also preparing support for a "use default texture" option which will allow all your maps to have their right textures used by default, but still allow players to force the use of their own textures. One side effect is that I needed to add a new button, and it needs to be translated 8-) Here's the new part: LW_LANGEN_DATA[LW_LANG_STRING_LEVEL_USEDEFAULTTEXTURE] = "Use default texture"; LW_LANGEN_DATA[LW_LANG_STRING_LEVEL_ON] = "On"; LW_LANGEN_DATA[LW_LANG_STRING_LEVEL_OFF] = "Off"; BTW, if someone speaking German could help me with the German translation, that would be cool too 8-) Last point: I'd like to know if you're a UNIX or Windows user - maybe you already told me but I forgot - for if you're a Windows user, I'll try to provide a binary so that you can check that the translation is working. If you're under UNIX, getting the latest CVS source tree and compiling it will hopefully work without my help. Thanks again for your maps and translation Kasper! Have a nice day, Christian. -- Christian Mauduit __/\__ ___ \~/ ~/(`_ \ ___ http://www.ufoot.org/ /_o _\ \ \_/ _ \_ http://www.ufoot.org/gnupg.pub \/ \___/ \__) From MAILER-DAEMON Mon Nov 03 14:50:28 2003 Received: from list by monty-python.gnu.org with archive (Exim 4.24) id 1AGkiZ-0005Nl-U2 for mharc-liquidwar-user@gnu.org; Mon, 03 Nov 2003 14:50:27 -0500 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AGkiW-0005LA-Kh for liquidwar-user@nongnu.org; Mon, 03 Nov 2003 14:50:24 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AGkhz-00050i-3Y for liquidwar-user@nongnu.org; Mon, 03 Nov 2003 14:50:22 -0500 Received: from [217.72.192.180] (helo=smtp.web.de) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1AGkhy-00050b-PX for liquidwar-user@nongnu.org; Mon, 03 Nov 2003 14:49:50 -0500 Received: from [213.54.159.241] (helo=lbw6) by smtp.web.de with esmtp (WEB.DE 4.99 #516) id 1AGkhv-0007Jh-00 for liquidwar-user@nongnu.org; Mon, 03 Nov 2003 20:49:48 +0100 From: "Jan Gretschuskin" To: liquidwar-user@nongnu.org Date: Mon, 03 Nov 2003 20:46:16 +0100 MIME-Version: 1.0 Subject: Re: [liquidwar-user] Danish version Message-ID: <3FA6BE98.23624.4D4768@localhost> Priority: normal In-reply-to: <20031102172212.GA6148@guenegaud.streets> References: X-mailer: Pegasus Mail for Windows (v4.12a) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Sender: Dark_X2@web.de X-BeenThere: liquidwar-user@nongnu.org X-Mailman-Version: 2.1.2 Precedence: list Reply-To: liquidwar-user@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Nov 2003 19:50:26 -0000 Here's the German version: "Use default texture"; is "Benutze Standardtextur" "On" is "An" "Off" is "Aus" Have a nice day Jan Gretschuskin On 2 Nov 2003 at 18:22, Christian Mauduit wrote: Here's the new part: LW_LANGEN_DATA[LW_LANG_STRING_LEVEL_USEDEFAULTTEXTURE] = "Use default texture"; LW_LANGEN_DATA[LW_LANG_STRING_LEVEL_ON] = "On"; LW_LANGEN_DATA[LW_LANG_STRING_LEVEL_OFF] = "Off"; BTW, if someone speaking German could help me with the German translation, that would be cool too 8-) Last point: I'd like to know if you're a UNIX or Windows user - maybe you already told me but I forgot - for if you're a Windows user, I'll try to provide a binary so that you can check that the translation is working. If you're under UNIX, getting the latest CVS source tree and compiling it will hopefully work without my help. Thanks again for your maps and translation Kasper! Have a nice day, Christian. -- Christian Mauduit __/\__ ___ \~/ ~/(`_ \ ___ http://www.ufoot.org/ /_o _\ \ \_/ _ \_ http://www.ufoot.org/gnupg.pub \/ \___/ \__) _______________________________________________ liquidwar-user mailing list liquidwar-user@nongnu.org http://mail.nongnu.org/mailman/listinfo/liquidwar-user -------------------------------------------------------------------------------------------------------------------- Jan Gretschuskin Contentmanager of www.Game-Factor.de ICQ: 84178740 From MAILER-DAEMON Mon Nov 03 17:13:24 2003 Received: from list by monty-python.gnu.org with archive (Exim 4.24) id 1AGmwt-0003sV-72 for mharc-liquidwar-user@gnu.org; Mon, 03 Nov 2003 17:13:23 -0500 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AGmwq-0003qH-HF for liquidwar-user@nongnu.org; Mon, 03 Nov 2003 17:13:20 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AGmwD-0003Wv-PA for liquidwar-user@nongnu.org; Mon, 03 Nov 2003 17:13:13 -0500 Received: from [64.4.17.8] (helo=hotmail.com) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AGmwD-0002y7-D0 for liquidwar-user@nongnu.org; Mon, 03 Nov 2003 17:12:41 -0500 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 3 Nov 2003 14:11:36 -0800 Received: from 213.237.70.11 by lw11fd.law11.hotmail.msn.com with HTTP; Mon, 03 Nov 2003 22:11:36 GMT X-Originating-IP: [213.237.70.11] X-Originating-Email: [kasper_hviid@hotmail.com] From: "Kasper Hviid" To: liquidwar-user@nongnu.org Bcc: Subject: Re: [liquidwar-user] Danish version Date: Mon, 03 Nov 2003 22:11:36 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Message-ID: X-OriginalArrivalTime: 03 Nov 2003 22:11:36.0545 (UTC) FILETIME=[72A00510:01C3A257] X-BeenThere: liquidwar-user@nongnu.org X-Mailman-Version: 2.1.2 Precedence: list Reply-To: liquidwar-user@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Nov 2003 22:13:21 -0000 On Sun, 2 Nov 2003 Christian Mauduit wrote: >Now for various reasons involving the format of my .tex files, the fact >that LW's code is awfully ugly and barely maintainable, and that LW5 is >really tied to the fact that it uses a 256 colors mode, it's nearly >impossible to change that without a complete rewrite... A shame, really ... on the other hand, its really nice to know that my 32 color textures wont be outdated right now! :-) >One side effect is that I needed to add a new button, and it needs to be >translated 8-) Here is the danish translation of the "use default texture"-button: LW_LANGEN_DATA[LW_LANG_STRING_LEVEL_USEDEFAULTTEXTURE] = "Brug standard-texture"; LW_LANGEN_DATA[LW_LANG_STRING_LEVEL_ON] = "Til"; LW_LANGEN_DATA[LW_LANG_STRING_LEVEL_OFF] = "Fra"; >>I'd like to know if you're a UNIX or Windows user Im a Windows user (I didnt tell you), so a binary would be great! - Kasper Hviid _________________________________________________________________ Få alle de nye og sjove ikoner med MSN Messenger http://messenger.msn.dk/ From MAILER-DAEMON Fri Nov 07 02:38:41 2003 Received: from list by monty-python.gnu.org with archive (Exim 4.24) id 1AI1Cb-000346-12 for mharc-liquidwar-user@gnu.org; Fri, 07 Nov 2003 02:38:41 -0500 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AHpjd-0000mv-0N for liquidwar-user@nongnu.org; Thu, 06 Nov 2003 14:24:01 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AHpj0-0008HE-JE for liquidwar-user@nongnu.org; Thu, 06 Nov 2003 14:23:53 -0500 Received: from [130.127.48.6] (helo=cs.clemson.edu) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AHpj0-0008FJ-8o for liquidwar-user@nongnu.org; Thu, 06 Nov 2003 14:23:22 -0500 Received: from eclipse2.cs.clemson.edu (eclipse2.cs.clemson.edu [130.127.48.20]) by cs.clemson.edu (8.9.3-20030918/8.9.3) with ESMTP id OAA04719 for ; Thu, 6 Nov 2003 14:23:17 -0500 (EST) Received: (from dredick@localhost) by eclipse2.cs.clemson.edu (8.9.3/8.9.3) id OAA18173 for liquidwar-user@nongnu.org; Thu, 6 Nov 2003 14:23:17 -0500 (EST) Date: Thu, 6 Nov 2003 14:23:17 -0500 From: Redick David A To: liquidwar-user@nongnu.org Message-ID: <20031106192317.GA18144@eclipse2.cs.clemson.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-CPSC-Clemson-MailScanner: Found to be clean X-Mailman-Approved-At: Fri, 07 Nov 2003 02:38:36 -0500 Subject: [liquidwar-user] random map generator X-BeenThere: liquidwar-user@nongnu.org X-Mailman-Version: 2.1.2 Precedence: list Reply-To: liquidwar-user@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Nov 2003 19:24:02 -0000 Hiya, I seem to remember someone wanting a random map generator for liquid war but I haven't heard much about it since. Anyway I started to hack and got a fairly good framework. Source: www.cs.clemson.edu/~dredick/lwmapgen.tar.bz2 Currently its "pre-alpha" but it can create playable maps. All be it, rather boring ones. Just random rectangles =] Its a stand alone program that creates bitmaps. Hopefully I'll be able to write some cooler functions and provide a interface with the liquidwar game. Compile it and play with it. Let me know what you think. BTW: to create and alter bitmaps in allegro I have to create an allegro window to get the palette. Is there a way around that? This is my first allegro program and I don't know the api that well. -- David Redick dredick@clemson.edu Home www.cs.clemson.edu/~dredick IRC irc.gimp.net:6667 #clug CLUG: Clemson, Linux, Users and GNU! From MAILER-DAEMON Sat Nov 08 06:21:57 2003 Received: from list by monty-python.gnu.org with archive (Exim 4.24) id 1AIRAB-0004eK-8x for mharc-liquidwar-user@gnu.org; Sat, 08 Nov 2003 06:21:55 -0500 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AIRA8-0004dc-CP for liquidwar-user@nongnu.org; Sat, 08 Nov 2003 06:21:52 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AIR9a-0004SU-Jg for liquidwar-user@nongnu.org; Sat, 08 Nov 2003 06:21:49 -0500 Received: from [80.11.164.252] (helo=guenegaud) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AIR9Z-0004SD-C6 for liquidwar-user@nongnu.org; Sat, 08 Nov 2003 06:21:17 -0500 Received: from ufoot by guenegaud with local (Exim 3.35 #1 (Debian)) id 1AIQC5-0002d8-00 for ; Sat, 08 Nov 2003 11:19:49 +0100 Date: Sat, 8 Nov 2003 11:19:49 +0100 To: liquidwar-user@nongnu.org Subject: Re: [liquidwar-user] random map generator Message-ID: <20031108101949.GA10054@guenegaud.streets> References: <20031106192317.GA18144@eclipse2.cs.clemson.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031106192317.GA18144@eclipse2.cs.clemson.edu> User-Agent: Mutt/1.3.28i From: Christian Mauduit X-BeenThere: liquidwar-user@nongnu.org X-Mailman-Version: 2.1.2 Precedence: list Reply-To: liquidwar-user@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Nov 2003 11:21:53 -0000 Hi, On Thu, Nov 06, 2003 at 02:23:17PM -0500, Redick David A wrote: > Hiya, > > I seem to remember someone wanting a random map generator > for liquid war but I haven't heard much about it since. > > Anyway I started to hack and got a fairly good framework. > Source: www.cs.clemson.edu/~dredick/lwmapgen.tar.bz2 This is a bright idea you had! Thanks 8-) > Currently its "pre-alpha" but it can create playable maps. > All be it, rather boring ones. Just random rectangles =] > > Its a stand alone program that creates bitmaps. > Hopefully I'll be able to write some cooler functions and > provide a interface with the liquidwar game. mmm, well, my very short term decision was to add your program to the current LW source tree. So it will be included in the next LW release so that everyone can start using it if he likes - as you released your program under the terms of the GPL this should not be a problem. Now to be honest I'd really like to include your map generator *in* the game so that people can click on "random map" and get one. AFAIK it should not be really difficult for me to make a sort of wrapper which uses your program in Liquid War directly, since your program is not that big and your code is (from what I've seen yet) perfectly readable. Same can not been said from LW's core code but I'm lucky enough to know my way through it 8-) My idea would be to stick a button right in the middle of the "map menu" that reads "Generate a random map" on it and another "Random map options" button that would lead the player to another menu where one can tune your generator. > Compile it and play with it. Let me know what you think. I haven't tried all the options yet, will try to find some time to really test all of them. > BTW: to create and alter bitmaps in allegro I have to create > an allegro window to get the palette. Is there a way around > that? This is my first allegro program and I don't know the api > that well. Well, AFAIK you should do what is done in the utilities like "liquidwarcol" stored in the ./utils directory of LW, that's to say: --------8<----------------------------------------------- install_allegro (SYSTEM_NONE, &errno, atexit); set_color_depth (8); set_color_conversion (COLORCONV_REDUCE_TO_256); --------8<----------------------------------------------- instead of a plain: --------8<----------------------------------------------- allegro_init(); --------8<----------------------------------------------- I had to do this for LW to compile nicely in pure console mode, which is required by Debian for instance. Note that I regularly have some problems with this however. Don't know why but sometimes but when I "su" and/or wreck my X11 environnement variables things go crazy and liquidwarcol doesn't work anymore. Doesn't prevent me from sleeping anyway. BTW, you might be interested by a direct CVS access to LW source code on Savannah. Contact me if you're insterested. OK, now what I'll do is concretely try to make a 5.6.0 or 5.5.9 release (depends on how much I put in it) which will include the Danish translation, the association of maps with textures (already done) and possibly a basic wrapper for the map generator. The point is that to release this I need to spend some time installing OS'es and computers since I recently fried two motherboards and need to re-install a bunch of things. This is boring but must be done 8-) Have a nice day, Christian. -- Christian Mauduit __/\__ ___ \~/ ~/(`_ \ ___ http://www.ufoot.org/ /_o _\ \ \_/ _ \_ http://www.ufoot.org/gnupg.pub \/ \___/ \__) From MAILER-DAEMON Sat Nov 08 06:34:38 2003 Received: from list by monty-python.gnu.org with archive (Exim 4.24) id 1AIRMT-0002Qa-Sx for mharc-liquidwar-user@gnu.org; Sat, 08 Nov 2003 06:34:37 -0500 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AIRMQ-0002QB-Ri for liquidwar-user@nongnu.org; Sat, 08 Nov 2003 06:34:34 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AIRLt-0002K9-0H for liquidwar-user@nongnu.org; Sat, 08 Nov 2003 06:34:32 -0500 Received: from [80.11.164.252] (helo=guenegaud) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AIRLr-0002Jz-VH for liquidwar-user@nongnu.org; Sat, 08 Nov 2003 06:34:00 -0500 Received: from ufoot by guenegaud with local (Exim 3.35 #1 (Debian)) id 1AIQOP-0002f9-00 for ; Sat, 08 Nov 2003 11:32:33 +0100 Date: Sat, 8 Nov 2003 11:32:33 +0100 To: liquidwar-user@nongnu.org Subject: Re: [liquidwar-user] Danish version Message-ID: <20031108103233.GC10054@guenegaud.streets> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i From: Christian Mauduit X-BeenThere: liquidwar-user@nongnu.org X-Mailman-Version: 2.1.2 Precedence: list Reply-To: liquidwar-user@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Nov 2003 11:34:36 -0000 Hi, On Mon, Nov 03, 2003 at 10:11:36PM +0000, Kasper Hviid wrote: > A shame, really ... on the other hand, its really nice to know that my 32 > color textures wont be outdated right now! :-) Well, your maps definitely look great! However I had 2 problems including them in the game: ac.bmp had no acm.bmp associated to it, and ac.bmp was "the map itself" instead of being "the texture for the map". rectm.bmp seems to have been "inverted", I had to exchange white and black to have it work. > Im a Windows user (I didnt tell you), so a binary would be great! OK, the binary won't be ready tomorrow for sure, I can't compile it by now, but I'll try to make one ASAP. Now to describe you the way maps are associated to textures, here's what I did: Any texture called foo.* is automatically associated to a map named foo.*. Having the same name is not such a problem since they are stored in different directories. Alternatively I could add an option that would be "consider filenames are equal if they are the same but the last letter". I don't think it's mandatory, but please give me your opinion on this. Also, this works for builtin textures as well as for custom textures. This means that with the current Liquid War version, you could use a custom texture used "biere.bmp" it would automatically be associated to the internal map "biere.pcx", which is named "Serieux destroy!". And all your maps would work correctly out of the box provided that the "m" is removed from the "map" names - unless I code the option mentionned above. Also, I'm renamming maps so that some of them have a prefix. For instance your maps are prefixed with "Kasper - " so that when the user chooses a map they are sorted by author. It happens that each author has his own style designing maps, so it makes sense to sort them this way. Have a nice day, Christian. -- Christian Mauduit __/\__ ___ \~/ ~/(`_ \ ___ http://www.ufoot.org/ /_o _\ \ \_/ _ \_ http://www.ufoot.org/gnupg.pub \/ \___/ \__) From MAILER-DAEMON Sun Nov 09 08:53:56 2003 Received: from list by monty-python.gnu.org with archive (Exim 4.24) id 1AIq0q-0001Kr-3t for mharc-liquidwar-user@gnu.org; Sun, 09 Nov 2003 08:53:56 -0500 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AIq0n-0001K7-I9 for liquidwar-user@nongnu.org; Sun, 09 Nov 2003 08:53:53 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AIq0H-0001Bt-PJ for liquidwar-user@nongnu.org; Sun, 09 Nov 2003 08:53:52 -0500 Received: from [64.4.17.8] (helo=hotmail.com) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AIq0H-0000yk-Eg for liquidwar-user@nongnu.org; Sun, 09 Nov 2003 08:53:21 -0500 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 9 Nov 2003 04:50:55 -0800 Received: from 213.237.70.11 by lw11fd.law11.hotmail.msn.com with HTTP; Sun, 09 Nov 2003 12:50:55 GMT X-Originating-IP: [213.237.70.11] X-Originating-Email: [kasper_hviid@hotmail.com] From: "Kasper Hviid" To: liquidwar-user@nongnu.org Bcc: Subject: Re: [liquidwar-user] Danish version Date: Sun, 09 Nov 2003 12:50:55 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Message-ID: X-OriginalArrivalTime: 09 Nov 2003 12:50:55.0987 (UTC) FILETIME=[1DC4BC30:01C3A6C0] X-BeenThere: liquidwar-user@nongnu.org X-Mailman-Version: 2.1.2 Precedence: list Reply-To: liquidwar-user@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Nov 2003 13:53:54 -0000 On saturday, Nov 08, 2003, Christian Mauduit wrote: >Well, your maps definitely look great! Thanks! :-D >ac.bmp had no acm.bmp associated to it, and ac.bmp was "the map itself" >instead of being "the texture for the map". >rectm.bmp seems to have been "inverted", I had to exchange white and >black to have it work. Ups! I have fixed that now! > > Im a Windows user (I didnt tell you), so a binary would be great! >OK, the binary won't be ready tomorrow for sure, I can't compile it by >now, but I'll try to make one ASAP. Thats still great! Take your time! >Any texture called foo.* is automatically associated to a map named >foo.*. Having the same name is not such a problem since they are stored >in different directories. Alternatively I could add an option that would >be "consider filenames are equal if they are the same but the last letter". >I don't think it's mandatory, but please give me your opinion >on this. Thanks for asking! Just remove the 'm' from the maps! I have no deeper feelings for that letter! By the way, I really consider creating some more intelligent names for some of the maps. The names they have right know where made pretty quickly when I had to save them. Letting the first letter be in uppercase would also help. My site still has the old names. Updating my site is a bother, since its generated in a rather wacky way, by Photoshop scripting and by hand. But these are the names I consider: big.bmp = Big 1.bmp bored.bmp => Labyrinth 1.bmp clean.bmp => Green.bmp circlus.bmp => Space 1.bmp dirt.bmp => Labyrinth 2.bmp garden.bmp => Labyrinth 3.bmp labyrint.bmp => Labyrinth 4.bmp logo.bmp => Logo 1.bmp metation.bmp => Carpe Diem.bmp lw.bmp => Logo 2.bmp paper.bmp => Big 2.bmp place.bmp => Retro.bmp rect.bmp => Rectangle 1.bmp rectangle.bmp => Rectangle 2.bmp skull.bmp => Skull 1.bmp skull-big.bmp => Skull 2.bmp tiles.bmp => Space 2.bmp 3x3.bmp => Tick Tack Toe.bmp - Kasper _________________________________________________________________ Få alle de nye og sjove ikoner med MSN Messenger http://messenger.msn.dk/ From MAILER-DAEMON Sun Nov 09 09:59:35 2003 Received: from list by monty-python.gnu.org with archive (Exim 4.24) id 1AIr2N-0000gn-Dw for mharc-liquidwar-user@gnu.org; Sun, 09 Nov 2003 09:59:35 -0500 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AIr2K-0000g0-Vy for liquidwar-user@nongnu.org; Sun, 09 Nov 2003 09:59:32 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AIr1o-0000eJ-QC for liquidwar-user@nongnu.org; Sun, 09 Nov 2003 09:59:31 -0500 Received: from [130.127.48.6] (helo=cs.clemson.edu) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AIr1o-0000eF-Fp for liquidwar-user@nongnu.org; Sun, 09 Nov 2003 09:59:00 -0500 Received: from eclipse22.cs.clemson.edu (eclipse22.cs.clemson.edu [130.127.48.82]) by cs.clemson.edu (8.9.3-20030918/8.9.3) with ESMTP id IAA26107 for ; Sun, 9 Nov 2003 08:57:34 -0500 (EST) Received: (from dredick@localhost) by eclipse22.cs.clemson.edu (8.9.3/8.9.3) id IAA03643 for liquidwar-user@nongnu.org; Sun, 9 Nov 2003 08:57:33 -0500 (EST) Date: Sun, 9 Nov 2003 08:57:33 -0500 From: Redick David A To: liquidwar-user@nongnu.org Subject: Re: [liquidwar-user] Danish version Message-ID: <20031109135733.GA3637@eclipse22.cs.clemson.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-CPSC-Clemson-MailScanner: Found to be clean X-BeenThere: liquidwar-user@nongnu.org X-Mailman-Version: 2.1.2 Precedence: list Reply-To: liquidwar-user@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Nov 2003 14:59:34 -0000 On Sun, Nov 09, 2003 at 12:50:55PM +0000, Kasper Hviid wrote: > By the way, I really consider creating some more intelligent names for some > of the maps. The names they have right know where made pretty quickly when > I had to save them. Letting the first letter be in uppercase would also > help. > big.bmp = Big 1.bmp > bored.bmp => Labyrinth 1.bmp > clean.bmp => Green.bmp .... > tiles.bmp => Space 2.bmp > 3x3.bmp => Tick Tack Toe.bmp I think all lowercase letters and no spaces (use '_' or '-' or concat.) would be better. just my 3 & 3/4 cents. -- David Redick dredick@clemson.edu Home www.cs.clemson.edu/~dredick IRC irc.gimp.net:6667 #clug CLUG: Clemson, Linux, Users and GNU! From MAILER-DAEMON Sun Nov 09 16:31:18 2003 Received: from list by monty-python.gnu.org with archive (Exim 4.24) id 1AIx9S-0005hq-9q for mharc-liquidwar-user@gnu.org; Sun, 09 Nov 2003 16:31:18 -0500 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AIx9P-0005hi-Pf for liquidwar-user@nongnu.org; Sun, 09 Nov 2003 16:31:15 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AIx8m-0005Yq-04 for liquidwar-user@nongnu.org; Sun, 09 Nov 2003 16:31:07 -0500 Received: from [80.11.164.44] (helo=guenegaud) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AIx8d-0005Jv-RF for liquidwar-user@nongnu.org; Sun, 09 Nov 2003 16:30:28 -0500 Received: from ufoot by guenegaud with local (Exim 3.35 #1 (Debian)) id 1AIwB8-0001S1-00 for ; Sun, 09 Nov 2003 21:28:58 +0100 Date: Sun, 9 Nov 2003 21:28:58 +0100 To: liquidwar-user@nongnu.org Subject: Re: [liquidwar-user] Danish version Message-ID: <20031109202858.GA5446@guenegaud.streets> References: <20031109135733.GA3637@eclipse22.cs.clemson.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031109135733.GA3637@eclipse22.cs.clemson.edu> User-Agent: Mutt/1.3.28i From: Christian Mauduit X-BeenThere: liquidwar-user@nongnu.org X-Mailman-Version: 2.1.2 Precedence: list Reply-To: liquidwar-user@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Nov 2003 21:31:16 -0000 Hi, On Sun, Nov 09, 2003 at 08:57:33AM -0500, Redick David A wrote: > On Sun, Nov 09, 2003 at 12:50:55PM +0000, Kasper Hviid wrote: > > By the way, I really consider creating some more intelligent names for some > > of the maps. The names they have right know where made pretty quickly when > > I had to save them. Letting the first letter be in uppercase would also > > help. > > > big.bmp = Big 1.bmp > > bored.bmp => Labyrinth 1.bmp > > clean.bmp => Green.bmp > .... > > tiles.bmp => Space 2.bmp > > 3x3.bmp => Tick Tack Toe.bmp > > I think all lowercase letters and no spaces > (use '_' or '-' or concat.) would be better. Well, in fact, filenames will probably stay the same, ie "bored.bmp" for instance, but hopefully LW has a feature which allows a "readable" name to be associated to the map. This way everyone but those who fiddle with LW's source code and internals could read "Labyrinth 1" when internally the file keeps on being called "bored.bmp". File naming is somewhat important when you distribute maps apart from LW but as long as they get included into the game for good, it's not important any more IMHO. So renaming can make sense if you think bored.bmp should be labyrinth.bmp since it's then called "Labyrinth 1", but as David mentions, internal filenames for LW won't ever contain any space and/or uppercase letter, unless there's a good reason for it - for instance I use "M"akefile to respect some sort of old foolish UNIX tradition, but that's all I do for uppercase letters 8-) > just my 3 & 3/4 cents. FYI source code files for LW (the ones in ./src) even need to be in the old DOS 8.3 format, since the DOS version of LW is still supported, and this is mandatory for it to compile under a plain DOS (not a Windows command line box). *sigh* Have a nice day, Christian. -- Christian Mauduit __/\__ ___ \~/ ~/(`_ \ ___ http://www.ufoot.org/ /_o _\ \ \_/ _ \_ http://www.ufoot.org/gnupg.pub \/ \___/ \__) From MAILER-DAEMON Sun Nov 09 16:31:48 2003 Received: from list by monty-python.gnu.org with archive (Exim 4.24) id 1AIx9w-0005wp-IY for mharc-liquidwar-user@gnu.org; Sun, 09 Nov 2003 16:31:48 -0500 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AIx9t-0005v6-QO for liquidwar-user@nongnu.org; Sun, 09 Nov 2003 16:31:45 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AIx8J-0004wc-Ng for liquidwar-user@nongnu.org; Sun, 09 Nov 2003 16:30:38 -0500 Received: from [64.4.17.30] (helo=hotmail.com) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AIx8A-0004w0-Q3 for liquidwar-user@nongnu.org; Sun, 09 Nov 2003 16:29:58 -0500 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 9 Nov 2003 12:28:31 -0800 Received: from 213.237.70.11 by lw11fd.law11.hotmail.msn.com with HTTP; Sun, 09 Nov 2003 20:28:31 GMT X-Originating-IP: [213.237.70.11] X-Originating-Email: [kasper_hviid@hotmail.com] From: "Kasper Hviid" To: liquidwar-user@nongnu.org Bcc: Subject: Re: [liquidwar-user] Danish version Date: Sun, 09 Nov 2003 20:28:31 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Message-ID: X-OriginalArrivalTime: 09 Nov 2003 20:28:31.0975 (UTC) FILETIME=[0AD00770:01C3A700] X-BeenThere: liquidwar-user@nongnu.org X-Mailman-Version: 2.1.2 Precedence: list Reply-To: liquidwar-user@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Nov 2003 21:31:47 -0000 On Sun, 9 Nov 2003, David Redick wrote: >On Sun, Nov 09, 2003 at 12:50:55PM +0000, Kasper Hviid wrote: >>By the way, I really consider creating some more intelligent names for >>some of the maps. The names they have right know where made pretty quickly >>when I had to save them. Letting the first letter be in uppercase would >>also help. > >>big.bmp = Big 1.bmp >>bored.bmp => Labyrinth 1.bmp >>clean.bmp => Green.bmp >.... >>tiles.bmp => Space 2.bmp >>3x3.bmp => Tick Tack Toe.bmp > >I think all lowercase letters and no spaces >(use '_' or '-' or concat.) would be better. > >just my 3 & 3/4 cents. You got a point, David. Most systems can handle uppercase and space ( and >8 letters in the name), but its better to stay safe. Your reply made me realize one important fact: That there is difference between the filename and the name shown inside LW. I just throught that the filename had the ".bmp"-part removed inside LW. So the name of the files are *not* important. Its the name the user will see that matters!! - Kasper _________________________________________________________________ Få alle de nye og sjove ikoner med MSN Messenger http://messenger.msn.dk/ From MAILER-DAEMON Sun Nov 09 22:10:37 2003 Received: from list by monty-python.gnu.org with archive (Exim 4.24) id 1AJ2Rp-0000EH-6L for mharc-liquidwar-user@gnu.org; Sun, 09 Nov 2003 22:10:37 -0500 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AJ2Rm-0000DW-QG for liquidwar-user@nongnu.org; Sun, 09 Nov 2003 22:10:34 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AJ2RF-0000BC-25 for liquidwar-user@nongnu.org; Sun, 09 Nov 2003 22:10:32 -0500 Received: from [130.127.48.6] (helo=cs.clemson.edu) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AJ2RE-0000B9-LM for liquidwar-user@nongnu.org; Sun, 09 Nov 2003 22:10:00 -0500 Received: from eclipse20.cs.clemson.edu (eclipse20.cs.clemson.edu [130.127.48.78]) by cs.clemson.edu (8.9.3-20030918/8.9.3) with ESMTP id VAA07956 for ; Sun, 9 Nov 2003 21:08:34 -0500 (EST) Received: (from dredick@localhost) by eclipse20.cs.clemson.edu (8.9.3/8.9.3) id VAA01576 for liquidwar-user@nongnu.org; Sun, 9 Nov 2003 21:08:34 -0500 (EST) Date: Sun, 9 Nov 2003 21:08:34 -0500 From: Redick David A To: liquidwar-user@nongnu.org Subject: Re: [liquidwar-user] random map generator Message-ID: <20031110020834.GB1540@eclipse20.cs.clemson.edu> References: <20031106192317.GA18144@eclipse2.cs.clemson.edu> <20031108101949.GA10054@guenegaud.streets> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031108101949.GA10054@guenegaud.streets> User-Agent: Mutt/1.4.1i X-CPSC-Clemson-MailScanner: Found to be clean X-BeenThere: liquidwar-user@nongnu.org X-Mailman-Version: 2.1.2 Precedence: list Reply-To: liquidwar-user@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Nov 2003 03:10:35 -0000 On Sat, Nov 08, 2003 at 11:19:49AM +0100, Christian Mauduit wrote: > Hi, > > > Currently its "pre-alpha" but it can create playable maps. > > All be it, rather boring ones. Just random rectangles =] currently it can 9 different types of maps and is getting close to "beta" quality. > Now to be honest I'd really like to include your map generator *in* the > game so that people can click on "random map" and get one. > > My idea would be to stick a button right in the middle of the "map menu" > that reads "Generate a random map" on it and another "Random map > options" button that would lead the player to another menu where one can > tune your generator. that was my idea too.. I figure a system("lwmapgen"); or something like that would be fine... > > Compile it and play with it. Let me know what you think. > I haven't tried all the options yet, will try to find some time to > really test all of them. tomorrow I'll hack out a webpage and put example maps up. it will be www.cs.clemson.edu/~dredick/lwmapgen/ > BTW, you might be interested by a direct CVS access to LW source code on > Savannah. Contact me if you're insterested. I don't think I need it right now... > OK, now what I'll do is concretely try to make a 5.6.0 or 5.5.9 release > (depends on how much I put in it) which will include the Danish > translation, the association of maps with textures (already done) and > possibly a basic wrapper for the map generator. If you need me to clean up the interface, just yell. Also the map format changing for 5.6.0, right? So do I need to change my output? -- David Redick dredick@clemson.edu Home www.cs.clemson.edu/~dredick IRC irc.gimp.net:6667 #clug CLUG: Clemson, Linux, Users and GNU! From MAILER-DAEMON Mon Nov 10 03:33:44 2003 Received: from list by monty-python.gnu.org with archive (Exim 4.24) id 1AJ7UU-0005Pp-Vq for mharc-liquidwar-user@gnu.org; Mon, 10 Nov 2003 03:33:42 -0500 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AJ7UR-0005Oi-5C for liquidwar-user@nongnu.org; Mon, 10 Nov 2003 03:33:39 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AJ7Tq-0004m7-E1 for liquidwar-user@nongnu.org; Mon, 10 Nov 2003 03:33:33 -0500 Received: from [80.13.173.46] (helo=guenegaud) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AJ7Tg-0004gx-UI for liquidwar-user@nongnu.org; Mon, 10 Nov 2003 03:32:53 -0500 Received: from ufoot by guenegaud with local (Exim 3.35 #1 (Debian)) id 1AJ6WC-0000Nn-00 for ; Mon, 10 Nov 2003 08:31:24 +0100 Date: Mon, 10 Nov 2003 08:31:24 +0100 To: liquidwar-user@nongnu.org Subject: Re: [liquidwar-user] random map generator Message-ID: <20031110073124.GA1345@guenegaud.streets> References: <20031106192317.GA18144@eclipse2.cs.clemson.edu> <20031108101949.GA10054@guenegaud.streets> <20031110020834.GB1540@eclipse20.cs.clemson.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031110020834.GB1540@eclipse20.cs.clemson.edu> User-Agent: Mutt/1.3.28i From: Christian Mauduit X-BeenThere: liquidwar-user@nongnu.org X-Mailman-Version: 2.1.2 Precedence: list Reply-To: liquidwar-user@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Nov 2003 08:33:41 -0000 Hi, On Sun, Nov 09, 2003 at 09:08:34PM -0500, Redick David A wrote: > On Sat, Nov 08, 2003 at 11:19:49AM +0100, Christian Mauduit wrote: > > Hi, > > > > > Currently its "pre-alpha" but it can create playable maps. > > > All be it, rather boring ones. Just random rectangles =] > > currently it can 9 different types of maps and is getting close > to "beta" quality. > > > Now to be honest I'd really like to include your map generator *in* the > > game so that people can click on "random map" and get one. > > > > My idea would be to stick a button right in the middle of the "map menu" > > that reads "Generate a random map" on it and another "Random map > > options" button that would lead the player to another menu where one can > > tune your generator. > > that was my idea too.. I figure a system("lwmapgen"); or something like > that would be fine... Well, it's not really my intention to use system("lwmapgen") and then read the map in a temporary file. This is really a performance killer and could be buggy if creating the temp file is a problem (some users might be playing on a read-only file system on a CD-Rom, under a crappy OS that does not have nice temporary file support...) So my plan - coding has already started in fact, should be done from a technical point of view by tomorrow, and will then need polishing, ie translating the button and so on - is to have an interface to call your functions in the same way your "main.c" does. I had a look on your code and the design looked rather clean to me, so what I'd need is to call the map generator, then not save the map but instead put it in the right place for LW to work correctly, and that's it. About tweaking the options of the map generator, I think in the first place I'll only offer a "generate random map" button and that's it. This button will itself choose a random map type and then generate it. The point is that if someone wants "one special kind of random map" he's better with running lwmapgen directly, it will always be more powerfull and fexible that any ugly, clumsy and outdated UI I will design 8-) > > > Compile it and play with it. Let me know what you think. > > I haven't tried all the options yet, will try to find some time to > > really test all of them. > > tomorrow I'll hack out a webpage and put example maps up. > it will be www.cs.clemson.edu/~dredick/lwmapgen/ That's a good idea, I'll update the link on www.ufoot.org too. > > BTW, you might be interested by a direct CVS access to LW source code on > > Savannah. Contact me if you're insterested. > > I don't think I need it right now... OK. > If you need me to clean up the interface, just yell. As far as I can tell, it's OK. If I was *really* lazy I would ask you to have some function that would return a random map *without any* parameter. That's to say a function that would pick up a method randomly, and all the parameters for this method randomly, and return the BITMAP as a "BITMAP *". Here would be a typical prototype for this function: BITMAP *generate_random_map(); Basically this would encapsulate code like: --------8<-------------------------------------- map.map = create_bitmap(map.width, map.height); clear_to_color(map.map, 255); rect(map.map, 0, 0, map.width-1, map.height-1, 0); (*map.method)(); --------8<-------------------------------------- in your current code in main.c. Note that this function must *not* be in main.c for I cannot link your main.c to the main LW executable. But don't worry, I can code this myself, only if this function is in my code, whenever your add a new method/parameter, I'll need to update my code, wether if it's in your code I'll be able to keep on using generate_random_map() without ever changing anything in the main sourcetree. > Also the map format changing for 5.6.0, right? > So do I need to change my output? Nope, your output is good, do not change it. The change in maps is only about associating textures to maps. As long as you don't have a "texture generator" that generates a texture which represents your map in a nicer way than the builtin LW engine, you are not concerned 8-) Have a nice day, Christian. -- Christian Mauduit __/\__ ___ \~/ ~/(`_ \ ___ http://www.ufoot.org/ /_o _\ \ \_/ _ \_ http://www.ufoot.org/gnupg.pub \/ \___/ \__) From MAILER-DAEMON Tue Nov 11 15:31:31 2003 Received: from list by monty-python.gnu.org with archive (Exim 4.24) id 1AJfAh-0004dX-3s for mharc-liquidwar-user@gnu.org; Tue, 11 Nov 2003 15:31:31 -0500 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AJfAd-0004cv-Vm for liquidwar-user@nongnu.org; Tue, 11 Nov 2003 15:31:27 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AJefh-0000DW-Pa for liquidwar-user@nongnu.org; Tue, 11 Nov 2003 15:00:00 -0500 Received: from [80.13.173.114] (helo=guenegaud) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AJefh-0000Cg-5s for liquidwar-user@nongnu.org; Tue, 11 Nov 2003 14:59:29 -0500 Received: from ufoot by guenegaud with local (Exim 3.35 #1 (Debian)) id 1AJdiC-0002GE-00 for ; Tue, 11 Nov 2003 19:58:00 +0100 Date: Tue, 11 Nov 2003 19:57:59 +0100 To: liquidwar-user@nongnu.org Subject: Re: [liquidwar-user] random map generator Message-ID: <20031111185759.GA8615@guenegaud.streets> References: <20031106192317.GA18144@eclipse2.cs.clemson.edu> <20031108101949.GA10054@guenegaud.streets> <20031110020834.GB1540@eclipse20.cs.clemson.edu> <20031110073124.GA1345@guenegaud.streets> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031110073124.GA1345@guenegaud.streets> User-Agent: Mutt/1.3.28i From: Christian Mauduit X-BeenThere: liquidwar-user@nongnu.org X-Mailman-Version: 2.1.2 Precedence: list Reply-To: liquidwar-user@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Nov 2003 20:31:28 -0000 On Mon, Nov 10, 2003 at 08:31:24AM +0100, Christian Mauduit wrote: > > that was my idea too.. I figure a system("lwmapgen"); or something like > > that would be fine... [me saying system("lwmapgen") is not the road to follow] Well, in fact, linking your code with Liquid War caused too much trouble. I got segfaults because sometimes the % operator was called with 0 as its right member (mostly when generating small maps with numerous columns and great paddings) and basically it's not yet stable enough to be included this way. So I choose the "run it as a separate executable" option and it works fine. I also edited your main.c to solve your "black maps" problem, look at the comments in it it's pretty self explanatory I thinlk. Everything's commited in CVS on Savannah. > BITMAP *generate_random_map(); > > Basically this would encapsulate code like: > --------8<-------------------------------------- > map.map = create_bitmap(map.width, map.height); > clear_to_color(map.map, 255); > rect(map.map, 0, 0, map.width-1, map.height-1, 0); > (*map.method)(); > --------8<-------------------------------------- > in your current code in main.c. Forget about all this. The only thing is that command line options should stay consistent enough so that LW does not have to be too clever to invent them. Alternatively, having all the parameters chosen randomly but the size (you already do it for the method) might not be a bad idea. This way LW would call "liquidwar-mapgen --width 400 --height 300" and not bother about any option, getting a totally random result. Note that this could be convenient for real human users too. Have a nice day, Christian. -- Christian Mauduit __/\__ ___ \~/ ~/(`_ \ ___ http://www.ufoot.org/ /_o _\ \ \_/ _ \_ http://www.ufoot.org/gnupg.pub \/ \___/ \__) From MAILER-DAEMON Tue Nov 18 17:34:47 2003 Received: from list by monty-python.gnu.org with archive (Exim 4.24) id 1AMEQp-0007AM-B5 for mharc-liquidwar-user@gnu.org; Tue, 18 Nov 2003 17:34:47 -0500 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AMEQm-0007A4-VG for liquidwar-user@nongnu.org; Tue, 18 Nov 2003 17:34:44 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AMEQG-0006yw-Nk for liquidwar-user@nongnu.org; Tue, 18 Nov 2003 17:34:43 -0500 Received: from [130.127.48.6] (helo=cs.clemson.edu) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AMEQG-0006wb-4l for liquidwar-user@nongnu.org; Tue, 18 Nov 2003 17:34:12 -0500 Received: from yoda.cs.clemson.edu (yoda.cs.clemson.edu [130.127.48.4]) by cs.clemson.edu (8.9.3-20030918/8.9.3) with ESMTP id QAA13311 for ; Tue, 18 Nov 2003 16:32:41 -0500 (EST) Received: (from dredick@localhost) by yoda.cs.clemson.edu (8.9.3/8.9.3) id QAA04235 for liquidwar-user@nongnu.org; Tue, 18 Nov 2003 16:32:41 -0500 (EST) Date: Tue, 18 Nov 2003 16:32:41 -0500 From: Redick David A To: liquidwar-user@nongnu.org Message-ID: <20031118213241.GA4196@yoda.cs.clemson.edu> References: <20031106192317.GA18144@eclipse2.cs.clemson.edu> <20031108101949.GA10054@guenegaud.streets> <20031110020834.GB1540@eclipse20.cs.clemson.edu> <20031110073124.GA1345@guenegaud.streets> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031110073124.GA1345@guenegaud.streets> User-Agent: Mutt/1.4.1i X-CPSC-Clemson-MailScanner: Found to be clean Subject: [liquidwar-user] map generator update X-BeenThere: liquidwar-user@nongnu.org X-Mailman-Version: 2.1.2 Precedence: list Reply-To: liquidwar-user@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 22:34:45 -0000 Liquid War Random Map Generator. www.cs.clemson.edu/~dredick/lwmapgen.tar.bz2 www.cs.clemson.edu/~dredick/lwmapgen/index.html well... I guess its beta quality now. There are 11 different functions now. AFAIK there are no memory leaks or fatal bugs. Play with it and let me know what you think. BTW: Does any one want/need a win32 binary of it? -- David Redick dredick@clemson.edu Home www.cs.clemson.edu/~dredick IRC irc.gimp.net:6667 #clug char **CLUG = { "Clemson", "Linux", "Users", "GNU" }; From MAILER-DAEMON Sun Nov 23 15:04:28 2003 Received: from list by monty-python.gnu.org with archive (Exim 4.24) id 1AO0T6-0004nq-90 for mharc-liquidwar-user@gnu.org; Sun, 23 Nov 2003 15:04:28 -0500 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AO0T2-0004lb-9R for liquidwar-user@nongnu.org; Sun, 23 Nov 2003 15:04:24 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AO0SW-0004UO-C2 for liquidwar-user@nongnu.org; Sun, 23 Nov 2003 15:04:23 -0500 Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1AO0SW-0004UE-4M for liquidwar-user@nongnu.org; Sun, 23 Nov 2003 15:03:52 -0500 Received: from [80.13.172.125] (helo=guenegaud) by mx20.gnu.org with esmtp (Exim 4.24) id 1ANzSO-0007ry-4s for liquidwar-user@nongnu.org; Sun, 23 Nov 2003 13:59:40 -0500 Received: from ufoot by guenegaud with local (Exim 3.35 #1 (Debian)) id 1ANzSJ-0005I7-00 for ; Sun, 23 Nov 2003 19:59:35 +0100 Date: Sun, 23 Nov 2003 19:59:35 +0100 To: liquidwar-user@nongnu.org Subject: Re: [liquidwar-user] map generator update Message-ID: <20031123185935.GA20175@guenegaud.streets> References: <20031106192317.GA18144@eclipse2.cs.clemson.edu> <20031108101949.GA10054@guenegaud.streets> <20031110020834.GB1540@eclipse20.cs.clemson.edu> <20031110073124.GA1345@guenegaud.streets> <20031118213241.GA4196@yoda.cs.clemson.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031118213241.GA4196@yoda.cs.clemson.edu> User-Agent: Mutt/1.3.28i From: Christian Mauduit X-BeenThere: liquidwar-user@nongnu.org X-Mailman-Version: 2.1.2 Precedence: list Reply-To: liquidwar-user@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Nov 2003 20:04:25 -0000 Hi, On Tue, Nov 18, 2003 at 04:32:41PM -0500, Redick David A wrote: > Liquid War Random Map Generator. > www.cs.clemson.edu/~dredick/lwmapgen.tar.bz2 > www.cs.clemson.edu/~dredick/lwmapgen/index.html OK, it's been included in the current CVS source tree, works pretty well under Linux so far 8-) > well... I guess its beta quality now. > There are 11 different functions now. > AFAIK there are no memory leaks or fatal bugs. mmm, to be honest I'm still able to segfault it sometimes. Seems there's some floating point exception. However, it's not such a problem since LW fires it as a separate process, so it doesn't harm the game in itself (only the map isn't generated), and when running in command line mode often the solution is just to relaunch it and it works. > Play with it and let me know what you think. Well, I do think most random map are pretty playable. Just my opinion though. I also noticed that on your web site you mention that some of your functions can create "traps". AFAIK LW (at least in its current state, I mean the CVS one) is able to get rid of those traps and "paint" will wall whatever zone would not be contiguous with the rest of the map. > BTW: Does any one want/need a win32 binary of it? Not me 8-) However there's a bunch of Windows LW users, so a binary can always be usefull, especially when Windows does not comes with no compiler at all, so users are usually unable to prepare binaries themselves... As you mention this, I'd just like to say to Windows users (Kasper for instance) that I'm currently almost done with getting a working windows developpement environment ready, so binaries for 5.6.0pre1 should be ready soon now. I'd least I'm working on it. This will allow people to pre-test the stuff before I release it "officially" (nothing's really official with LW, but well, I try to make releases that work good to save end-users some trouble). A side effect of this is that the win32 binary for lwmapgen will also be available soon 8-) Have a nice day, Christian. -- Christian Mauduit __/\__ ___ \~/ ~/(`_ \ ___ http://www.ufoot.org/ /_o _\ \ \_/ _ \_ http://www.ufoot.org/gnupg.pub \/ \___/ \__) From MAILER-DAEMON Sun Nov 30 15:12:19 2003 Received: from list by monty-python.gnu.org with archive (Exim 4.24) id 1AQXvU-0004wZ-RJ for mharc-liquidwar-user@gnu.org; Sun, 30 Nov 2003 15:12:16 -0500 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AQXvQ-0004w9-On for liquidwar-user@nongnu.org; Sun, 30 Nov 2003 15:12:12 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AQXut-0004g3-HJ for liquidwar-user@nongnu.org; Sun, 30 Nov 2003 15:12:10 -0500 Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1AQXur-0004ch-4G for liquidwar-user@nongnu.org; Sun, 30 Nov 2003 15:11:37 -0500 Received: from [80.13.172.60] (helo=guenegaud) by mx20.gnu.org with esmtp (Exim 4.24) id 1AQWPH-0005LQ-HA for liquidwar-user@nongnu.org; Sun, 30 Nov 2003 13:34:55 -0500 Received: from ufoot by guenegaud with local (Exim 3.35 #1 (Debian)) id 1AQWP7-0004D6-00 for ; Sun, 30 Nov 2003 19:34:45 +0100 Date: Sun, 30 Nov 2003 19:34:43 +0100 To: liquidwar-user@nongnu.org Message-ID: <20031130183443.GA16161@guenegaud.streets> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i From: Christian Mauduit Subject: [liquidwar-user] LW 5.6.0pre1 windows binary X-BeenThere: liquidwar-user@nongnu.org X-Mailman-Version: 2.1.2 Precedence: list Reply-To: liquidwar-user@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Nov 2003 20:12:15 -0000 Hi, I just generated a windows binary containing David's map generator, Kasper's Danish translation, and it also has the "associate maps with textures" feature. This is simply a snapshot reflecting the current CVS state. I generated it mostly for testing, the "official" release should follow when I'm sure there's no bug left 8-) Also, there's still a few items to be translated, AFAIK it's: - the readmedk.txt file (README.dk on UNIX) which lacks the "short description", which is also used for RPMs BTW. - a translation for "Random map" (the label for the button which calls David's generator). Unfortunately, I couldn't manage to launch lwwinmap.exe (the windows name for lwmapgen) from Liquid War for some weird and rather boring technical issues. So I disactivated the button on Windows platform, and one has to launch the program manually instead 8-( I'll try and find a solution but I really have no clue on how to solve this yet... The binary is here: http;//www.ufoot.org/archive/lw560pre1w.zip Have a nice day, Christian. -- Christian Mauduit __/\__ ___ \~/ ~/(`_ \ ___ http://www.ufoot.org/ /_o _\ \ \_/ _ \_ http://www.ufoot.org/gnupg.pub \/ \___/ \__) From MAILER-DAEMON Sun Nov 30 15:13:26 2003 Received: from list by monty-python.gnu.org with archive (Exim 4.24) id 1AQXvw-00050W-It for mharc-liquidwar-user@gnu.org; Sun, 30 Nov 2003 15:12:44 -0500 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AQXvo-0004yB-0p for liquidwar-user@nongnu.org; Sun, 30 Nov 2003 15:12:36 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AQXvF-0004uJ-Sj for liquidwar-user@nongnu.org; Sun, 30 Nov 2003 15:12:32 -0500 Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1AQXvE-0004tP-3Q for liquidwar-user@nongnu.org; Sun, 30 Nov 2003 15:12:00 -0500 Received: from [80.13.172.60] (helo=guenegaud) by mx20.gnu.org with esmtp (Exim 4.24) id 1AQWYI-0005oo-2B for liquidwar-user@nongnu.org; Sun, 30 Nov 2003 13:44:14 -0500 Received: from ufoot by guenegaud with local (Exim 3.35 #1 (Debian)) id 1AQWYG-0004HR-00 for ; Sun, 30 Nov 2003 19:44:12 +0100 Date: Sun, 30 Nov 2003 19:44:12 +0100 To: liquidwar-user@nongnu.org Message-ID: <20031130184412.GA3839@guenegaud.streets> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i From: Christian Mauduit Subject: [liquidwar-user] Woooops X-BeenThere: liquidwar-user@nongnu.org X-Mailman-Version: 2.1.2 Precedence: list Reply-To: liquidwar-user@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Nov 2003 20:12:42 -0000 I made a mistake writing the .zip file URL, correct address should be: http://www.ufoot.org/archive/lw560pre1w.zip Christian. -- Christian Mauduit __/\__ ___ \~/ ~/(`_ \ ___ http://www.ufoot.org/ /_o _\ \ \_/ _ \_ http://www.ufoot.org/gnupg.pub \/ \___/ \__)