|
From: Maurits v. R. <ma...@va...> - 2003-12-23 20:03:54
|
Hello, Special hull functions (e.g. Cloak, Imperial Assault) are now reported with stats -rs. The codes that are used (e.g. "C" for Cloak) are the same as in the plist docs. Some functions are not normally used in most ship lists, so new codes were added for that. For a full list, see stats -hs. This only takes care of the normal situation. For example, hull slot 105 is always an Alchemy ship. This can be changed with shiplist.txt, but for probably the majority of games this textfile only contains a few additions, not complete rewrites of the ship list. Shiplist.txt (or maybe other related files) are not read at the moment. The most important changes went into statsTypeClas.c. When you want to know if a ship has hull function X, you can use a function from this file. For some hull functions you can check it in a specific or a more general sense. Example: HasNormalBioScanner is true for the Brynhild and the Cobol. HasFullBioScanner is true for the Pawn. HasBioScanner is true for all three ships (it calls the other two functions) Alexander, I hope this doesn't interfere (too much) with your as yet uncommitted stuff. I added two lines to statsOptions.h (numbers 180 and 181); that is the only part that I suspect may give trouble in case you also made changes there. Bye, -- Maurits van Rees | ma...@va... http://maurits.vanrees.org/ "Peace is not the absence of war; it is the absence of fear." |