Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-12-26 | (svn r11702) -Codechange: move all date related stuff to date*. | rubidium | |
2007-12-26 | (svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split ↵ | rubidium | |
map.h). | |||
2007-12-25 | (svn r11692) -Codechange: move some functions from 'functions.h' to a more ↵ | rubidium | |
logical place and remove about 50% of the includes of 'functions.h' | |||
2007-12-25 | (svn r11691) -Codechange: move+rename helpers.hpp and only include it when ↵ | rubidium | |
it is really needed. | |||
2007-12-22 | (svn r11682) -Codechange: move some 'generic' geometry related types into a ↵ | rubidium | |
single file and do not include gfx.h everywhere to get a Point type. | |||
2007-12-21 | (svn r11677) -Codechange: move price and command related types/functions to ↵ | rubidium | |
their respective places. | |||
2007-12-21 | (svn r11675) -Codechange: split the string types from the string functions. | rubidium | |
2007-12-19 | (svn r11668) -Codechange: more refactoring aimed at reducing compile time ↵ | rubidium | |
and making it more logic where function definitions can be found. | |||
2007-12-19 | (svn r11667) -Codechange: split window.h into a header that defines some ↵ | rubidium | |
'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps. | |||
2007-12-09 | (svn r11609) -Fix [FS#1524]: wrong error messages were shown when trying to ↵ | rubidium | |
build some industries in the scenario editor. | |||
2007-12-09 | (svn r11607) -Codechange: Enumify the industry widgets | skidd13 | |
-Feature: Enable doubleclick in the found new industries window to build an industries | |||
2007-12-08 | (svn r11600) -Cleanup: remove extra out-of-memory checks, since it's now ↵ | glx | |
done in *allocT functions. | |||
2007-12-08 | (svn r11596) -Codechange: Use the Window member HandleButtonClick and remove ↵ | belugas | |
its now useless counterpart function | |||
2007-12-08 | (svn r11592) -Codechange: Use the Window member RaiseButtons and remove the ↵ | belugas | |
now useless RaiseWindowButtons function | |||
2007-12-02 | (svn r11555) -Codechange: use the new members introduced in r11551. | rubidium | |
2007-11-24 | (svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them ↵ | skidd13 | |
fitting to the naming style | |||
2007-11-19 | (svn r11481) -Codechange: Rename the HASBIT function to fit with the naming ↵ | skidd13 | |
style | |||
2007-11-19 | (svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit ↵ | skidd13 | |
with the coding style | |||
2007-11-15 | (svn r11440) -Codechange: replace magic numbers with enumified ↵ | rubidium | |
WindowHighlightMode constants. Patch by SmatZ. | |||
2007-11-13 | (svn r11427) -Fix: Forgot to Truncate the string "Many Random Industries" in ↵ | belugas | |
the funding industry window. In some languages, it gets drawn outside of the gui. | |||
2007-11-04 | (svn r11374) -Codechange: Give meaning to the magical number that specifies ↵ | belugas | |
the color of the text in a DrawString call. Patch heavily based on BiBB's work (FS#1383) | |||
2007-11-03 | (svn r11372) -Fix [FS#1394]: don't stop on first invalid cargo type when ↵ | glx | |
displaying industry acceptance | |||
2007-10-29 | (svn r11356) -Fix (r11305): funding industries in MP game was causing desync | glx | |
2007-10-25 | (svn r11340) -Fix[FS#1362]: Newindustries can provide no production at ↵ | belugas | |
start. So the Modifying Production cheat was a bit puzzled on how to deal with it. This will help a bit. | |||
2007-10-17 | (svn r11287) -Codechange: add support for pushing paramaters into ↵ | rubidium | |
NewIndustries' error messages. Patch by Csaboka. | |||
2007-10-17 | (svn r11284) -Codechange: don't reset build industry cursor if it failed | glx | |
2007-10-12 | (svn r11247) -Fix: The Industry's name to fund could be larger than the ↵ | belugas | |
window itself. Now, it fits within the physical allowed space | |||
2007-10-10 | (svn r11242) -Codechange: When displaying the industry funding gui, present ↵ | belugas | |
the industries in the same order as they are available. Prior of this, they were separated in processing/organic and extractive. Now, all are mixed, just filtered when required. This will allow easy comparison with TTDPatch's list. (glx and me) | |||
2007-09-28 | (svn r11178) -Fix: don't check newgrf callback 22 in scenario editor | glx | |
2007-09-27 | (svn r11176) -Revert (r9867): as it is needed for newgrf callbacks 14B and 14C | glx | |
2007-09-22 | (svn r11145) -Codechange: add support for "decoding" TTDPs string codes wrt ↵ | rubidium | |
to registers 0x100 to 0x10F. | |||
2007-07-27 | (svn r10704) -Codechange: provide an infrastructure to have resizable ↵ | rubidium | |
windows that are smaller than the default window size. | |||
2007-07-24 | (svn r10675) -Codechange: unhardcode the industry types used in several ↵ | rubidium | |
locations of the source code. | |||
2007-07-20 | (svn r10637) -Fix: Enable the Random Industries in scenario editor if ↵ | belugas | |
setting Number of Industries is not NONE. Spotted by skiddl13. Thanks to glx for help in finding and better looking code :) | |||
2007-07-19 | (svn r10624) -Fix [FS#1047]: the production of banks could not be modified ↵ | rubidium | |
(either in scenario editor or with the cheat). | |||
2007-07-19 | (svn r10622) -Feature: Introduction of the CBID_INDUSTRY_AVAILABLE's ↵ | belugas | |
handling, in fund industry window. In order to stay as much consistent with the specs, the fund window will perform (if required) the callback every game-day. TTDPatch performs the same call every second, but after discussions with Csaboka, we agreed that it was not required to be that intensive. So a game-day is plenty enough. | |||
2007-07-19 | (svn r10621) -Codechange: install a struct holding the user's selection from ↵ | belugas | |
_fund_gui. -Codechange: merge WE_TIMEOUT and WE_ABORT_PLACE_OBJ, as they both do the same thing. -Feature: Any time you place an industry, even if it fails, the button will reset and the cursor will return to normal. | |||
2007-07-18 | (svn r10619) -Codechange: Use shorter variable/member names and add some ↵ | belugas | |
code separation. -Codechange: Use a stringID variable instead of always refering to the _fund_gui.text[foo] member -Documentation: Add a few explanatory comments here and there | |||
2007-07-18 | (svn r10618) -Fix(r10167): remove unneeded comment | belugas | |
2007-07-18 | (svn r10617) -Codechange: code style changes (removing an erroneous tab plus ↵ | belugas | |
switch case alignment) -Codechange: give enum values to widgets | |||
2007-07-16 | (svn r10600) -Codechange: code-stylising the gui switch-case code | belugas | |
2007-07-10 | (svn r10496) -Feature: Replace all the windows for Industry building by a ↵ | belugas | |
more flexible one. Thanks to Csaboka (from TTDPatch dev team) for his hints and original design (which i've found while it was halfway done, so i could make it more compliant ;)). Don't expect it to be a carbon-copy though. A few differences can be found here and there. Thanks to Rubidium for his helping hand. Hope you will like it as we do :) | |||
2007-07-08 | (svn r10473) -Codechange: make the industry "window", the one that shows ↵ | rubidium | |
when you click on an industry, more flexible to allow easier integration with newindustries. | |||
2007-07-06 | (svn r10459) -Codechange: add helper functions to determine whether an ↵ | rubidium | |
industry is a primary industry and how much it costs to build such an industry. | |||
2007-07-06 | (svn r10451) -Add: support for "prospecting" raw industries, i.e. you pay an ↵ | rubidium | |
amount of money and then it might (with a given chance) build a raw industry somewhere on the map. | |||
2007-06-21 | (svn r10258) -Codechange: as we are now using int64 all over the place, it's ↵ | rubidium | |
better to use int64 variables in the string generating too instead of packing them into two int32s. -Fix: some displays of money were wrong. | |||
2007-06-21 | (svn r10247) -Fix (r10210): *always* call SetDParamMoney when you want to ↵ | rubidium | |
place money in some string. | |||
2007-06-07 | (svn r10058) -Codechange: give some industry variable sensible names (like ↵ | rubidium | |
not telling "last_mo_production" when it is the production of the current month). | |||
2007-06-07 | (svn r10054) -Codechange: make the industries cost modifier look more like ↵ | rubidium | |
the original one, so it's much easier to support industries that use this original format. | |||
2007-05-18 | (svn r9867) -Codechange: Remove data duplication. The exact same values can ↵ | belugas | |
be found in the industry spec, so take it from there instead. |