Commit graph

118 commits

Author SHA1 Message Date
Bill Currie
35c7916c28 Get the inspector button mostly working thanks to Deek's help. 2010-09-26 16:26:12 +09:00
Bill Currie
36342da9bd Rectirect Sys_Printf's output to the command output box. 2010-09-26 16:24:00 +09:00
Bill Currie
1875a9d500 Work around a method type mismatch in GNUstep. 2010-09-26 13:50:21 +09:00
Bill Currie
1235c3b650 Hopefully fix the flush control and second screen placement. 2010-09-26 13:50:21 +09:00
Bill Currie
d87b338b4e Get help working (for what it is worth). 2010-09-26 13:50:21 +09:00
Bill Currie
b48ce84449 Remove debugging code. 2010-09-26 13:50:21 +09:00
Bill Currie
b141de8d09 Do not use PS* functions. 2010-09-26 13:50:21 +09:00
Bill Currie
940d9613f5 Get TextureView working. 2010-09-26 13:50:21 +09:00
Bill Currie
3c33652dae Get the Z checker working. 2010-09-26 13:50:21 +09:00
Bill Currie
f1c49a6382 KeypairView now seems to work properly. 2010-09-26 13:50:21 +09:00
Bill Currie
1561eac7a4 Don't change the font size when scaling the views.
This keeps the displayed size of the text constant (text size is independent of bounds/frame scaling)
2010-09-26 13:50:21 +09:00
Bill Currie
1262dee2eb Get the keyboard controls working. 2010-09-26 13:50:21 +09:00
Bill Currie
f7fbb663fb Modernize the camera eye glyph drawing. 2010-09-26 13:50:21 +09:00
Bill Currie
b2eb4020d5 Get scaling working in the Z view as well. 2010-09-26 13:50:20 +09:00
Bill Currie
d4d8c50c85 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-09-26 13:50:20 +09:00
Bill Currie
ad0cd004b7 Get scale changes halfway working.
Translation is still wrong, but changing scale to (eg) 200% and back to
100% works correctly.
2010-09-26 13:50:20 +09:00
Bill Currie
380460be82 slow progress in getting things to work 2010-09-26 13:50:20 +09:00
Bill Currie
e5625e169e Get textures sortof displaying. 2010-09-26 13:50:20 +09:00
Bill Currie
5f99251577 Correct alert panel handling. 2010-09-26 13:50:20 +09:00
Bill Currie
f049f9815c Get the textureView connection right. 2010-09-26 13:50:20 +09:00
Bill Currie
c85a0b2f25 Don't segfault when unable to open a file. 2010-09-26 13:50:20 +09:00
Bill Currie
25798e3c35 Get the sizes of the inspectors reasonable.
The inspector popup button is funky (need to select the desirned inspector
twice), but it can be made to work.
2010-09-26 13:50:20 +09:00
Bill Currie
2e30db9888 Get the inspectors showing.
Still can't change them via the pop-up menu, though.
2010-09-26 13:50:19 +09:00
Bill Currie
3af9f1b9f2 Accidently commited a failed experiment. 2010-09-26 13:50:19 +09:00
Bill Currie
077def90f6 Finish the gorm file, for certain values of finished. 2010-09-26 13:50:19 +09:00
Bill Currie
6ede64c663 Camera view seems to work moderately well. 2010-09-26 13:50:19 +09:00
Bill Currie
27ad18de3d Entity loading from maps seems to work. 2010-09-26 13:50:19 +09:00
Bill Currie
60d46127f8 Use QF's wadfile support.
Still fragile, but it can load wad files.
2010-09-26 13:50:19 +09:00
Bill Currie
692d4b9dae Get QUAKED comments working. 2010-09-26 13:50:19 +09:00
Bill Currie
37c2e0937c Get progs source scanning working.
Of course, this is if the environment is set up just right, but it's
another step towards something to fix.
2010-09-26 13:50:18 +09:00
Bill Currie
7b03cd49dc A little more progress: loading a map does not seg. 2010-09-26 13:50:18 +09:00
Bill Currie
eba4402d8e Get map loading sort-of working.
Segfaults, but the Map class can now be instantiated.
2010-09-26 13:50:18 +09:00
Bill Currie
68a55eaf8d Get some screen updates happening. 2010-09-26 13:50:18 +09:00
Bill Currie
f5169fae80 Add \n to Sys_Printf calls. 2010-09-26 13:50:18 +09:00
Bill Currie
923f977835 Make the menus and do some connections. 2010-09-26 13:50:18 +09:00
Bill Currie
3eadc28c7f Make it run.
Fix some bad memory handling in XYView and ZView, and remove the unset
CustomView.
2010-09-26 13:50:18 +09:00
Bill Currie
e4f78ab80b Fixes for building with QF. 2010-09-26 13:50:18 +09:00
Bill Currie
8ffe20ee82 Again, whitespace. 2010-09-26 13:50:18 +09:00
Bill Currie
4d3cd613df For now, build an app rather than a bundle. 2010-09-26 13:50:18 +09:00
Bill Currie
0a9a42e67b Fix some bitrot.
I'm not happy with the fix in Controller.m, but I'm not sure what the best
way to fix it is.
2010-09-26 13:50:18 +09:00
Bill Currie
83182dc218 Initial Gorm file for MapEdit. 2010-09-26 13:50:18 +09:00
Bill Currie
0f426c1c5a Whitespace. 2010-09-26 13:50:18 +09:00
Bill Currie
4d8088efd6 Remove unused file. 2010-09-26 13:50:18 +09:00
Bill Currie
3094e47fb4 Remove some redundant files.
Use the functions provided by QuakeForge.
2010-09-26 13:50:17 +09:00
Bill Currie
0b39795837 Can't use UserPath, so remove these. 2010-09-26 13:50:17 +09:00
Bill Currie
8cf5dc2737 Possibly get preferences working. 2010-09-26 13:50:17 +09:00
Bill Currie
40e39ca77b clean up some XXXs 2010-09-26 13:50:17 +09:00
Bill Currie
0f48dd0807 And the header files. 2010-09-26 13:50:17 +09:00
Bill Currie
931900fbd3 Pass .m files through indent.
The result isn't perfect, but it cleans up the whitespace and makes the
code more consistent with the rest of the project.
2010-09-26 13:50:17 +09:00
Bill Currie
b336ba79f1 Finally, everything does compile.
However, it still won't work (no gorm, commented code, ...).

