summaryrefslogtreecommitdiff
path: root/src/newgrf_gui.cpp
AgeCommit message (Collapse)Author
2007-12-02(svn r11555) -Codechange: use the new members introduced in r11551.rubidium
2007-11-19(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming ↵skidd13
style
2007-11-15(svn r11433) -Fix: starting OpenTTD with DOS files made it look weird out of ↵rubidium
the box. -Change: make extra sprites (the ones not in the TTD GRFs) replaceable using Action 5. -Feature: make replacing contiguous subsets of sprites in for some types possible in Action 5. Note to GRF authors: when you replaced OpenTTD sprites that are not from the TTD GRF files using Action A, your GRF will not have the intended result anymore as the sprite numbers have changed. You should replace the Action A with an Action 5 from now on.
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-10-21(svn r11329) -Fix: if a NewGRF failed to load for some reason (like fatal ↵rubidium
errors), but it was a "compatible" NewGRF, it was shown with the compatible colour and not the not-loaded colour in the NewGRF list.
2007-10-16(svn r11272) -Codechange: Truncate text describing the grf file in the ↵belugas
NewGrf settings gui
2007-10-05(svn r11211) -Fix [FS#1302]: NewGRF GUI scrollbar does funny things when ↵rubidium
being resized.
2007-07-27(svn r10704) -Codechange: provide an infrastructure to have resizable ↵rubidium
windows that are smaller than the default window size.
2007-06-23(svn r10298) -Fix [FS#903]: show the subdirectory below the default data ↵rubidium
directory in this filename in the newgrf list. The directory was removed in r9560 because then it used to full path instead of the path relative to the data directory, but since the inclusion of "search paths" that is not necessary anymore.
2007-06-22(svn r10267) -Add: enable double clic to add in 'add newgrf' windowglx
2007-06-18(svn r10211) -Feature: [NewGRF] Add support for action 0Fglx
2007-06-12(svn r10114) -Fix: Only load newgrf error messages if the language matches ↵maedhros
the current language. Since only one error can be loaded anyway, if the language didn't match you'd get "Undefined string". Also since we're only loading one language there's no need to use AddGRFString any more.
2007-06-02(svn r10021) -Fix (r9560): memory "corruption" that could lead to a failure ↵rubidium
to load newgrfs.
2007-04-18(svn r9669) -Documentation: some more doxygen fixesbelugas
2007-03-25(svn r9449) -Fix: Truncate the newgrf information text in the newgrf gui if ↵maedhros
it's too long.
2007-03-21(svn r9385) -Cleanup: doxygen changes. Today, we are exploring the letter N.belugas
2007-03-07(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};rubidium
2007-03-06(svn r9031) -Codechange: Introduce grfconfig->status, and use it for states ↵maedhros
that are mutually exclusive. At the same time, add an INITIALISED state which makes it possible to check if a grf is not yet active but will be later on during the GLS_ACTIVATION loading stage.
2007-02-27(svn r8920) -Codechange: Do not require to press 'Apply changes' in the ↵Darkvater
newgrf GUI if the changes in there are not activated (this happens in the title screen)
2007-02-27(svn r8918) -Revert r8914 as the inverted files have been committed not the ↵Darkvater
correct one.
2007-02-27(svn r8914) -Regression (UTF8): Win9x is very picky about trailing slashes ↵Darkvater
in paths, so C:\\* will not work (but C:\Windows\\* does; go figure). Thanks glx for pointing it out and for the initial fix.
2007-02-24(svn r8881) -Feature: Allow built-in newgrf error messages to be translated, ↵maedhros
and load custom error messages properly.
2007-02-21(svn r8838) -Feature: Show newgrf error messages loaded in Action B in the ↵maedhros
newgrf gui window. GRFs with an error have a warning symbol shown before the name.
2007-02-01(svn r8511) -Codechange: make WindowClass an enumerated value.rubidium
2007-01-14(svn r8128) -Codechange: Split sprite and palette remap into separate 32 bit ↵peter1138
values. This lets us increase the sprite width from 14 to up to 29 bits, effectively nulling the old sprite limit. Table changes in next commit.
2007-01-13(svn r8106) -Feature/Fix: Add the ability to load savegames when you don't ↵Darkvater
have the exact GRF files in your list. GRF files that are found based on GRFID (but not on matching md5sum) are used instead of disabling them. This does not affect MP games, there you still need an exact match. -GRF Window colour-codes changed a bit: Static is now grey, and compatible GRF (found locally only based on GRFID) are shown in orange. Compatible GRF's also have an orange status/warning text saying they're not the original the game was saved with. -Loaded games with something amiss regarding GRF's will show an appropiate warning message.
2007-01-13(svn r8102) -Cleanup: Remove unreachable code (r8096), useless castDarkvater
2007-01-13(svn r8097) Replace strlen() {==,!=,>} 0 by the more concise {,!}StrEmpty(). ↵tron
Additionally the test takes O(1) instead of O(n) now
2007-01-13(svn r8094) -Feature/Fix (r7523): Show the activated status of the GRF list ↵Darkvater
after pressing 'apply' in the newgrf window, instead of the local list.
2007-01-13(svn r8093) -Codechange: Add a function to get a string representation of an ↵Darkvater
MD5SUM and use it.
2007-01-11(svn r8066) - Codechange: MallocT(), CallocT(), ReallocT() now return the ↵KUDr
pointer to allocated memory instead of modifying the pointer given as parameter
2007-01-10(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, ↵rubidium
stillunknown and pv2b.
2007-01-10(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files ↵KUDr
renamed to .cpp)