Bill Currie
91c5283af5
[build] Fix ruamoko/gui's auto dependencies
...
Changing str_free's return type highlighted that I'd missed an edit when
I did the big ruamoko build cleanup.
Also silence the sed/mv noise now that things are working nicely.
2020-03-26 16:53:53 +09:00
Bill Currie
0ad9f559ea
[ruamoko] Move some string functions
...
sprintf, vsprintf and strlen now in rua_strings, and strlen now returns
int like it should.
2020-03-25 00:04:20 +09:00
Bill Currie
0d4c7ba10f
[cl_menu] Update plist usage of obj_msg_sendv
...
Wonder if there's anywhere else...
2020-03-12 00:52:42 +09:00
Bill Currie
bb0e65e9d4
[cl_menu] Silence some debug output
2020-03-08 21:45:51 +09:00
Bill Currie
a4582e526d
[cl_menu,scheme] Clean up after tightened pointer checks
2020-03-05 15:02:40 +09:00
Bill Currie
051a572bcc
[build] Dependency checking for all ruamoko code
...
Including dependency on qfcc itself. Getting automake to chooch the way
I want it to chooch can be a pain in the... see AvE
2020-03-03 17:24:53 +09:00
Bill Currie
6fccfdf1b9
Fix a thinko in the save game menu
...
I thought I had to prepend the gamedir when using QFS_FOpenFile (or
QFS_OpenFile in rua).
Nope, it's gamedir based
2020-02-26 18:03:00 +09:00
Bill Currie
383a7fe5e1
Remove File_Open
...
Other than its blocking of access to certain files, it really wasn't
that useful compared to the functions in qfs, and pointless with access
to qfs anyway.
2020-02-26 13:45:14 +09:00
Bill Currie
39df9c0c87
Fix some more double related warnings
...
Fewer than I expected
2020-02-15 23:49:12 +09:00
Bill Currie
c98d1ff08c
Document some problems with nil
...
While he's a pretty cool character in HZD, he seems to have some
identity problems when in a compiler.
2019-06-09 22:29:51 +09:00
Bill Currie
2e8d9e7636
Correct the menu code to sortof work with the new IMTs.
...
The menu code at least compiles now. It should work for the default IMT
tables (ie, if imt_0 is there).
2013-01-16 20:31:46 +09:00
Bill Currie
2974bedd78
Add ruamoko declarations for the new menu functions.
2013-01-13 20:13:19 +09:00
Bill Currie
814f902e88
Add a new crosshair.
...
Now all 4 slots of the crosshair table are used :)
Also, fix the offset for pic based crosshairs in glsl, and use just one
func for them.
2012-12-12 19:36:18 +09:00
Bill Currie
f358364ef2
Fix assignment of nil to a structure.
...
constfold.c seems to be getting a little long in the tooth :P
2012-12-11 11:53:01 +09:00
Bill Currie
cd62755ce4
Fix some warnings found by qfcc's flow analysis.
...
Ok, maybe it works too well? Nah, not really. It's nice having proper
unisnitialized checks on structs.
2012-12-10 22:20:44 +09:00
Bill Currie
ff0c51e52c
Build our ruamoko stuff with optimizations :)
2012-12-01 11:20:06 +09:00
Bill Currie
abd9704d26
Avoid over-releasing the autorelease pool.
...
It seems that the engine menu code must be calling menu_post too often, but
I don't feel like fixing it just yet.
2012-11-20 14:54:40 +09:00
Bill Currie
3042c2bb1a
Create backups of quick.sav.
...
F6 is fantastic, until you hit it by mistake after dieing when you meant
to hit F9 (I've done that way too often). quick.sav is still the last file
written via F6 (so F9 is unaffected), but now the previous quick.sav
becomes quick1.sav. Up to 5 (currently) backups will be kept: quick1 is
the newest, quick5 the oldest. A menu for accessing the backups has been
added as a sub-menu of the load menu.
2012-07-21 22:41:57 +09:00
Sander van Dijk
4725d5a973
Add a "Prev. weapon" menu option.
2012-07-17 06:28:32 +09:00
Bill Currie
d9288c0837
Don't double-draw the bindings menus.
2012-07-14 20:16:45 +09:00
Bill Currie
b69d527507
Nuke another AM_CONDITIONAL
2012-02-13 16:08:03 +09:00
Bill Currie
546a7e7aac
Avoid recusing into tools and ruamoko when not needed.
2012-02-12 19:29:31 +09:00
Bill Currie
c8163fc0de
Add an option to prevent the use of default paths.
...
Despair has things locked down such that running qfcc during a build fails
due to lack of read access to /usr/local/lib. This is actually a good
thing as accidentally hitting old includes/libs (when a file gets deleted
in the tree) hides bugs. Thus, --no-default-paths to turn off default
search paths.
2012-01-04 13:53:04 +09:00
Jeff Teunissen
c7c646a53f
Makefile portability fixes
...
Allow our makefiles to build with non-GNU 'make' implementations.
Required some renaming of not-really-QuakeC source to .r to get it right.
2011-07-25 17:22:44 -04:00
Bill Currie
ef8b1821d2
Fix the bindings menus.
...
That was a lot easier than I expected.
2011-07-10 18:58:50 +09:00
Bill Currie
15cb8849c3
Docs for MenuGroup
2011-07-10 18:58:16 +09:00
Bill Currie
361e76aa7b
Convert prototypes to C-style for doxygen.
2011-07-10 08:56:04 +09:00
Bill Currie
8ac5079ada
Get inputlines mostly working.
...
It should be only behind-the-scenes updates that are still a problem.
2011-07-09 21:16:38 +09:00
Bill Currie
652b434e7b
Rework the inputline wrapper.
...
Use the resource map code for handle management (much safer).
Add support for the enter callback (function or method).
Unfortunately, it still doesn't work due to poor design of the inputline
user data.
2011-07-09 09:44:37 +09:00
Bill Currie
838e35af96
Fix the escape problem for Join Game.
...
Allowing the menus to override the Escape key was necessary, but there was
badly written code floating around that broke when that was implemented.
Oops.
2011-07-07 17:08:21 +09:00
Bill Currie
01463b0e77
Fix the color view key gobbling bug.
2011-07-06 19:48:27 +09:00
Bill Currie
508fd22d27
Convert the player menu to using the plist.
...
Various things are decidedly broken:
* shirt and pants colors cannot be changed
* shirt and pants color views gobble the cursor keys (cannot leave them)
* input fields do not get updated if the cvar is changed elsewhere
* name input field (at least) does not set the new name
However, at least the escape problem is fixed :)
2011-07-06 19:21:35 +09:00
Bill Currie
30bd1c0134
Create classes for inputing cvar strings and script the network menu.
...
Hitting enter after inputting text is currently broken, but that's because
support for it was never put in the inputline wrapper code.
2011-03-25 18:26:10 +09:00
Bill Currie
896791b209
Correct the spelling of "int" and clean up the mess.
2011-03-25 16:53:04 +09:00
Bill Currie
e878ace83b
Make input lines mostly work.
...
There is still a problem with the placement of the input line text
relative to the text box caused by vertical movement being excessive.
2011-03-23 21:35:49 +09:00
Bill Currie
98f5f84ca3
Clean up the leftovers of converting the controls menu.
...
The bindings menu is still inaccessible, though.
2011-03-23 15:22:01 +09:00
Bill Currie
15fc325136
Fix the features menu.
2011-03-23 15:19:30 +09:00
Bill Currie
bc0cffc9c6
Fix handling of autorelease pools in the menu code.
...
Create a "menu_pre" function that creates the autorelease pool, change
menu_post() to release the pool correctly, and make the menu internal code
require and call menu_pre.
2011-03-21 13:14:14 +09:00
Bill Currie
59f520f4e7
Fix some parse errors that were lost in the noise.
2011-03-03 10:39:21 +09:00
Bill Currie
aa4ed00090
Fix the message type used to check arguments.
2011-03-02 22:13:16 +09:00
Bill Currie
3a1e467ae8
Non-bogus syntax and warning fixes for ruamoko/cl_menu.
...
Sadly, there are many bogus warnings and other errors. qfcc is still very
sick :(.
2011-02-14 23:10:46 +09:00
Bill Currie
daae0284a1
Work around a warning about passing int constants into ...
...
I'm not sure why this is happening now when it didn't in the old qfcc,
but this will take care of the warning for now until I can get around to
fixing it.
2011-02-14 23:10:45 +09:00
Bill Currie
c38ea0b1bc
Correct the spelling of "nil".
2011-01-14 12:07:40 +09:00
Bill Currie
f2fb853052
Fix for parallel make.
2011-01-10 13:29:51 +09:00
Bill Currie
cbe245725b
Install the symbol file so menus can be debugged.
2011-01-10 12:26:11 +09:00
Bill Currie
75ec6bf244
Clean out some unnecessary types from the progs engine and clean up the mess.
...
This is a nasty commit, sorry, but 99% of the commit is interdependent.
2011-01-10 12:25:31 +09:00
Bill Currie
096d7f5791
Turn on -Wall -Wno-integer-divide
...
This will break Array.r until Deek gets his changes in.
2010-12-16 20:14:06 +09:00
Bill Currie
6d494bfcdf
Fix a slew of warnings found by -Wall.
...
-Wall still isn't used yet due to a missing method in Array, and
overzealous warnings in qfcc, but this covers the necessary fixes.
2010-12-16 20:01:49 +09:00
Jeff Teunissen
f86e933c6a
Array API fixes
...
NQ menus work now.
2010-12-12 05:40:24 -05:00
Jeff Teunissen
c58a72842f
Update users of Array to new API
2010-12-11 20:32:19 -05:00