------------------------------------------------------------------------ r2593 | miham | 2005-07-16 17:46:58 +0000 (Sat, 16 Jul 2005) | 1 line [Translators] Updated translations to 20050716 (27 lang(s)) ------------------------------------------------------------------------ r2592 | ludde | 2005-07-16 17:12:32 +0000 (Sat, 16 Jul 2005) | 4 lines Feature: [strgen] New way to specify plural forms. - {NUM} {PLURAL 0 car cars}: Prints either car or cars depending on if the argument 0 is plural. Also supports languages with weird plural forms such as Polish. The plural format needs to be specified in the beginning of the langfile, like "##plural 7" for Polish. ------------------------------------------------------------------------ r2591 | ludde | 2005-07-16 15:05:52 +0000 (Sat, 16 Jul 2005) | 1 line Codechange: [network] Cleanup NetworkHandleCommandQueue ------------------------------------------------------------------------ r2590 | ludde | 2005-07-16 14:29:36 +0000 (Sat, 16 Jul 2005) | 1 line Fix: [network] Fixed NetworkHandleLocalQueue ------------------------------------------------------------------------ r2589 | ludde | 2005-07-16 12:59:23 +0000 (Sat, 16 Jul 2005) | 1 line Fix: [network] Fixed static variable that wasn't initialized. Would stop the sync checking from working in some cases. ------------------------------------------------------------------------ r2588 | ludde | 2005-07-16 12:30:03 +0000 (Sat, 16 Jul 2005) | 1 line Codechange: Remove PLAYER_SEED_RANDOM ------------------------------------------------------------------------ r2587 | Darkvater | 2005-07-16 09:55:31 +0000 (Sat, 16 Jul 2005) | 1 line - Fix: Don't close the save-thread if it wasn't started because of some error or a network-server ------------------------------------------------------------------------ r2586 | Darkvater | 2005-07-15 21:31:09 +0000 (Fri, 15 Jul 2005) | 1 line - Fix [Makefile]: add mersenne.c to VS.NET2003 project file ------------------------------------------------------------------------ r2585 | Darkvater | 2005-07-15 21:28:26 +0000 (Fri, 15 Jul 2005) | 1 line - Fix [Makefile]: some small cleanups, remove warnings, and add mersenne to makefile (Luca) ------------------------------------------------------------------------ r2584 | Darkvater | 2005-07-15 21:17:38 +0000 (Fri, 15 Jul 2005) | 1 line - Fix: Game no longer asserts when you use the remove-road tool on a town building or industry. ------------------------------------------------------------------------ r2583 | ludde | 2005-07-15 20:29:06 +0000 (Fri, 15 Jul 2005) | 3 lines Move OS specific code out of misc.c Added support for Mersenne Twister random number generator (not implemented in network yet) Wrap player randoms around #ifdef ------------------------------------------------------------------------ r2582 | ludde | 2005-07-15 19:51:54 +0000 (Fri, 15 Jul 2005) | 1 line Fix: Prevent generating unrealistically many Oil refineries on 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. ------------------------------------------------------------------------ r2581 | ludde | 2005-07-15 18:43:39 +0000 (Fri, 15 Jul 2005) | 2 lines Fix: Behave a bit safer if central server sends bogus information about clients. Change: Made code a little bit more readable by putting _selected_item in a local var with a shorter name. ------------------------------------------------------------------------ r2580 | ludde | 2005-07-15 18:30:13 +0000 (Fri, 15 Jul 2005) | 3 lines Change: Added {INDUSTRY} command for printing industry names 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. ------------------------------------------------------------------------ r2579 | ludde | 2005-07-15 17:59:55 +0000 (Fri, 15 Jul 2005) | 1 line Change some strgen errors into warnings to prevent build from stopping. ------------------------------------------------------------------------ r2578 | miham | 2005-07-15 17:58:31 +0000 (Fri, 15 Jul 2005) | 1 line translation fix ------------------------------------------------------------------------ r2577 | miham | 2005-07-15 17:45:54 +0000 (Fri, 15 Jul 2005) | 1 line [Translators] Updated translations to 20050715 (26 lang(s)) ------------------------------------------------------------------------ r2576 | celestar | 2005-07-15 16:50:39 +0000 (Fri, 15 Jul 2005) | 1 line -Fix: Whitespace. Somehow a commit bypassed the pre-commit hook ------------------------------------------------------------------------ r2574 | ludde | 2005-07-15 16:29:30 +0000 (Fri, 15 Jul 2005) | 1 line Fix: AnimatedTile leak in town_cmd.c (this one has probably been here since day 1) ------------------------------------------------------------------------ r2573 | ludde | 2005-07-15 15:09:52 +0000 (Fri, 15 Jul 2005) | 2 lines Codechange: Removed WDF_RESTORE_DPARAM, it's not needed with the new string system. Also fixed a bug introduced in r2564, forgot to remove 4 global variables in network_gui.c. ------------------------------------------------------------------------ r2572 | ludde | 2005-07-15 14:53:44 +0000 (Fri, 15 Jul 2005) | 4 lines - Codechange: [string] Changed string system so it's not as 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. ------------------------------------------------------------------------ r2571 | tron | 2005-07-15 14:16:14 +0000 (Fri, 15 Jul 2005) | 1 line Add explicit type Pixel for ... Pixels ------------------------------------------------------------------------ r2570 | ludde | 2005-07-15 12:16:16 +0000 (Fri, 15 Jul 2005) | 1 line Fix: Removed some code that had no effect. ------------------------------------------------------------------------ r2569 | tron | 2005-07-15 09:01:23 +0000 (Fri, 15 Jul 2005) | 1 line Get rid of some dubious casts and thus warnings on 64bit machines ------------------------------------------------------------------------ r2568 | tron | 2005-07-15 07:48:17 +0000 (Fri, 15 Jul 2005) | 1 line Small cleanup in strgen: static, bracing, ... ------------------------------------------------------------------------ r2567 | miham | 2005-07-14 17:45:02 +0000 (Thu, 14 Jul 2005) | 1 line [Translators] Updated translations to 20050714 (2 lang(s)) ------------------------------------------------------------------------ r2566 | tron | 2005-07-14 15:10:20 +0000 (Thu, 14 Jul 2005) | 1 line Rename COMMA{8,16,32} to just COMMA, because it's the same anyway ------------------------------------------------------------------------ r2565 | ludde | 2005-07-14 09:53:52 +0000 (Thu, 14 Jul 2005) | 1 line Fix: Remove GetParamInt8, GetParamInt16, GetParamUint16.. they are just confusing and just do the same thing as GetParamInt32 ------------------------------------------------------------------------ r2564 | ludde | 2005-07-14 09:43:59 +0000 (Thu, 14 Jul 2005) | 2 lines Fix: Fixed conceptual issue in network_gui.c. AllocateName is 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. ------------------------------------------------------------------------ r2563 | tron | 2005-07-14 06:10:23 +0000 (Thu, 14 Jul 2005) | 1 line -Fix: [1209084] Spaces in the path to the MIDI files caused the win32 MIDI player to fail ------------------------------------------------------------------------ r2562 | ludde | 2005-07-13 20:41:44 +0000 (Wed, 13 Jul 2005) | 1 line Fix: Merged {NUMU16}, {INT32}. They do the same thing now. ------------------------------------------------------------------------ r2561 | ludde | 2005-07-13 20:35:52 +0000 (Wed, 13 Jul 2005) | 1 line Fix: Remove {COMMA16} and {COMMA8}. Those are not needed anymore. ------------------------------------------------------------------------ r2560 | ludde | 2005-07-13 19:51:31 +0000 (Wed, 13 Jul 2005) | 5 lines Fix: various minor code changes. 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. ------------------------------------------------------------------------ r2559 | ludde | 2005-07-13 18:46:51 +0000 (Wed, 13 Jul 2005) | 1 line Cleaned up new saveload code for the map ------------------------------------------------------------------------ r2558 | tron | 2005-07-13 18:04:01 +0000 (Wed, 13 Jul 2005) | 1 line Change the internal map format from 7 arrays to one array of structs, this doesn't change the saved format for now. It's a stepping stone for further changes. ------------------------------------------------------------------------ r2557 | celestar | 2005-07-13 09:51:01 +0000 (Wed, 13 Jul 2005) | 1 line -Add: Added the AUTOBRIEF option to the Doxyfile ------------------------------------------------------------------------ r2556 | Darkvater | 2005-07-12 21:27:56 +0000 (Tue, 12 Jul 2005) | 1 line -Fix: update newline style of new files to native. Don't forget this when you add a new file! 'svn ps svn:eol-style native ' ------------------------------------------------------------------------ r2555 | tron | 2005-07-12 21:13:30 +0000 (Tue, 12 Jul 2005) | 1 line Initialise since r2553 uninitialised variable and remove since r2553 unused array (ludde) ------------------------------------------------------------------------ r2554 | ludde | 2005-07-12 20:41:17 +0000 (Tue, 12 Jul 2005) | 1 line - Fix: [pathfinding] Change to using some helper functions for checking the railtype. ------------------------------------------------------------------------ r2553 | ludde | 2005-07-12 20:28:19 +0000 (Tue, 12 Jul 2005) | 3 lines - Fix: [pathfinding] Remove old-old train pathfinder. Enhanced old pathfinder. - Penalties for red signals and for slopes. - Increased the search depth to work better with large train networks. ------------------------------------------------------------------------ r2552 | ludde | 2005-07-12 19:57:41 +0000 (Tue, 12 Jul 2005) | 1 line - Fix: [map] Fix so the code compiles correctly and doesn't crash on MSVC6 in optimization mode. ------------------------------------------------------------------------ r2551 | miham | 2005-07-12 19:51:58 +0000 (Tue, 12 Jul 2005) | 1 line [Translations] Added slovenian language (~20% complete) ------------------------------------------------------------------------ r2550 | ludde | 2005-07-12 19:15:56 +0000 (Tue, 12 Jul 2005) | 1 line raise 32767 limit of gamma values, and 16MB limit of RIFF chunks in saveload code. ------------------------------------------------------------------------ r2549 | miham | 2005-07-12 17:45:09 +0000 (Tue, 12 Jul 2005) | 1 line [Translators] Updated translations to 20050712 (1 lang(s)) ------------------------------------------------------------------------ r2548 | Darkvater | 2005-07-12 10:50:56 +0000 (Tue, 12 Jul 2005) | 1 line -Fix: blinking 'lock' gfx in multiplayer games. Some pixels had special values that triggered palette-change ------------------------------------------------------------------------ r2547 | miham | 2005-07-11 17:45:26 +0000 (Mon, 11 Jul 2005) | 1 line [Translators] Updated translations to 20050711 (3 lang(s)) ------------------------------------------------------------------------ r2546 | tron | 2005-07-11 15:47:20 +0000 (Mon, 11 Jul 2005) | 1 line Don't calculate a value which never gets used and simplify some calculations ------------------------------------------------------------------------ r2545 | celestar | 2005-07-11 09:12:41 +0000 (Mon, 11 Jul 2005) | 2 lines -Fix: Modified the Doxyfile so that it works on other computers (than mine) as well :) ------------------------------------------------------------------------ r2544 | celestar | 2005-07-11 09:00:49 +0000 (Mon, 11 Jul 2005) | 4 lines -Add: Added the Doxyfile to the trunk. run "doxygen" to generate 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) ------------------------------------------------------------------------ r2543 | miham | 2005-07-10 17:46:07 +0000 (Sun, 10 Jul 2005) | 1 line [Translators] Updated translations to 20050710 (2 lang(s)) ------------------------------------------------------------------------ r2542 | truelight | 2005-07-10 14:57:43 +0000 (Sun, 10 Jul 2005) | 4 lines -Add: [GPMI] Added GPMI (http://sourceforge.net/projects/libgpmi/) support to OpenTTD in preperation of AIScripts (long term). It is OFF by default. Add GPMI:=1 to Makefile.config to enable. ------------------------------------------------------------------------ r2541 | celestar | 2005-07-10 01:25:17 +0000 (Sun, 10 Jul 2005) | 5 lines -Feature: Modified IsCompatibleRail so that an engine can move on more than one railtype (like Diesel engines on electrified rail). -Codechange: Use IsCompatibleRail where it should be used ------------------------------------------------------------------------