peter1138
f660d48e6a
(svn r7182) -Feature: Merge utf8 branch. This brings us support for Unicode/UTF-8 and the option for fonts rendered by FreeType. Language changes to come.
2006-11-16 22:05:33 +00:00
peter1138
961eda2a64
(svn r6895) - Fix (r6884): Add 'last' parameter to the town name generators.
2006-10-22 10:08:49 +00:00
bjarni
a9501bef85
(svn r6213) -Fix: Calatan town names was only prefix OR the rest of the string, never both (nars)
2006-08-29 14:45:39 +00:00
rubidium
86dc219b4b
(svn r6204) -Cleanup: replace non-indentation with spaces; like '}<TAB>else {' -> '} else {', tabs between code and comment, etc.
2006-08-28 18:53:03 +00:00
truelight
73cd71db04
(svn r5974) -Codechange: added casts all around the place to make Windows 64bit happy (michi_cc)
2006-08-20 12:09:32 +00:00
bjarni
5787ae7ed9
(svn r5965) -Feature: FS#261 Catalan Town Names generator (arnau)
2006-08-20 09:52:15 +00:00
belugas
66ab487fd2
(svn r5512) Fix : Remove a warning on MakeItalianTownName.
...
While at it, adjust the different parts of the generator.
Now, masculin is not linked to generic suffix,
and feminin is not linked to river-name suffix
2006-07-17 20:27:17 +00:00
belugas
ea8e05320c
(svn r5504) Feature : Added Italian town name generator. (sidew)
2006-07-16 00:32:00 +00:00
tron
772fbda3e3
(svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectacular
2006-06-27 21:25:53 +00:00
celestar
d76279144d
(svn r4639) -Feature: Turkish town names (jnmbk)
2006-05-01 09:25:23 +00:00
bjarni
6ab5bb6070
(svn r3707) -Fix: made the generated Finnish town names sound more Finnish (ln-)
...
note: <ln-> Bjarni: please go ahead and commit it, i'll take the responsibility if something should go wrong.
2006-03-01 19:20:35 +00:00
tron
181d586a7c
(svn r3078) Some more stuff, which piled up:
...
- const, whitespace, indentation, bracing, GB/SB, pointless casts
- use the trinary operator where appropriate
- data types (uint[] -> AcceptedCargo, ...)
- if cascade -> switch
- if (ptr) -> if (ptr != NULL)
- DeMorgan's Law
- Fix some comments
- 0 -> '\0', change magic numbers to symbolic constants
2005-10-23 13:04:44 +00:00
tron
6d7c7e67b2
(svn r3010) Get rid of quite some dubious casts, either by using GB(), proper types or just removing them
2005-10-03 21:20:01 +00:00
Darkvater
4d7e916a09
(svn r2957) - Feature: [ 1263280 ] Danish town names (fey_dk)
2005-09-16 10:37:21 +00:00
tron
647cbd6bdd
(svn r2701) Insert Id tags into all source files
2005-07-24 14:12:37 +00:00
Darkvater
ba8c649fac
(svn r2397) - CodeChange: rename all "ttd" files to "openttd" files.
2005-06-02 19:30:21 +00:00
tron
0f44f9af60
(svn r1977) Typedef some enums and struct plus some minor style changes
2005-03-09 19:42:37 +00:00
pasky
55185ab6aa
(svn r1951) Introduced SeedModChance() (which is like SeedChance() but uses simple modulo instead of bitshifting and multiplication), explained why does it work better, used it in MakeCzechTownName() and added a TODO note about possibly using it in the other town name generators too.
2005-03-06 23:21:57 +00:00
pasky
84e376806e
(svn r1930) Cleaned up the postfix-ending connecting code and introduced some simple postfix-last-letter transformations when the ending first letter is 'i'.
2005-03-05 22:21:02 +00:00
pasky
c91d290e67
(svn r1929) Feature: [namegen] Support for dynamic generation of the Czech town names.
...
The static names are still used in 1/4 of cases. I think the tables for
dynamic generation must look pretty spectacular. :-) New stems are still
needed and there can be occasional glitches, please let me know.
I guess that this method of dynamic generation could be used for at least
Slovak town names, too. And possibly other Slavic languages?
2005-03-05 21:00:13 +00:00
pasky
e6db813ec9
(svn r1926) Codechange: Renamed some of the predefined town names arrays for consistent naming.
...
- name_spanish_1, name_french_1, name_czech_1, name_romanian_1, name_finnish_1
and name_german_hardcoded were renamed to *_real.
- name_slovakish_1 was renamed to name_slovak_real.
- name_finnish_2[ab] was renamed to name_finnish[12].
- Added comment near the town_names setting definition about the "Slovakish"
pigginess.
2005-03-05 14:54:11 +00:00
tron
602954e27f
(svn r1811) Use char for string handling in namegen.[ch]
2005-02-05 23:07:35 +00:00
tron
8f68e8def1
(svn r1810) Move town name generation declarations into a header of their own
2005-02-05 23:03:12 +00:00
tron
36c9758c94
(svn r1803) Move debugging stuff into files of it's own
2005-02-05 15:58:59 +00:00
tron
81ee2d931b
(svn r1610) Remove trailing whitespace (last time ever, i hope)
2005-01-23 13:09:35 +00:00
tron
c736ab2750
(svn r1608) Make ReplaceWords() comprehensible
2005-01-23 12:04:40 +00:00
darkvater
8bec09737f
(svn r1531) -Feature: [1039061] Swiss town-names (vulvulune)
2005-01-15 21:41:49 +00:00
tron
3887cc2e90
(svn r1494) Give GetNumberBasedOnSeed() a bit more sane name: SeedChance()
...
Add SeedChanceBias() which subtracts a bias from SeedChance() to reduce code duplication
While touching the lines anyway sprinkle a bit holy ANSI water (static before inline) and move assignments in the conditions of ifs before the ifs
2005-01-12 22:10:50 +00:00
tron
65fa641ea4
(svn r1492) Reduce strcpy(, "") follwed by strcat() to just strcpy() (Jango)
2005-01-12 21:38:49 +00:00
tron
0c68fb27c1
(svn r1491) Fix bracing style and indentation (Jango)
2005-01-12 21:33:43 +00:00
tron
9a2d325c55
(svn r1490) Restore original town name generation behavior for german and hungarian (Jango)
2005-01-12 21:11:26 +00:00
tron
4450ff105c
(svn r1451) Fix some of the signed/unsigned comparison warnings
2005-01-09 21:25:44 +00:00
miham
d2e02df881
(svn r1450) Updated norwegian townname generation (Simen Graaten)
2005-01-09 20:45:07 +00:00
miham
34dee18a2c
(svn r1438) Added norwegian townnames
2005-01-09 00:17:01 +00:00
dominik
48d92bd59e
(svn r1333) Fix: No crash when creating a game with American town names any more
2005-01-03 11:45:11 +00:00
truelight
d32bfd8adb
(svn r1307) -Fix/feature: rewrote the townname generation code. Code is much more
...
readable now. 'American' is replaces by 'Additional English' (Jango)
2004-12-31 14:43:47 +00:00
tron
6da3e44fc7
(svn r627) Merge r439 to trunk:
...
Cleaned up whitespace in namegen.c
2004-11-15 12:11:43 +00:00
dominik
19533f8992
(svn r270) Fix: [ 1028851 ] automatic and unwanted city renaming
2004-09-16 10:07:52 +00:00
darkvater
72457bac0d
(svn r241) -Fix: Trailing spaces :O
2004-09-13 23:43:54 +00:00
darkvater
c6f48d3de6
(svn r234) -Fix: added missing romanian.txt to VC6, VS.NET and Jamfile project file
...
-Feature: Added romanian town names and currency (Magic_Pixel)
2004-09-13 12:28:11 +00:00
truelight
eb49a19460
(svn r194) -Codechange: stripping trailing-spaces. Please keep this that way!
2004-09-10 19:02:27 +00:00
dominik
9d869aa314
(svn r125) Add: [ 1014684 ] Czech town names (supr)
2004-08-23 21:40:01 +00:00
truelight
b930feb6a6
(svn r112) -Fix: converted all linebreaks to UNIX-linebreak (\n) (forgot one file)
2004-08-22 15:57:46 +00:00
orudge
8644360264
(svn r110) Added modified English town name generator
2004-08-22 15:31:23 +00:00
darkvater
68c9b7c3ad
(svn r66) -Fix Station list updated on station deletion/station rename
...
-Changed debug messages to comply with DEBUG(name, level) heuristics
2004-08-16 14:48:35 +00:00
dominik
6c87ef6c65
(svn r9) Fixed a couple of warnings and minor coding issues
2004-08-10 16:34:01 +00:00
darkvater
a32d8553e7
(svn r5) -Fix: townname generation of TTDLX savegames. All work
...
except for German Townnames (also fix one typo on
English town-names)
-CodeChange: *act_paper to *act_water in Town to
more resemble its use
-Fix: AI players now retain AI status. Since TTDLX
savegame status is not fully documented, some holes
exist (AI state is set to one without a vehicle, otherwise
it crashes)
2004-08-10 14:42:52 +00:00
truelight
efaeb275f7
(svn r1) Import of revision 975 of old (crashed) SVN
2004-08-09 17:04:08 +00:00