Bill Currie
6cb3d18fc4
Use a hash table for finding entities.
...
This gives a major speed boost :)
2011-04-09 18:32:29 +09:00
Bill Currie
2bddcefafe
Allow up to 64 faces on a brush.
...
This is temporary until unlimited faces can be supported, but it's
sufficient to load mappi.map.
2011-03-29 12:46:49 +09:00
Bill Currie
d29e8deb0a
Use Qprintf for writing maps, and fileSystemRepresentation to get the path.
2010-12-27 23:18:43 +09:00
Bill Currie
0e8d6d896f
Do a bit of comment cleanup.
2010-11-28 15:31:40 +09:00
Bill Currie
cb970bddce
Can now copy brushes.
...
Implement SetBrush's copyWithZone:
2010-11-28 15:31:40 +09:00
Bill Currie
d75f5f3f79
Fix brush selection.
...
The great cleanup caused a few vital returns to disappear (they probably
went to the same place a lot of my lego did).
2010-11-28 15:31:39 +09:00
Bill Currie
1928780af6
Support Quests' map format.
...
This is mostly because I have a few maps in this format.
2010-11-28 15:31:39 +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
Jeff Teunissen
cdc79ae6f8
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-11-28 15:31:38 +09:00
Jeff Teunissen
7dc5d26480
SetBrush: signed/unsigned fix
2010-11-28 15:31:37 +09:00
Bill Currie
62c73b300e
Fix the tangled mess of entity connections.
...
What was the person who wrote valueForQKey thinking? Make the function
const-correct and bubble the changes through the code.
2010-11-28 15:31:37 +09:00
Bill Currie
9cc66c3de1
A bit more code cleanup.
2010-11-28 15:31:36 +09:00
Bill Currie
950af620bc
Get the Z checker working.
2010-11-28 15:31:35 +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
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
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