Borrow an old implementation of the Storage class until I figure out just
what it's being used for.
2010-09-26 13:50:17 +09:00
Bill Currie
71dab805de Add the rest of the files which I know to build. 2010-09-26 13:50:17 +09:00
Bill Currie
44dd62d369 Make MapEdit (QuakeEd) compile.
It won't work yet as there's no gorm file and there's code that has been
commented out, but it finally compiles.
2010-09-26 13:50:17 +09:00
Bill Currie
fe4bf28335 Some compile fixes.
Not enough, but covers Object->NSObject and header file protection.
2010-09-26 13:50:16 +09:00
Bill Currie
0dfff8fd58 ignore stuff 2010-08-07 10:42:09 +00:00
Bill Currie
997102fea8 audit the usage of "only"
There are still a few iffy places (notably around certain prepositions), but
the relevant sentences are now much easier to read.
2010-01-13 06:42:26 +00:00
Bill Currie
4dcc29a136 bloody gcc deciding #import isn't good enough :P 2003-05-06 21:52:58 +00:00
Bill Currie
dccff75f98 don't want to lose this 2003-04-11 23:30:26 +00:00
Bill Currie
29ab911ad4 this might come in handy 2003-03-18 19:49:23 +00:00
Bill Currie
48a5ad0d36 my WIP on porting QuakeEd to GNUstep/QuakeForge 2003-03-18 19:48:24 +00:00
Bill Currie
106fb77eb3 need AppKit/NSImage.h now 2003-02-25 20:54:24 +00:00
Jeff Teunissen
caf9d820c1 Forge updates. Forge now saves, but does not load (heh) projects. 2002-07-06 03:00:28 +00:00
Jeff Teunissen
3edc57ef93 Forge updates. Compiles with latest GNUstep CVS, may not work with current
release (but should).

The interface is no longer defined in code -- it loads it from a .gorm file.

The code is a lot cleaner, and I'm working on project management again.
Generally, I'm having a lot of fun. :)
2002-05-26 11:24:00 +00:00
Jeff Teunissen
29c68732c0 More Forge stuff.
Forge now loads the bundles in its resources first, and then loads the
bundles from the User, Local, Network, and System library directories,
in that order -- if it is told to by the defaults system.

Also, the MainPrefs class has some new options, to control what
directories Forge loads bundles from.
2002-01-26 22:09:15 +00:00
Jeff Teunissen
8ef321e2e8 Forge updates -- an icon for .forge files, some app info updates, and a
nib-loading fix for MainPrefs.
2002-01-26 05:13:25 +00:00
Jeff Teunissen
9585b6af92 Forge updates. Preferences is no more, since each bundle will have its
own prefs anyway. The "sample" bundle MainPrefs is more complete, and is
now loading its interface from a .gorm file -- this would be a .nib on
NeXTstep or Mac OS X, and it should be ready to run on those OSes
already -- since it doesn't do much. :)
2002-01-25 08:45:28 +00:00
Jeff Teunissen
abf73ea80a Support nibs in MainPrefs. 2002-01-04 20:31:53 +00:00
Jeff Teunissen
74e2f63188 *** empty log message *** 2001-11-28 23:44:26 +00:00
Jeff Teunissen
9c92717c15 The beginnings of bundle-loading support Scary, but it seems to work! 2001-11-21 18:47:08 +00:00