Commit graph

1702 commits

Author SHA1 Message Date
Bill Currie
36342da9bd Rectirect Sys_Printf's output to the command output box. 2010-09-26 16:24:00 +09:00
Bill Currie
610f32e334 Fix a string comparision mistake.
This snuck in with the parser changes.
2010-09-26 13:50:21 +09:00
Bill Currie
994469fe01 Fix an uninitizized variable. 2010-09-26 13:50:21 +09:00
Bill Currie
1875a9d500 Work around a method type mismatch in GNUstep. 2010-09-26 13:50:21 +09:00
Bill Currie
1235c3b650 Hopefully fix the flush control and second screen placement. 2010-09-26 13:50:21 +09:00
Bill Currie
d87b338b4e Get help working (for what it is worth). 2010-09-26 13:50:21 +09:00
Bill Currie
b48ce84449 Remove debugging code. 2010-09-26 13:50:21 +09:00
Bill Currie
b141de8d09 Do not use PS* functions. 2010-09-26 13:50:21 +09:00
Bill Currie
940d9613f5 Get TextureView working. 2010-09-26 13:50:21 +09:00
Bill Currie
3c33652dae Get the Z checker working. 2010-09-26 13:50:21 +09:00
Bill Currie
f1c49a6382 KeypairView now seems to work properly. 2010-09-26 13:50:21 +09:00
Bill Currie
1561eac7a4 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-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
f7fbb663fb Modernize the camera eye glyph drawing. 2010-09-26 13:50:21 +09:00
Bill Currie
b2eb4020d5 Get scaling working in the Z view as well. 2010-09-26 13:50:20 +09:00
Bill Currie
d4d8c50c85 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-09-26 13:50:20 +09:00
Bill Currie
ad0cd004b7 Get scale changes halfway working.
Translation is still wrong, but changing scale to (eg) 200% and back to
100% works correctly.
2010-09-26 13:50:20 +09:00
Bill Currie
380460be82 slow progress in getting things to work 2010-09-26 13:50:20 +09:00
Bill Currie
e5625e169e Get textures sortof displaying. 2010-09-26 13:50:20 +09:00
Bill Currie
5f99251577 Correct alert panel handling. 2010-09-26 13:50:20 +09:00
Bill Currie
f049f9815c Get the textureView connection right. 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
25798e3c35 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-09-26 13:50:20 +09:00
Bill Currie
2e30db9888 Get the inspectors showing.
Still can't change them via the pop-up menu, though.
2010-09-26 13:50:19 +09:00
Bill Currie
3af9f1b9f2 Accidently commited a failed experiment. 2010-09-26 13:50:19 +09:00
Bill Currie
077def90f6 Finish the gorm file, for certain values of finished. 2010-09-26 13:50:19 +09:00
Bill Currie
6ede64c663 Camera view seems to work moderately well. 2010-09-26 13:50:19 +09:00
Bill Currie
27ad18de3d Entity loading from maps seems to work. 2010-09-26 13:50:19 +09:00
Bill Currie
60d46127f8 Use QF's wadfile support.
Still fragile, but it can load wad files.
2010-09-26 13:50:19 +09:00
Bill Currie
692d4b9dae Get QUAKED comments working. 2010-09-26 13:50:19 +09:00
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
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
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
e9bd9a4baa Move QFS_CreatePath() to Sys_CreatePath(). 2010-08-25 13:52:24 +09:00
Bill Currie
a51e888a1b Nuke MAX_OSPATH and clean up the mess. 2010-08-25 13:31:08 +09:00
Bill Currie
06cbb941f1 "make dist" fixes
Since we're using git now, having a rule to make ChangeLog is reasonable.

Also, forgot the remove mention of qfcc.lsm.in when I nuked the file.
2010-08-21 13:09:53 +09:00
Bill Currie
1442273a8f more opaque correctness 2010-08-20 12:58:37 +09:00
Bill Currie
669771681a split up and modernize configure.ac
Most of the guts of configure.ac have been moved to config.d and are then
brought in by m4_include. This will make maintaining configure.ac much easier.

