Game Development Community

Plan for Coleman Nitroy

by Coleman Nitroy · 12/16/2004 (7:48 pm) · 3 comments

Work on the CSG Map editor for OSX continues.

Current thoughts on it:
COCOA RULES!
Seriously though, cocoa + osx + objc = something truly amazing. I am doing stuff in mear minutes that would take hours otherwise. Seriously minutes. I will even come back and scratch my head and say "did I finish that already? I must have done that a few hours ago"

While I have the map files loaded into memory and parsed out nicely, cocoa works a bit differently due to interacting with a GUI which is also rather new to me so I have to completely rework the parsing code to support a nice node tree style. This will make it easier to access the data across windows / panels and other interface elements without having to pass data all over the place. Once I have this node tree structure I will toss it into a outline view which I already have coded, I just need the datasource now, that will show in a nice outline entities their brushes and their faces and possibly properties and their values or maybe selecting the object will show in another inspector type panel its properties for editing. After this is done I will add some icons to prefix certain things, brushes will have a cube like icon and so on. Adding brushes and entities will be easy because I already wrote the code the does this. If an entitie is selected create a new brush underneith it, if a brush is selected create a new face underneith it. Its great and so easy to do and so modular I did not need any of the datasource that I have yet to get the parsing working on yet.

Enough talk about what I Will be doing and more talk about what I have done.

Here is a screenshot of the preferences window. Other then this window I have a Map information window which displays number of brushes, faces, textures used, and entities. But its late and I am lazy so I will only show one screenshot of the best looking preference tab that actually works and loads user defaults etc..etc..

www.nitroy.com/cole/Files/Temp/mapEditor.png
And if any good cocoa hackers out there can come up with a good way to store this to be easily accessed across the app and especially in an NSOutlineView I would love some input.

www.nitroy.com/cole/Files/Temp/mapfile.png
Stuff to have done for next week:
finish unfinished stuff from this week.
tie all exhisting panels into app properly
add more preferences and get main editor gui drawn on paper (ideas welcome)
more math research on the workings of CSG drawing.

#1
12/16/2004 (9:17 pm)
Sweet!!!!






#2
12/16/2004 (9:53 pm)
This will be most welcome, if you finish the project!

Also, I have to agree with you that with Cocoa you can create stuff extremely fast... I was at a Apple event yesterday (Tiger tech talk), and I haven't realized how cool Cocoa was until now.
... now I just need to learn Obj-C :)

but back your plan, great work and I'm really looking forward to see what will happen with this project in the future.
#3
12/17/2004 (12:13 am)
If your looking for examples of map editors in C/C++, check out these :

Quest3D (dated quake*/etc map editor for amiga/dos/linux) :
www-i6.informatik.rwth-aachen.de/Colleagues/kanthak/Quest/quest.html
quest-ed.sourceforge.net/

Qoole (quake*/etc map editor for windows)
www.volved.com/qsr/

Tread3D (quake*/etc map editor for windows)
www.planetquake.com/tread/

Radiant (quake*/etc map editor for windows, linux, and possibly mac)
www.qeradiant.com

NOTE: all these editors include sourcecode in one form or another, with varying licensing restrictions.