Bill Currie
fb65cd2b44
Cache needed fonts.
...
Obtaining a font has become rather expensive in recent gnustep, so cache
fonts, obtaining new ones only when needed rather than every redraw. Makes
things snappy again :)
2011-04-16 12:17:23 +09:00
Bill Currie
97e8ab7f3a
A bunch more NSString and NSFileManager usage.
...
It does make for cleaner could, though it would have been nice if NSData
was null terminated :P
2010-12-26 22:33:04 +09:00
Bill Currie
478ef21de0
Add some view opacity.
2010-11-28 15:31:40 +09:00
Bill Currie
0e8d6d896f
Do a bit of comment cleanup.
2010-11-28 15:31:40 +09:00
Jeff Teunissen
0e5cd14829
tactical whitespace bomb
...
Add return-type information to all methods, split up lines properly where
I could find them, and ran the whole thing through uncrustify. Looks purty
now. :)
2010-11-28 15:31:38 +09:00
Bill Currie
dcc4187a8c
Get the timing write for when to restore the rects.
2010-11-28 15:31:36 +09:00
Bill Currie
9cc66c3de1
A bit more code cleanup.
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
73b89ba0b8
Do not use PS* functions.
2010-11-28 15:31:36 +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
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
7d5af7c341
Finish the gorm file, for certain values of finished.
2010-11-28 15:31:34 +09:00
Bill Currie
4fdc34ea86
Get some screen updates happening.
2010-11-28 15:31:34 +09:00
Bill Currie
e959a6ee3c
Add \n to Sys_Printf calls.
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
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
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
4dcc29a136
bloody gcc deciding #import isn't good enough :P
2003-05-06 21:52:58 +00:00
Bill Currie
48a5ad0d36
my WIP on porting QuakeEd to GNUstep/QuakeForge
2003-03-18 19:48:24 +00:00