[Gtkradiant] [Bug 459] New: File/New Project fixes
gtkradiant@zerowing.idsoftware.com
gtkradiant@zerowing.idsoftware.com
Wed, 27 Mar 2002 15:13:18 -0600
http://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=459
Summary: File/New Project fixes
Product: GtkRadiant
Version: 1.3-nightly
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: editor
AssignedTo: ttimo@idsoftware.com
ReportedBy: hydra@hydras-world.com
Ok, so the old file/new project is totally poop if you want to create a new poject for a mod that you already have installed because it attempts to create the mod directory and if it already exists it just gives you an error and gives up.
The attached patch changes the functionality so that the user is asked for a new poject name (as before), then when radiant tries to create the directory, and fails it will prompt the user with "failed to create driectory <dirname>, continue anyway ?"
If they select yes then the subdirectories are created underneath the mod dir and the scripts/<mod>.proj is created as usual.
In addition to this we DON'T update the "basepath" any more and instead we set "gamename" (fs_game) to the name of the mod/project name that the user entered.
This greatly simplifies the whole process of starting to map for a mod.
Enjoy!
------- You are receiving this mail because: -------
Whoops! I have no idea!