Commit graph

6843 commits

Author SHA1 Message Date
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
fdede64b4b ignore app files 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
43a9232787 Add a function for retreiving the parsed token.
Saves having to reach into the token's dstring (script->token->str was
getting annoying).
2010-11-28 15:31:30 +09:00
Bill Currie
ac88c86dd3 Scripts now treat {}()': as single character tokens. 2010-11-28 15:31:30 +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
32bf4aed2b get the message name right 2010-11-28 14:36:21 +09:00
Bill Currie
98a5d591d5 Don't read past the end of a sub-file.
This fixes a libvobis streaming problem with vorbis files within pak files.
2010-11-28 11:28:44 +09:00
Bill Currie
341726afb9 Reimplement Qgets using Qgetc. 2010-11-28 11:18:07 +09:00
Bill Currie
813e2010da Some basic documentation on the QuakeForge file system. 2010-11-27 20:56:32 +09:00