summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-07-16(svn r2587) - Fix: Don't close the save-thread if it wasn't started because ↵Darkvater
of some error or a network-server
2005-07-15(svn r2586) - Fix [Makefile]: add mersenne.c to VS.NET2003 project fileDarkvater
2005-07-15(svn r2585) - Fix [Makefile]: some small cleanups, remove warnings, and add ↵Darkvater
mersenne to makefile (Luca)
2005-07-15(svn r2584) - Fix: Game no longer asserts when you use the remove-road tool ↵Darkvater
on a town building or industry.
2005-07-15(svn r2583) Move OS specific code out of misc.cludde
Added support for Mersenne Twister random number generator (not implemented in network yet) Wrap player randoms around #ifdef
2005-07-15(svn r2582) Fix: Prevent generating unrealistically many Oil refineries on ↵ludde
large maps. They are always placed next to the borderline, so the perimeter is used instead of area to scale the number of those industries.
2005-07-15(svn r2581) Fix: Behave a bit safer if central server sends bogus ↵ludde
information about clients. Change: Made code a little bit more readable by putting _selected_item in a local var with a shorter name.
2005-07-15(svn r2580) Change: Added {INDUSTRY} command for printing industry names ↵ludde
instead of the old {TOWN} {STRING} way. - The formatting of the industry name can be controlled with the string STR_INDUSTRY_FORMAT. Change: Changed several occurences of {STRING1} into {TOWN} to get rid of townnametype being used directly.
2005-07-15(svn r2579) Change some strgen errors into warnings to prevent build from ↵ludde
stopping.
2005-07-15(svn r2578) translation fixmiham
2005-07-15(svn r2577) [Translators] Updated translations to 20050715 (26 lang(s))miham
2005-07-15(svn r2576) -Fix: Whitespace. Somehow a commit bypassed the pre-commit hookcelestar
2005-07-15(svn r2574) Fix: AnimatedTile leak in town_cmd.c (this one has probably been ↵ludde
here since day 1)
2005-07-15(svn r2573) Codechange: Removed WDF_RESTORE_DPARAM, it's not needed with the ↵ludde
new string system. Also fixed a bug introduced in r2564, forgot to remove 4 global variables in network_gui.c.
2005-07-15(svn r2572) - Codechange: [string] Changed string system so it's not as ↵ludde
dependent on decode_parameters - Feature: [strgen] Allow changing the order of parameters in translated strings. - Use {1:TOWN} syntax to set the order. - Codechange: [strgen] Rewrote lots of strgen internals.
2005-07-15(svn r2571) Add explicit type Pixel for ... Pixelstron
2005-07-15(svn r2570) Fix: Removed some code that had no effect.ludde
2005-07-15(svn r2569) Get rid of some dubious casts and thus warnings on 64bit machinestron
2005-07-15(svn r2568) Small cleanup in strgen: static, bracing, ...tron
2005-07-14(svn r2567) [Translators] Updated translations to 20050714 (2 lang(s))miham
2005-07-14(svn r2566) Rename COMMA{8,16,32} to just COMMA, because it's the same anywaytron
2005-07-14(svn r2565) Fix: Remove GetParamInt8, GetParamInt16, GetParamUint16.. they ↵ludde
are just confusing and just do the same thing as GetParamInt32
2005-07-14(svn r2564) Fix: Fixed conceptual issue in network_gui.c. AllocateName is ↵ludde
not meant to be used by GUI-code, because it modifies the "game-state". Added a way to bind a C-string to an openttd string which doesn't modify the game state.
2005-07-14(svn r2563) -Fix: [1209084] Spaces in the path to the MIDI files caused the ↵tron
win32 MIDI player to fail
2005-07-13(svn r2562) Fix: Merged {NUMU16}, {INT32}. They do the same thing now.ludde
2005-07-13(svn r2561) Fix: Remove {COMMA16} and {COMMA8}. Those are not needed anymore.ludde
2005-07-13(svn r2560) Fix: various minor code changes.ludde
Added RandomTile/RandomTileSeed functions to generate a random tile. Changed landscape routines so they don't assume that the Y map side is a power of two. (support for this is not complete, though) Changed some frequently used map macros to not compute the values each time. Silence some warnings on MSVC.
2005-07-13(svn r2559) Cleaned up new saveload code for the mapludde
2005-07-13(svn r2558) Change the internal map format from 7 arrays to one array of ↵tron
structs, this doesn't change the saved format for now. It's a stepping stone for further changes.
2005-07-13(svn r2557) -Add: Added the AUTOBRIEF option to the Doxyfilecelestar
2005-07-12(svn r2556) -Fix: update newline style of new files to native. Don't forget ↵Darkvater
this when you add a new file! 'svn ps svn:eol-style native <file>'
2005-07-12(svn r2555) Initialise since r2553 uninitialised variable and remove since ↵tron
r2553 unused array (ludde)
2005-07-12(svn r2554) - Fix: [pathfinding] Change to using some helper functions for ↵ludde
checking the railtype.
2005-07-12(svn r2553) - Fix: [pathfinding] Remove old-old train pathfinder. Enhanced ↵ludde
old pathfinder. - Penalties for red signals and for slopes. - Increased the search depth to work better with large train networks.
2005-07-12(svn r2552) - Fix: [map] Fix so the code compiles correctly and doesn't ↵ludde
crash on MSVC6 in optimization mode.
2005-07-12(svn r2551) [Translations] Added slovenian language (~20% complete)miham
2005-07-12(svn r2550) raise 32767 limit of gamma values, and 16MB limit of RIFF chunks ↵ludde
in saveload code.
2005-07-12(svn r2549) [Translators] Updated translations to 20050712 (1 lang(s))miham
2005-07-12(svn r2548) -Fix: blinking 'lock' gfx in multiplayer games. Some pixels had ↵Darkvater
special values that triggered palette-change
2005-07-11(svn r2547) [Translators] Updated translations to 20050711 (3 lang(s))miham
2005-07-11(svn r2546) Don't calculate a value which never gets used and simplify some ↵tron
calculations
2005-07-11(svn r2545) -Fix: Modified the Doxyfile so that it works on other computers ↵celestar
(than mine) as well :)
2005-07-11(svn r2544) -Add: Added the Doxyfile to the trunk. run "doxygen" to generate ↵celestar
html-based documentation on the source code on the fly (about 9MB in size currently). documentation will be stored in docs/source/html/ (request by blathijs)
2005-07-10(svn r2543) [Translators] Updated translations to 20050710 (2 lang(s))miham
2005-07-10(svn r2542) -Add: [GPMI] Added GPMI (http://sourceforge.net/projects/libgpmi/) truelight
support to OpenTTD in preperation of AIScripts (long term). It is OFF by default. Add GPMI:=1 to Makefile.config to enable.
2005-07-10(svn r2541) -Feature: Modified IsCompatibleRail so that an engine can move ↵celestar
on more than one railtype (like Diesel engines on electrified rail). -Codechange: Use IsCompatibleRail where it should be used
2005-07-09(svn r2540) [Translators] Updated translations to 20050709 (12 lang(s))miham
2005-07-09(svn r2539) * Fix: Mixed up use of trackdirs and directions in ↵matthijs
GetTileRailType() causes NPF to not consider routes under bridges.
2005-07-09(svn r2538) - Fix: Use IsCompatibleRailType() function instead of checking ↵hackykid
this yourself.
2005-07-09(svn r2537) Small changes, especially use fprintf to stderr for warnings and ↵tron
errors instead of plain printf