Commit Graph

2064 Commits (2fa79c9b4d140f78e5e6392aded7beebeec5c230)
 

Author SHA1 Message Date
ludde 2fa79c9b4d (svn r2572) - 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.
19 years ago
tron 8f71864bef (svn r2571) Add explicit type Pixel for ... Pixels 19 years ago
ludde b21ee889fe (svn r2570) Fix: Removed some code that had no effect. 19 years ago
tron a9b4e7963b (svn r2569) Get rid of some dubious casts and thus warnings on 64bit machines 19 years ago
tron a9aa4dc61b (svn r2568) Small cleanup in strgen: static, bracing, ... 19 years ago
miham 90e2a41027 (svn r2567) [Translators] Updated translations to 20050714 (2 lang(s)) 19 years ago
tron b4f549f4ee (svn r2566) Rename COMMA{8,16,32} to just COMMA, because it's the same anyway 19 years ago
ludde 53851d5e77 (svn r2565) Fix: Remove GetParamInt8, GetParamInt16, GetParamUint16.. they are just confusing and just do the same thing as GetParamInt32 19 years ago
ludde 3e62457107 (svn r2564) 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.
19 years ago
tron 1a046ff4c6 (svn r2563) -Fix: [1209084] Spaces in the path to the MIDI files caused the win32 MIDI player to fail 19 years ago
ludde be98b1bf7e (svn r2562) Fix: Merged {NUMU16}, {INT32}. They do the same thing now. 19 years ago
ludde a1ec4aff77 (svn r2561) Fix: Remove {COMMA16} and {COMMA8}. Those are not needed anymore. 19 years ago
ludde 6013b327f7 (svn r2560) 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.
19 years ago
ludde 4b006aa6cf (svn r2559) Cleaned up new saveload code for the map 19 years ago
tron 8c1d74162f (svn r2558) 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. 19 years ago
celestar 1a1dde7c8d (svn r2557) -Add: Added the AUTOBRIEF option to the Doxyfile 19 years ago
Darkvater 4c8e6bbbb3 (svn r2556) -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 <file>' 19 years ago
tron 9c94a0ed6f (svn r2555) Initialise since r2553 uninitialised variable and remove since r2553 unused array (ludde) 19 years ago
ludde ebe3b89b98 (svn r2554) - Fix: [pathfinding] Change to using some helper functions for checking the railtype. 19 years ago
ludde f523be81d4 (svn r2553) - 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.
19 years ago
ludde dc9b51f110 (svn r2552) - Fix: [map] Fix so the code compiles correctly and doesn't crash on MSVC6 in optimization mode. 19 years ago
miham 9a1b3fc181 (svn r2551) [Translations] Added slovenian language (~20% complete) 19 years ago
ludde b5a30ed0fc (svn r2550) raise 32767 limit of gamma values, and 16MB limit of RIFF chunks in saveload code. 19 years ago
miham 6ea60aba31 (svn r2549) [Translators] Updated translations to 20050712 (1 lang(s)) 19 years ago
Darkvater b867b113cc (svn r2548) -Fix: blinking 'lock' gfx in multiplayer games. Some pixels had special values that triggered palette-change 19 years ago
miham db04a7cb35 (svn r2547) [Translators] Updated translations to 20050711 (3 lang(s)) 19 years ago
tron 9c3188741f (svn r2546) Don't calculate a value which never gets used and simplify some calculations 19 years ago
celestar f479013b14 (svn r2545) -Fix: Modified the Doxyfile so that it works on other computers (than mine) as well :) 19 years ago
celestar a63bb6f650 (svn r2544) -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)
19 years ago
miham 8c0dfab281 (svn r2543) [Translators] Updated translations to 20050710 (2 lang(s)) 19 years ago
truelight 3c9456dd45 (svn r2542) -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.
19 years ago
celestar b45eee3157 (svn r2541) -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
19 years ago
miham 5286a014ec (svn r2540) [Translators] Updated translations to 20050709 (12 lang(s)) 19 years ago
matthijs ff0383dace (svn r2539) * Fix: Mixed up use of trackdirs and directions in GetTileRailType() causes NPF to not consider routes under bridges. 19 years ago
hackykid 418e032fac (svn r2538) - Fix: Use IsCompatibleRailType() function instead of checking this yourself. 19 years ago
tron 6cef71b1b2 (svn r2537) Small changes, especially use fprintf to stderr for warnings and errors instead of plain printf 19 years ago
Darkvater 6a645a3eb8 (svn r2536) - Fix: [ 1215999 ] Segmentation fault in main menu - corrupted sample.cat. Flush the output buffer to print the error message before the game crashes. (mcmohr) 19 years ago
tron 1b4a0897b6 (svn r2535) Tabs 19 years ago
tron 83f72f696a (svn r2534) Small cleanup 19 years ago
tron 3f91650d6e (svn r2533) Move misplaced parenthesis, found by ludde 19 years ago
hackykid fbe617baba (svn r2532) - Fix: Don't waste space using an int where a byte would suffice. (ludde) 19 years ago
miham 15a783ef82 (svn r2531) [Translators] Updated translations to 20050708 (1 lang(s)) 19 years ago
Darkvater a014ef6340 (svn r2530) - Fix: [ 1219829 ] Mouse-wheel crashes OTTD. Widget detection failed to detect the most-right and most-bottom pixels of a widget. If scrollwheel is used on a not-found widget (such as the background of the toolbar), it will now fail correctly (glx) 19 years ago
Darkvater 480ced43c9 (svn r2529) - Fix: PBS signals showed up as normal signals with the query tool
- Update landscape_grid.html to show busy bits used by PBS.
19 years ago
Darkvater edcccb6ab2 (svn r2528) - Fix: TTDPatch games had garbage in _map3[hi]&0xF0 which interfered with OpenTTD PBS functionality; fixed in oldloader
- Fix: TTD AI internals are still a puzzle and the AI in state 'SellVehicle' doesn't have a valid vehicle, so change the state to something harmless. Both fixed make sure that Megarail TTD scenario works
19 years ago
Darkvater 86d6cebb53 (svn r2527) - Clarify map-description file. Bits are from left to right with the lowest bit on the left. Eg. 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ... Is that clear? 19 years ago
hackykid e5df099c9b (svn r2525) - Fix: [pbs] Fix a mistake in the comments/docs. 19 years ago
Darkvater e4215f1751 (svn r2524) - Add pbs.[ch] to VS.NET2003 and VS6 project files. 19 years ago
tron 513dc78ebc (svn r2523) Readd a comment which got lost in r2522 19 years ago
tron a06b2fdc44 (svn r2522) Reorganize sprite load and decompression in order to remove a special case from the sprite blitter, which decompressed certain sprites every time when blitting them 19 years ago