quakeforge/tools/Forge/Bundles/MapEdit
Bill Currie a0201728d9 Finally have the scaling working perfectly(?).
I had to hack around problems in GNUstep's bounds implementation (I don't
know if they're bugs or design limitations), but the fix was just a matter
of making sure the bounds matrix was correct: force the scale to 1 before
adjusting bounds, and then make sure the translation is scaled afterwards.
2010-11-28 15:31:35 +09:00
..
MapEdit.gorm slow progress in getting things to work 2010-11-28 15:31:35 +09:00
CameraView.h Again, whitespace. 2010-11-28 15:31:33 +09:00
CameraView.m Get some screen updates happening. 2010-11-28 15:31:34 +09:00
Clipper.h Again, whitespace. 2010-11-28 15:31:33 +09:00
Clipper.m Finish the gorm file, for certain values of finished. 2010-11-28 15:31:34 +09:00
Dict.h Whitespace. 2010-11-28 15:31:32 +09:00
Dict.m Pass .m files through indent. 2010-11-28 15:31:31 +09:00
DictList.h Get map loading sort-of working. 2010-11-28 15:31:34 +09:00
DictList.m Get map loading sort-of working. 2010-11-28 15:31:34 +09:00
Entity.h Get map loading sort-of working. 2010-11-28 15:31:34 +09:00
Entity.m Entity loading from maps seems to work. 2010-11-28 15:31:34 +09:00
EntityClass.h Get map loading sort-of working. 2010-11-28 15:31:34 +09:00
EntityClass.m Get QUAKED comments working. 2010-11-28 15:31:34 +09:00
GNUmakefile Accidently commited a failed experiment. 2010-11-28 15:31:34 +09:00
GNUmakefile.bundle For now, build an app rather than a bundle. 2010-11-28 15:31:33 +09:00
GNUmakefile.preamble For now, build an app rather than a bundle. 2010-11-28 15:31:33 +09:00
help.txt audit the usage of "only" 2010-01-13 06:42:26 +00:00
InspectorControl.h Get the inspectors showing. 2010-11-28 15:31:34 +09:00
InspectorControl.m Get the sizes of the inspectors reasonable. 2010-11-28 15:31:35 +09:00
jrbase1.map my WIP on porting QuakeEd to GNUstep/QuakeForge 2003-03-18 19:48:24 +00:00
KeypairView.h Whitespace. 2010-11-28 15:31:32 +09:00
KeypairView.m Finish the gorm file, for certain values of finished. 2010-11-28 15:31:34 +09:00
Map.h Get map loading sort-of working. 2010-11-28 15:31:34 +09:00
Map.m Don't segfault when unable to open a file. 2010-11-28 15:31:35 +09:00
misc.m Pass .m files through indent. 2010-11-28 15:31:31 +09:00
PopScrollView.h Again, whitespace. 2010-11-28 15:31:33 +09:00
PopScrollView.m slow progress in getting things to work 2010-11-28 15:31:35 +09:00
Preferences.h Again, whitespace. 2010-11-28 15:31:33 +09:00
Preferences.m Get progs source scanning working. 2010-11-28 15:31:34 +09:00
Project.h Again, whitespace. 2010-11-28 15:31:33 +09:00
Project.m Correct alert panel handling. 2010-11-28 15:31:35 +09:00
qedefs.h And the header files. 2010-11-28 15:31:31 +09:00
quake.qpr my WIP on porting QuakeEd to GNUstep/QuakeForge 2003-03-18 19:48:24 +00:00
QuakeEd.gmodel audit the usage of "only" 2010-01-13 06:42:26 +00:00
QuakeEd.h Get some screen updates happening. 2010-11-28 15:31:34 +09:00
QuakeEd.m Correct alert panel handling. 2010-11-28 15:31:35 +09:00
QuakeEd_main.m Get some screen updates happening. 2010-11-28 15:31:34 +09:00
readme.txt my WIP on porting QuakeEd to GNUstep/QuakeForge 2003-03-18 19:48:24 +00:00
render.h And the header files. 2010-11-28 15:31:31 +09:00
render.m Pass .m files through indent. 2010-11-28 15:31:31 +09:00
SetBrush.h Again, whitespace. 2010-11-28 15:31:33 +09:00
SetBrush.m Get progs source scanning working. 2010-11-28 15:31:34 +09:00
Storage.h Again, whitespace. 2010-11-28 15:31:33 +09:00
Storage.m Pass .m files through indent. 2010-11-28 15:31:31 +09:00
TexturePalette.h Whitespace. 2010-11-28 15:31:32 +09:00
TexturePalette.m Camera view seems to work moderately well. 2010-11-28 15:31:34 +09:00
TextureView.h Again, whitespace. 2010-11-28 15:31:33 +09:00
TextureView.m Get textures sortof displaying. 2010-11-28 15:31:35 +09:00
THING+NSArray.m Get map loading sort-of working. 2010-11-28 15:31:34 +09:00
Things.h Whitespace. 2010-11-28 15:31:32 +09:00
Things.m Finish the gorm file, for certain values of finished. 2010-11-28 15:31:34 +09:00
XYView.h slow progress in getting things to work 2010-11-28 15:31:35 +09:00
XYView.m Finally have the scaling working perfectly(?). 2010-11-28 15:31:35 +09:00
ZScrollView.h Whitespace. 2010-11-28 15:31:32 +09:00
ZScrollView.m slow progress in getting things to work 2010-11-28 15:31:35 +09:00
ZView.h slow progress in getting things to work 2010-11-28 15:31:35 +09:00
ZView.m slow progress in getting things to work 2010-11-28 15:31:35 +09:00

5/18/96

This is a dump of the current source code for QuakeEd, our map editing application.

This does not include everything necessary to build maps.  There are graphics files, prog files, and other utilities needed.  I plan on releasing a full development set of tools after the game ships.  This is just intended to help out anyone working on their own map editor.

This is a NEXTSTEP application, so hardly anyone is going to be able to use the code as is.  This is not an OPENSTEP application.  It doesn't even use the foundation kit, so porting to gnustep or openstep-solaris/mach/nt would not be trivial.

There are lots of mixed case and >8 character filenames, so I'm using unix gnutar (compressed) format.

Because most people won't have access to a NEXTSTEP machine, I took pictures of some of the more important stuff from interface builder:

mainwindow.tiff	: a screenshot of the primary window
inspectors.tiff : a screenshot of the important inspector views
help.txt		: a dump of the (minimal) help inspector's contents.

I included some sample data to help you follow the code:

quake.qpr		: our current project file
jrbase1.map 	: a sample map
triggers.qc		: a sample qc source file that includes some /*QUAKED comments

There will not be any major changes to this code base.  I am eagerly looking forward to writing a brand new editor for windows NT + open GL as soon as Quake ships.

This application was really not a very good fit for NEXTSTEP.  The display postscript model fundamentally doesn't fit very well with what we need here -- if you run in an 8 bit color mode, the line drawing runs at an ok speed, but the texture view goes half the speed it should as it dithers from 24 bit color down to 8 bit.  If you run in 24 bit color mode, you get less screen real estate and significantly slower line drawing as a 3 megabyte XY view is flushed.  Sigh.  If anyone does actually run this on NEXTSTEP be advised that you want a fast machine.  I never had the time to properly optimize QuakeEd.

The texture view rendering code in here is crap.  Anyone coding a new editor is strongly advised to just use an available optimized library, like open GL or direct 3D.


John Carmack
Id Software
johnc@idsoftware.com