Commit graph

188 commits

Author SHA1 Message Date
Bill Currie
cfa13f1caa Work around a method type mismatch in GNUstep. 2010-11-28 15:31:36 +09:00
Bill Currie
c1fac2cc8a Hopefully fix the flush control and second screen placement. 2010-11-28 15:31:36 +09:00
Bill Currie
ec98bb3b93 Get help working (for what it is worth). 2010-11-28 15:31:36 +09:00
Bill Currie
4b1202d6e6 Remove debugging code. 2010-11-28 15:31:36 +09:00
Bill Currie
73b89ba0b8 Do not use PS* functions. 2010-11-28 15:31:36 +09:00
Bill Currie
4dd0bf5804 Get TextureView working. 2010-11-28 15:31:35 +09:00
Bill Currie
950af620bc Get the Z checker working. 2010-11-28 15:31:35 +09:00
Bill Currie
6509a24a54 KeypairView now seems to work properly. 2010-11-28 15:31:35 +09:00
Bill Currie
c0236955f2 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-11-28 15:31:35 +09:00
Bill Currie
6be1f516f6 Get the keyboard controls working. 2010-11-28 15:31:35 +09:00
Bill Currie
27fdf21120 Modernize the camera eye glyph drawing. 2010-11-28 15:31:35 +09:00
Bill Currie
91751d9fbb Get scaling working in the Z view as well. 2010-11-28 15:31:35 +09:00
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
Bill Currie
e2f8490f9a Get scale changes halfway working.
Translation is still wrong, but changing scale to (eg) 200% and back to
100% works correctly.
2010-11-28 15:31:35 +09:00
Bill Currie
7f5a68023b slow progress in getting things to work 2010-11-28 15:31:35 +09:00
Bill Currie
a229f20525 Get textures sortof displaying. 2010-11-28 15:31:35 +09:00
Bill Currie
e15b963279 Correct alert panel handling. 2010-11-28 15:31:35 +09:00
Bill Currie
0d5bd775cb Get the textureView connection right. 2010-11-28 15:31:35 +09:00
Bill Currie
752ff7d879 Don't segfault when unable to open a file. 2010-11-28 15:31:35 +09:00
Bill Currie
43d2d9645d 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-11-28 15:31:35 +09:00
Bill Currie
0de8e3806d Get the inspectors showing.
Still can't change them via the pop-up menu, though.
2010-11-28 15:31:34 +09:00
Bill Currie
3193374257 Accidently commited a failed experiment. 2010-11-28 15:31:34 +09:00
Bill Currie
7d5af7c341 Finish the gorm file, for certain values of finished. 2010-11-28 15:31:34 +09:00
Bill Currie
b215a5e856 Camera view seems to work moderately well. 2010-11-28 15:31:34 +09:00
Bill Currie
f8ce05d862 Entity loading from maps seems to work. 2010-11-28 15:31:34 +09:00
Bill Currie
f6ebcd45ac Use QF's wadfile support.
Still fragile, but it can load wad files.
2010-11-28 15:31:34 +09:00
Bill Currie
972e98ec09 Get QUAKED comments working. 2010-11-28 15:31:34 +09:00
Bill Currie
c820735dd3 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-11-28 15:31:34 +09:00
Bill Currie
a2ab1c81ce A little more progress: loading a map does not seg. 2010-11-28 15:31:34 +09:00
Bill Currie
0e4259361c Get map loading sort-of working.
Segfaults, but the Map class can now be instantiated.
2010-11-28 15:31:34 +09:00
Bill Currie
4fdc34ea86 Get some screen updates happening. 2010-11-28 15:31:34 +09:00
Jeff Teunissen
ef7492f5cf correct fix for ForgeBundle protocol issue 2010-11-28 15:31:33 +09:00
Jeff Teunissen
3dcfd69b50 Update makefile's add'l install dirs
This rule would create the raw path /Library/Forge three times...fix it to
create Forge dirs with the new scheme.
2010-11-28 15:31:33 +09:00
Bill Currie
e959a6ee3c Add \n to Sys_Printf calls. 2010-11-28 15:31:33 +09:00
Bill Currie
9ffcc8658d Make the menus and do some connections. 2010-11-28 15:31:33 +09:00
Bill Currie
7f41d1529b Make it run.
Fix some bad memory handling in XYView and ZView, and remove the unset
CustomView.
2010-11-28 15:31:33 +09:00
Bill Currie
44942df87f Fixes for building with QF. 2010-11-28 15:31:33 +09:00
Bill Currie
9ec5310ed7 Again, whitespace. 2010-11-28 15:31:33 +09:00
Bill Currie
6500333e91 For now, build an app rather than a bundle. 2010-11-28 15:31:33 +09:00
Bill Currie
f25754813e 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-11-28 15:31:33 +09:00
Bill Currie
81a3eaf93e Initial Gorm file for MapEdit. 2010-11-28 15:31:32 +09:00
Bill Currie
b5f5ad6ce2 Whitespace. 2010-11-28 15:31:32 +09:00
Bill Currie
7ebb7c503b Remove unused file. 2010-11-28 15:31:32 +09:00
Bill Currie
e93bb3fb69 Remove some redundant files.
Use the functions provided by QuakeForge.
2010-11-28 15:31:31 +09:00
Bill Currie
e84574400d Can't use UserPath, so remove these. 2010-11-28 15:31:31 +09:00
Bill Currie
6e3df2c68d Possibly get preferences working. 2010-11-28 15:31:31 +09:00
Bill Currie
3e3d8cc9cd clean up some XXXs 2010-11-28 15:31:31 +09:00
Bill Currie
c1e2d4c17a And the header files. 2010-11-28 15:31:31 +09:00
Bill Currie
d23300d58b 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-11-28 15:31:31 +09:00
Bill Currie
d3a12ee727 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-11-28 15:31:31 +09:00
Bill Currie
ddc493d657 Add the rest of the files which I know to build. 2010-11-28 15:31:31 +09:00
Bill Currie
767d871fb8 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-11-28 15:31:31 +09:00
Bill Currie
032f16d1b3 Some compile fixes.
Not enough, but covers Object->NSObject and header file protection.
2010-11-28 15:31:30 +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
Bill Currie
5f54a1931b fix an unused enum warning missed by gcc 3.0 2002-07-06 02:22:15 +00:00
Jeff Teunissen
26cda3214a Forge: partial support for projects. Very (VERY!) incomplete. 2002-05-29 11:21:25 +00:00
Jeff Teunissen
6c9c62139a Forge updates: Windows are now remembered and stuff is in general a bit
cleaner. Committing this so that the stuff I'm about to write won't totally
fubar everything. :)
2002-05-29 07:13:42 +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
74990f48ef Testing it again. Closes: #35 2002-05-03 04:42:26 +00:00
Jeff Teunissen
536418a552 Testing my fix... 2002-05-03 04:41:53 +00:00
Jeff Teunissen
527c1bc5d1 testing. Closes: #35 2002-05-03 04:31:32 +00:00
Jeff Teunissen
2e2d2e2aa7 grr. Closes: #35 2002-05-03 04:25:33 +00:00
Jeff Teunissen
cd7f26ee0a grr. Closes: #35 2002-05-03 04:14:28 +00:00
Jeff Teunissen
62148023f3 AGAIN. Closes: #35 2002-05-03 04:10:16 +00:00
Jeff Teunissen
9e2995997b again. Closes: Bug#35 2002-05-03 04:07:06 +00:00
Jeff Teunissen
a6231fd977 one more time. Closes: Bug#35 2002-05-03 04:06:19 +00:00
Jeff Teunissen
6481b043e2 boo. Closes: 35 2002-05-03 04:00:53 +00:00
Jeff Teunissen
58dcd96966 ?? (Closes: Bug#35) 2002-05-03 03:59:40 +00:00
Jeff Teunissen
4bacf36bf3 grr. Closes: #35 2002-05-03 03:49:44 +00:00
Jeff Teunissen
4423e6fbb7 One more time... Closes: #35 2002-05-03 03:48:28 +00:00
Jeff Teunissen
a47997bee7 Okay, this'd better work. Closes: #35 2002-05-03 03:46:38 +00:00
Jeff Teunissen
30f359f5c3 testing AGAIN. Closes: Bug#35 2002-05-03 03:39:49 +00:00
Jeff Teunissen
6d8cb67c18 testing again. Closes: Bug#35 2002-05-03 03:33:54 +00:00
Jeff Teunissen
caacd27808 Testing again. Closes: #35 2002-05-03 03:28:21 +00:00
Jeff Teunissen
5a1a2287f6 Doesn't do anything more, just looks a little prettier. Closes: #35 2002-05-03 03:13:12 +00:00
Jeff Teunissen
b871c678f4 test commit. 2002-05-01 20:26:47 +00:00
Jeff Teunissen
98f8642081 Oops. Well, I fscked that one up. It's fixed now. 2002-01-28 21:22:21 +00:00
Jeff Teunissen
418f922f0f Minor Forge updates, clearing out the backlog so I can do some more
development.
2002-01-28 15:23:13 +00:00
Jeff Teunissen
7ea87aa47a oops. Actually commit the new document icon this time. 2002-01-28 03:39:15 +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
4c8154a224 commit mods before I nuke the file. 2002-01-25 08:38:17 +00:00
Jeff Teunissen
2e3c1a55c6 some minor Forge updates. 2002-01-14 15:06:00 +00:00
Jeff Teunissen
abf73ea80a Support nibs in MainPrefs. 2002-01-04 20:31:53 +00:00
Jeff Teunissen
d16ab6eed0 Forge: stuff I did only partially. 2001-11-29 01:02:39 +00:00
Jeff Teunissen
a7dfe849fd Forge updates. The app controller now has methods for bundles to call,
to register functionality with the app.
2001-11-28 23:46:37 +00:00
Jeff Teunissen
74e2f63188 *** empty log message *** 2001-11-28 23:44:26 +00:00
Jeff Teunissen
83a778467c Preferences.m: function scoping fixes (static is your friend).
rest: bundle loading. It's alive! Alive, I tell you! Mwahahahaha!
...
uhh...

* Deek hides the bodies
2001-11-22 07:28:01 +00:00
Jeff Teunissen
84bb78abe4 Nuke some stuff from .gitignore 2001-11-21 22:30:32 +00:00
Jeff Teunissen
acddb949e3 Nuking the configure stuff. There's no need for it yet, maybe not ever.
Add some flags (-Wall -Werror) to GNUmakefile.preamble.
Fix some stuff -Wall found.
2001-11-21 22:22:14 +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
Jeff Teunissen
9f1f89f8f1 Forge: New -- a preferences panel. Doesn't do anything yet, but that's
only because I haven't created the main prefs view class yet. Trust me,
it's going to work. I think. :)

Anyway, what code there is works, and is linked into the menu -- just
hit Info -> Preferences... to see it.
2001-11-12 14:15:20 +00:00