FS#133 - list_patches for console
Attached to Project:
OpenTTD
Opened by madman2003 (madman2003) - Saturday, 22 April 2006, 09:28 GMT
Opened by madman2003 (madman2003) - Saturday, 22 April 2006, 09:28 GMT
|
DetailsThe console lacked the ability to list patches and that is needed to reduce the number of gui options.
I don't know if and how to catagorize patches, since that seems to be strictly gui. Some of this code was taken from other console commands, so i won't pretend i know everything. I hope this can be put into trunk. Ignore the (perhaps) strange trunk revision, it's my local openttd mirror.It's a day or two old trunk iirc. |
This task depends upon
Closed by Peter Nelson (peter1138)
Thursday, 05 April 2007, 12:59 GMT
Reason for closing: Implemented
Additional comments about closing: ta da
Thursday, 05 April 2007, 12:59 GMT
Reason for closing: Implemented
Additional comments about closing: ta da
I think the ConListPatch function could be improved to accept an argument like the ConListDumpVariables function, for filtering. Basically the same approach could be used, except that the argument needs to be passed to IConsoleListPatches() which is called inside ConListPatch.
Hopefully someone with authority will apply this patch.