Bill Currie
54f2e417dc
[ruamoko] Fix daft str_str abi
...
Returning a string was a bad idea as it makes str_str difficult to use
with str_mid. (actually, iirc, it was the only reason I moved all
strings into progs memory... hmm).
2020-04-08 21:54:41 +09:00
Bill Currie
1efbb2ab49
[cl_menu] Remove a stale FIXME
2020-03-27 22:12:45 +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
a4582e526d
[cl_menu,scheme] Clean up after tightened pointer checks
2020-03-05 15:02:40 +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
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
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
896791b209
Correct the spelling of "int" and clean up the mess.
2011-03-25 16:53:04 +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
c38ea0b1bc
Correct the spelling of "nil".
2011-01-14 12:07:40 +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
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
Bill Currie
2b3ba0633e
Break out the menu plist parser into its own file.
2010-11-24 17:01:19 +09:00