Commit graph

6743 commits

Author SHA1 Message Date
Bill Currie
37c2e0937c 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-09-26 13:50:18 +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
Jeff Teunissen
2d403391b5 correct fix for ForgeBundle protocol issue 2010-09-26 13:50:18 +09:00
Jeff Teunissen
f980ae0558 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-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
923f977835 Make the menus and do some connections. 2010-09-26 13:50:18 +09:00
Bill Currie
cb9c911e7f ignore app files 2010-09-26 13:50:18 +09:00
Bill Currie
3eadc28c7f Make it run.
Fix some bad memory handling in XYView and ZView, and remove the unset
CustomView.
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
8ffe20ee82 Again, whitespace. 2010-09-26 13:50:18 +09:00
Bill Currie
4d3cd613df For now, build an app rather than a bundle. 2010-09-26 13:50:18 +09:00
Bill Currie
0a9a42e67b 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-09-26 13:50:18 +09:00
Bill Currie
83182dc218 Initial Gorm file for MapEdit. 2010-09-26 13:50:18 +09:00
Bill Currie
0f426c1c5a Whitespace. 2010-09-26 13:50:18 +09:00
Bill Currie
4d8088efd6 Remove unused file. 2010-09-26 13:50:18 +09:00
Bill Currie
3094e47fb4 Remove some redundant files.
Use the functions provided by QuakeForge.
2010-09-26 13:50:17 +09:00
Bill Currie
0b39795837 Can't use UserPath, so remove these. 2010-09-26 13:50:17 +09:00
Bill Currie
8cf5dc2737 Possibly get preferences working. 2010-09-26 13:50:17 +09:00
Bill Currie
40e39ca77b clean up some XXXs 2010-09-26 13:50:17 +09:00
Bill Currie
0f48dd0807 And the header files. 2010-09-26 13:50:17 +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
71dab805de Add the rest of the files which I know to build. 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
7dc1ccdbea Add a function for retreiving the parsed token.
Saves having to reach into the token's dstring (script->token->str was
getting annoying).
2010-09-26 13:50:17 +09:00
Bill Currie
827d0d0ad6 Scripts now treat {}()': as single character tokens. 2010-09-26 13:50:17 +09:00
Bill Currie
fe4bf28335 Some compile fixes.
Not enough, but covers Object->NSObject and header file protection.
2010-09-26 13:50:16 +09:00
Bill Currie
f666f8d27a Get the lib dependency for testsound right.
No need for $(top_builddir) when the lib is in the same directory. Fixes
parallel builds.
2010-09-25 23:07:06 +09:00
Bill Currie
19a558a2db Fix a doxygen warning 2010-08-31 22:07:49 +09:00
Bill Currie
fcd9c3e115 Fix a stray doxygen control comment. 2010-08-31 21:15:40 +09:00
Bill Currie
42faad9015 Move expand_squiggle() from quakefs to sys, and rename to Sys_ExpandSquiggle.
Hopefully the final resting place of this function.
2010-08-25 14:00:04 +09:00
Bill Currie
e9bd9a4baa Move QFS_CreatePath() to Sys_CreatePath(). 2010-08-25 13:52:24 +09:00
Bill Currie
4f620655be Document quakefs.h 2010-08-25 13:40:22 +09:00
Bill Currie
f1943ebaab Fix some path compression bugs. 2010-08-25 13:38:45 +09:00
Bill Currie
550b094b93 Unit testing for QFS_CompressPath 2010-08-25 13:38:30 +09:00
Bill Currie
05c57f219d Nuke a comment. 2010-08-25 13:38:24 +09:00
Bill Currie
c6be3c469a Make the names of static functions canonical. 2010-08-25 13:38:24 +09:00
Bill Currie
bbf2ac0204 Avoid creating // in path names. 2010-08-25 13:38:18 +09:00
Bill Currie
ba8ca132a9 Change QFS_Gamedir()'s parameter from dir to gamedir. 2010-08-25 13:31:24 +09:00
Bill Currie
745bdfafdf Eliminate QFS_LoadHunkFile().
It is unused, and part of the group of functions I wish to remove from QF.
2010-08-25 13:31:23 +09:00
Bill Currie
ea22ec1271 Add documentation for the directory configuration. 2010-08-25 13:31:23 +09:00
Bill Currie
cbee789fe1 Change ProgPath to ModelPath and dir.progs to dir.models.
The default is still $path/progs, as that is what is expected by the
game-code.
2010-08-25 13:31:13 +09:00
Bill Currie
cf40f5073d Nuke QFS_WriteBuffers.
This function is too dangerous for my liking, and it's now unnecessary
since qfs has been locked down.
2010-08-25 13:31:13 +09:00
Bill Currie
031055a91f Move the qfs_* cvars out of quakefs.h
The qfs cvars are all private.
2010-08-25 13:31:13 +09:00
Bill Currie
0cc4bc8c69 Move searchpath out of quakefs.h.
It's not needed, nor should it be used, anywhere else.
2010-08-25 13:31:13 +09:00
Bill Currie
478394ef81 Nuke MAX_GAMEDIR_CALLBACKS
The number of gamedir callbacks is now unlimited.
2010-08-25 13:31:08 +09:00
Bill Currie
a51e888a1b Nuke MAX_OSPATH and clean up the mess. 2010-08-25 13:31:08 +09:00
Bill Currie
baede61f4f New function: dstring_strdup
I got tired of always doing dstring_newstr/dstring_copy, so I thought it
was time to wrap it. dstring_strdup is the dstring equivalent of strdup.
2010-08-25 13:31:00 +09:00