Commit graph

25 commits

Author SHA1 Message Date
Jeff Teunissen
fb785c334b 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-09-29 16:09:11 -04:00
Jeff Teunissen
ec0c37ee82 Add type information, don't return self most of the time
Start "modernizing" the code base; old code is based heavily in the
Smalltalk style, where everything that doesn't return a different object
returns self. This can be useful, but it isn't what is usually done these
days. Also, add type information (which didn't exist in "the old days" --
an object was an "id", not a "Foo *") to help with debugging.
2010-09-28 15:43:35 -04:00
Jeff Teunissen
ad6e799981 signed/unsigned and some const-correctness 2010-09-28 12:13:25 -04:00
Bill Currie
d13e2aeded Char buffer audit.
Get rid of most static char buffers. The few remaining are either in file
structs or messy code that needs further analysis.
2010-09-28 21:40:11 +09:00
Bill Currie
7c2709e8f8 Do a const-correct run. 2010-09-28 18:41:38 +09:00
Bill Currie
d8858c29e3 Echo the output to stdout as well as the output box. 2010-09-27 22:06:37 +09:00
Bill Currie
530ed45655 Get the timing write for when to restore the rects. 2010-09-27 19:42:28 +09:00
Bill Currie
d894034ab1 Replace PS*instance.
It's a little flakey (doesn't always do the right thing), but it's a good
start. I'd like to do much smaller rectangles, and get the timing right.
2010-09-26 22:43:24 +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
1235c3b650 Hopefully fix the flush control and second screen placement. 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
5f99251577 Correct alert panel handling. 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
6ede64c663 Camera view seems to work moderately well. 2010-09-26 13:50:19 +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
e4f78ab80b Fixes for building with QF. 2010-09-26 13:50:18 +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
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
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
48a5ad0d36 my WIP on porting QuakeEd to GNUstep/QuakeForge 2003-03-18 19:48:24 +00:00