Also drop use of PROGRAM and VERSION, using PACKAGE_NAME, PACKAGE_VERSION, and
on occasion, PACKAGE_STRING instead, and clean out some old files we no longer
need.
2010-08-19 15:01:43 +09:00
Bill Currie
a703956553 split up most of bsp5.h and get things compiling again 2010-08-18 17:52:13 +09:00
Bill Currie
d045045693 get the grouping right 2010-08-11 23:42:14 +00:00
Bill Currie
f04bc64ef1 clean up a bunch of doxygen warnings 2010-08-11 23:41:30 +00:00
Bill Currie
0dfff8fd58 ignore stuff 2010-08-07 10:42:09 +00:00
Bill Currie
7ef81cae31 and the rest of the changes before actually working on the new parser 2010-08-05 03:39:26 +00:00
Bill Currie
9a4258b5c5 rename "map" to "map_script" in anticipation of a better map parser 2010-08-05 03:30:13 +00:00
Bill Currie
17d84613a9 found a test file lurking around 2010-08-05 02:36:51 +00:00
Bill Currie
51a32f4f87 minor comment about scoping in traditional mode 2010-02-22 13:44:52 +00:00
Bill Currie
fac98536f0 make sure def->space points to the space the def's location is allocated from to ensure that freeing the location works properly (fixes the bogus address triggered by prozaccoop: thanks, phrosty) 2010-02-22 13:11:41 +00:00
Bill Currie
56d01ce267 found an uncontrollable warning 2010-02-20 12:01:49 +00:00
Bill Currie
7b9a682942 Make qfpreqcc a little noisier when qfcc can't be run. 2010-01-16 02:05:05 +00: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
01452ce5c8 no -P for qccx escapes 2010-01-13 06:35:04 +00:00
Bill Currie
8abb9a69aa remove support for an optional = in struct/union declarations 2010-01-13 06:34:32 +00:00
Bill Currie
21b3a87535 more todos 2010-01-13 06:33:31 +00:00
Bill Currie
a18b01973e add some qfcc todos 2010-01-13 06:32:37 +00:00
Bill Currie
0d4a2938a2 forgot to check for errors 2010-01-13 06:32:10 +00:00
Bill Currie
ae4fc3147d allow '*pointer' expressions 2010-01-13 06:31:41 +00:00
Bill Currie
22776f9ffd get double indirection working
do not try to optimize the output of the sub-dereference in a dereference
2010-01-13 06:31:06 +00:00
Bill Currie
ad5459b51a mention the "no-" prefix in the code options section 2010-01-13 06:26:50 +00:00
Bill Currie
ccb8faf6ef produce a warning for the likes of "x - x & y" 2010-01-13 06:26:18 +00:00
Bill Currie
40fefff847 fix incorrect users for temps resulting from casting the result of ?:
There are probably other situations, but I'll fix them as they show up.
2010-01-13 06:25:06 +00:00
Bill Currie
d558444b77 make temp def problems a little easier to understand
o  set return_address whenever a temp def is requested, no only when it is
    actually created.
 o  make the notices about temp reference counting problems a little more
    readable and include the name of the temp
2010-01-13 06:24:29 +00:00
Bill Currie
c2dcc20d2a allow (constant) expressions in array declarators 2010-01-13 06:23:32 +00:00
Bill Currie
a6c504936c get \8 and \9 right 2010-01-13 06:23:02 +00:00
Bill Currie
401040ced0 document the gold digits 2010-01-13 06:22:33 +00:00
Bill Currie
07b61aa23f missed \0-9 for the gold numbers from qccx 2010-01-13 06:22:01 +00:00
Bill Currie
36fe939ea5 don't hang when processing \{N} escape sequences and fix a comment 2010-01-13 06:21:29 +00:00
Bill Currie
090527eaec silence some debug output 2010-01-13 06:20:22 +00:00
Bill Currie
c3f47efb07 add --qccx-escapes to resolve the conflicts in escape sequences and document the escape sequences supported by qfcc. 2009-12-25 07:59:25 +00:00
Bill Currie
c9484af217 don't seg when extracting conchars (it's not really a miptex) 2009-12-21 14:03:33 +00:00
Bill Currie
dcf593291d fix for new bison (must be explicit with the type of $$ in mid-rule actions) 2009-12-21 05:53:00 +00:00
Bill Currie
c8b7622e0e reduce the amount of memory wasted when generating the output file 2009-12-20 12:19:16 +00:00
Bill Currie
c542138300 more not-really initialized data 2009-12-20 11:54:19 +00:00
Bill Currie
1dc4683961 ensure all instructions are fully initialized. 2009-12-20 11:09:58 +00:00
Bill Currie
b14fcccd8f get qf compiling with gcc 4.4 2009-12-19 10:54:23 +00:00
Bill Currie
e2355aa357 add --extract-hull which produces C structures for the clipping hull (currently only hull 0) 2009-03-18 03:28:34 +00:00
Bill Currie
bfee029249 set current_func while building the init function to avoid issues with code expecting current_func to be set. 2008-08-01 22:55:10 +00:00