summaryrefslogtreecommitdiff
path: root/src/strings.cpp
AgeCommit message (Collapse)Author
2007-11-19(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming ↵skidd13
style
2007-11-12(svn r11422) -Fix [FS#1430]: properly support genders coming from newgrfs ↵rubidium
instead of crashing.
2007-10-30(svn r11360) -Fix [FS#1375]: do not crash when trying to "draw" an invalid ↵rubidium
string, just draw a message saying it is invalid.
2007-10-20(svn r11312) -Codechange: implement a overflow safe integer and use that for ↵rubidium
money and don't misuses CommandCost to have a overflow safe integer. Based on a patch by Noldo.
2007-09-22(svn r11145) -Codechange: add support for "decoding" TTDPs string codes wrt ↵rubidium
to registers 0x100 to 0x10F.
2007-08-11(svn r10851) -Feature [OSX]: OpenTTD will now pick the same language as ↵bjarni
finder is set to if no config file is found (ln-)
2007-08-07(svn r10820) -Codechange: make negative currencies red and restore the ↵rubidium
colour from before the currency was printed; this removes the need to make two strings for printing currencies (one for positive currencies and one for negative currencies). -Fix [FS#1036]: do not use green for currencies as it is practically unreadable on CRT monitors.
2007-08-05(svn r10792) -Fix [FS#1104]: when determining the gender of a string, do not ↵rubidium
assume that the gender is in the front of the string when there can be case switching code at that location.
2007-08-03(svn r10762) -Codechange: Change enum StringIDEnum { to static const ↵peter1138
StringID = for each STR_ entry. This avoids the need for a cast to StringID in some places and thus better type-safety.
2007-08-02(svn r10759) -Codechange: make the industry struct use the pool item class ↵rubidium
as super class.
2007-08-02(svn r10755) -Codechange: make the town struct use the pool item class as ↵rubidium
super class.
2007-08-02(svn r10751) -Codechange: make the group struct use the pool item class as ↵rubidium
super class.
2007-07-29(svn r10719) -Codechange: since DParams are now 64 bits we should make NUM ↵rubidium
and COMMA handle writing 64 bit integers to the strings.
2007-07-27(svn r10711) -Fix [Win32]: take default language from current user's locale ↵KUDr
on Windows (In-)
2007-07-24(svn r10671) -Codechange: don't mix both lookup and ↵truelight
temp-variable-with-value-of-lookup (skidd13)
2007-07-16(svn r10587) -Codechange: move the string/dparam related stuff from ↵rubidium
variables.h to strings.h
2007-06-25(svn r10324) -Codechange: reference engine names by indexpeter1138
2007-06-25(svn r10323) -Codechange: reference company name, number and player ↵peter1138
(president) name by index
2007-06-25(svn r10321) -Codechange: refer to sign text by indexpeter1138
2007-06-25(svn r10320) -Fix [FS#278]: one could only build a limited number of ↵rubidium
stations before one had to rename them.
2007-06-25(svn r10316) -Codechange: (consistently) use index to refer to group names. ↵peter1138
Also the group string_id is irrelevant unless it is a custom name, so don't 'waste' a savegame string id.
2007-06-24(svn r10314) -Codechange: Refer to vehicle names by indexpeter1138
2007-06-21(svn r10262) -Fix (r10258): some places that needed to be changed to uint64 ↵rubidium
were hidden/forgotten, which caused memory corruptions and that in caused all kinds of assertions to trigger.
2007-06-21(svn r10261) -Cleanup: we do not need CURRENCY64 and CURRCOMPACT64 anymore, ↵rubidium
because everything is already 64 bits by default.
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 r10252) -Fix: never overflow when applying exchange rates before ↵rubidium
drawing the amount of money.
2007-06-21(svn r10250) -Fix: money is always 64 bits, so always parse those 64 bits.rubidium
2007-06-18(svn r10211) -Feature: [NewGRF] Add support for action 0Fglx
2007-06-17(svn r10182) -Codechange: rewrite most part of the file loading/searching to ↵rubidium
be more flexible. -Codechange: add support for personal directories on Windows. -Fix [FS#153, FS#193, FS#502, FS#816, FS#854]: fix issues related to fixed names, fixed places of files/directories and application bundles.
2007-06-13(svn r10145) -Fix: make compiling with networking disabled (again) possible.rubidium
2007-06-04(svn r10036) -Add: sort the strings in town names dropdownglx
2007-06-04(svn r10032) -Add: sort the strings in server language dropdownglx
2007-05-19(svn r9874) -Feature: advanced vehicle lists a.k.a. group interface. Now you ↵rubidium
can make groups of vehicles and perform all kinds of tasks on that given group. Original code by nycom and graphics by skidd13.
2007-04-18(svn r9673) -Cleanup: remove spaces before tabs and replace non-indenting ↵rubidium
tabs with spaces.
2007-04-18(svn r9672) -Cleanup: lots of coding style fixes around operands.rubidium
2007-04-04(svn r9556) -Documentation: doxygen and comment-style changes. 'R', 'S'.. ↵belugas
The end of the preliminary work is near
2007-03-22(svn r9411) -Codechange: Add support for loading of newcargo data.peter1138
2007-03-22(svn r9400) -Codechange: Use some more representative enum names for ↵belugas
landscape types.
2007-03-20(svn r9373) -Fix (r9271): the chosen language was not stored nor read ↵rubidium
properly in/from the cfg.
2007-03-17(svn r9271) -Codechange: make the language pack initialisation a little more ↵rubidium
clear and extendable (more language paths).
2007-03-07(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};rubidium
2007-03-07(svn r9050) -Codechange: Foo(void) -> Foo()rubidium
2007-02-26(svn r8906) -Feature: translation dependant formatting of dates.rubidium
2007-02-20(svn r8826) -Codechange: Replace _cargoc's separate arrays with a regular ↵peter1138
struct array (with accessor) and implement new initialization method using cargo labels.
2007-02-20(svn r8823) -Fix (r8821): wrapping opendir to ottd-specific function failed ↵Darkvater
on non-windows because this wrapper was only active for win32 (thx Rubidium)
2007-02-20(svn r8821) -Regression: Unable to browse directories on *nix if the ↵Darkvater
filesystem is not in UTF-8 charset and special characters are used. The string passed to opendir() which is UTF-8 was not parsed back to the filesystem format. Use a wrapper called ttd_opendir() instead of redefining opendir itself.
2007-02-13(svn r8707) -Codechange: Turn IsValidStation into a method of Stationcelestar
2007-01-30(svn r8464) -Revert (r4322): Change back to converting to mph in the GUI ↵peter1138
code, as 1 mph == 1.6 km/h is too far out for some people.
2007-01-23(svn r8376) -Codechange: remove unused tablerubidium
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