Age | Commit message (Collapse) | Author |
|
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.
|
|
names. The number of generated towns is then limited by the number of available names.
|
|
|
|
The width was not calculated using unsigned values, so all characters above 128 were "negative"
- Codechange: a more proper check for a null pointer in tunnelbridge_cmd.c should have gone in with the previous commit
|
|
checked properly.
|
|
other cargo types besides passengers and mail
|
|
town-rating
|
|
Performance Rating
|
|
as param
|
|
- VERBOSE has now greater effect, many previously hidden commands
are now shown on the terminal as they are executed. (Use $(Q)
instead of @ where the command should be shown if VERBOSE.)
- Compilation commands redundancy was eliminated.
- Compilation commands calling generalized so that the VERBOSE
support does not further entangle the code. The commands are now
all at a single place, before the targets in a "Build commands"
section.
Note that this changeset has a character of proposal. If you do not
like the direction it takes at all, feel free to revert it (probably
together with the previous VERBOSE patch). However, I believe it
improves the code by bringing the compilation commands to a single
place and it greatly improves the VERBOSE support, too (and makes it
much less intrusive).
|
|
inspiration comes from patch 1149710 by Mr. Nobody. Also fixes the comment describing what to do if one's system doesn't have ifaddrs.h.
|
|
invocations to be shown instead of ===> Brief summaries.
|
|
optimized MSVC6. MSVC6 workaround as it's too stupid again for its own good
|
|
|
|
Some bridges still had the old single-tile bridge bug that was caused by improper town growth in combination with DC_AUTO. Fixed the scenario.
|
|
|
|
|
|
nice to also update the savegame format when you update town statistics :)
|
|
pressing enter!. Signs in Scenario Editor have no owner so ignore that.
|
|
|
|
cleaned all its windows need to be closed. For global vehicle lists, the no-staiton index of -1 was not taken into account
|
|
Mapwrap fixed in ship_cmd.c (was implicitely ok before biggermaps).
- CodeChange: rename all vehicle controllers to ...Controller for their similar behaviour
|
|
|
|
to r1902
|
|
|
|
bug with a sloppy termination of a string. When any editbox is open, scrolling is disabled. If any new types of editboxes come up, please use SET/CLRBIT of _no_scroll with its unique identifier (ttd.h)
|
|
|
|
into the wall
|
|
more appropriate headers
|
|
because your name is in use are virtual though so if name "b" is in use your name will become "b #1", renaming yourself again to "b" will become "b #2", and will toggle between these two.
|
|
|
|
|
|
handling of text with that of editboxes
- Codechange: Introduction of Textbuf struct which not only holds physical data as length but also pixel-constrains (width) and information about the caret
- Codechange: Move Clipboard function to OS specific file. Currently only Windows has clipboard actions
- Feature: Editboxes, console and exit screen also accept the numeric-enter as a yes
- Feature: Navigation through text with cursor keys is possible, as well as arbitrary insertion (also paste) and deletion; both backspace and del keys. Functions DeleteTextBufferChar, InsertTextBufferChar and InsertTextBufferClipboard handle input and deletion. Navigation is done through MoveTextBufferPos.
- Fix: OTTD crash when opening 'add server' editbox
- CodeChange: fix up some stringwidth calculations in gfx.c. You can get the width in pixels of a character by calling GetCharacterWidth().
|
|
|
|
can now be altered
|
|
|
|
split the combined edit/original buffer into two
|
|
difficulty, 'Load game' starts game with user-selected values.
|
|
them as non-sprites resulted in yet another endianess issue. This fixes the problem introduced in r1855
|
|
|
|
newline terminated. Also print an error message if something goes wrong while reading from the script file
|
|
|
|
are no Windows .grfs but at least one DOS .grf
|
|
console command
|
|
Now ottd bails out with an error message instead of segfaulting.
This is far from perfect, some checks after loading a savegame should be added.
|
|
|
|
strgen (Lauri Nurmi)
|
|
|
|
really unneeded from windows builds. And put back 'treat warnings as errors' flag.
|
|
|