From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20537 invoked by alias); 24 Nov 2003 02:16:00 -0000 Mailing-List: contact xconq7-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: xconq7-owner@sources.redhat.com Received: (qmail 20525 invoked from network); 24 Nov 2003 02:15:59 -0000 Received: from unknown (HELO mta10.adelphia.net) (68.168.78.202) by sources.redhat.com with SMTP; 24 Nov 2003 02:15:59 -0000 Received: from Win2k ([68.169.251.17]) by mta10.adelphia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20031124021602.ODCZ1464.mta10.adelphia.net@Win2k>; Sun, 23 Nov 2003 21:16:02 -0500 From: "Erik Jessen" To: "'Hans Ronne'" Cc: Subject: RE: Xconq testing: Win2K Date: Mon, 24 Nov 2003 02:27:00 -0000 Message-ID: <000801c3b231$fdcbf650$6401a8c0@Win2k> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-SW-Source: 2003/txt/msg00915.txt.bz2 -----Original Message----- From: Hans Ronne [mailto:hronne@comhem.se] Sent: Sunday, November 23, 2003 5:25 PM To: Erik Jessen Cc: xconq7@sources.redhat.com Subject: Re: Xconq testing: Win2K >Recommendations: >1) somehow ignore the invalid terrain cleanly; new users are bound to >mess things up, and internal errors will throw them for a loop. Sounds like a reasonable idea, but I'm not sure how to implement it. Perhaps force undefined terrian to type 0 (ocean)? -> is there any way to just not even stick it into the database when read? >Notes/thoughts: >1) since (I think) all games are supposed to be stored in 'lib', have >the 'open file' button default to starting there. How open file dialogs work is usually determined by the OS. On the Mac, it will remember where you poked around the last time and go there. Which is frequently (but not always) the lib folder. -> OK. Not much we can do. >2) I am working on the model of: > a) a 'standard config' file that declares all terrain types & unit >types > and their interactions. This is normally hand-typed. > b) a map file. This is normally entered via gui, and saved "binary". > c) a unit placement file (scenario, if you will). This is normally > entered via gui, but might be hand-edited, and saved "binary". > d) a 'game' is a small file that pulls all of the above together. > This permits a map of W. Europe to be used for various eras, and > Set of standard "modern" units to be used in various campaigns. > > This allows the following to be done: > - create a single config file that describes Ancient Rome. > - create maps for each battlefield > - create various unit deployments for each battle This sounds like an interesting project. Reusable maps etc. is a good idea. BTW, if anybody wants to make a Gulf War game my ancient near east map is an excellent starting point. > I would really, really like an easy way to save off the map & >unit-placement as separate files in the GUI; it's been a while, but I >recall that it was really complicated to save off just what one wanted >to each file. That is possible. Just uncheck "Save all" in the designer save dialog and then check whatever you want to save in a specific file ("world", "terrain" or "units" for example). -> it is doable, it's just that the 'save all' screen needs a help button, or more text next to each check-box. The text is probably the best; there's no reason to have a small popup - it's a save-menu, after all. >I would also like to be able to strip out a specific terrain-type, in >case I bungled the job & created an extra few early on, and would like >to clean things up. Maybe the ability of the map-save function to not >list any terrain for which there were no placements would do this >perfectly? Not sure what you mean here. Do you want to convert one terrain type to another automatically? That cannot be done at present. -> no, for example let's say I created terrain-type 'village', then didn't use any of them on the map. Or, I would like to take a 1991-Gulf map, and use it for an 'ancients' game. I'd like all the 'airport' hexes to convert to something else, or just disappear. Right now, it's a manual process of editing the GUI. Maybe what's needed is a side-program where one can load the GDL file, and just say "replace terrain X with terrain type Y". Right now, things are saved in a binary format, and it's a mess to parse. Of course, I could write one, but I only know Perl, and then that means yet another language to support... >I am hoping that the approach listed in (2) will encourage newcomers to >build new games: the normal game will be pretty small (because it'll >just include in 3 larger files), so the user will only have to edit one >or two >Of the file to create new games from existing ones. > >For power users, it would be nice if there was an easy way to do >things like: >- shift a particular region of the map up/left/right/down/mirror. >- enlarge the map on any side(s) >- shrink the map (deleting terrain that fell off the face of the earth) Resizing and moving the map (or world) is possible in the Mac designer save dialog, which has a special reshape world button. There you can also decide how previously undefined terrain should be filled. I know this is not much use to non-Mac users, but it shows it can be done. I may port this stuff to tcltk, but only after 7.5 is done. >It sure would be handy if there was a way to keep the 'design' popup >always s on top of the map, or better - make it into a pane. >It's always disappearing, and I have to go find it on the toolbar. Again, this is how the Mac interface works. Maybe you should get yourself a Mac :-). --> Yeah, yeah, yeah. I actually heard of some companies that are switching 100% off of Win*** to Mac, because the hardware costs more, but the overall support cost is lower. Seriously, though, support for floating windows is not that great in tcltk. The research dialog, which pops up and refuses to go to the back if all that remains to be done is to pick a research subject, is my attempt to make a flaoting window in tcltk. It does the job but is rather clunky, and it took a lot of coding to get there. And even if I made a floating tcltk designer window, it would probably keep the focus as long as it stays in front. Meaning that you would not be able to edit the map. --> OK. How about putting the Design popup into a pane, instead? Then it's not a popup? Hans