1
0
Fork 0

Commit Graph

  • f89984642e (svn r2074) MouseLoop -> InputLoop(), factor out a real mouse-specific MouseLoop from the new InitLoop() (more in the spirit of HandleKeypress()). pasky 2005-03-26 04:16:39 +0000
  • d4b3469e2f (svn r2073) - Fix: Fixed an apparent oversight in AddTextMessage() which is likely to have caused some messages not expiring from the chatterbox after the given time, as reported by dp-. pasky 2005-03-26 04:02:50 +0000
  • 7340aa5b8e (svn r2072) Use lengthof() instead of a home brewed version tron 2005-03-25 20:37:06 +0000
  • 67d2ada020 (svn r2071) - Feature: [ 1168743 ] save command for console: "save <filename>" to save a game (pkirchhofer) Darkvater 2005-03-25 20:20:23 +0000
  • b909a1f775 (svn r2070) - VS.NET: remove all superflouos file compilation directives (inherit setting from project defaults), except for w32dm.c which has to be C++. darkvater 2005-03-25 20:15:00 +0000
  • 3855c7f92f (svn r2069) - Feature: [ 1168743 ] save command for console (pkirchhofer) Darkvater 2005-03-25 18:26:49 +0000
  • c4f1d4dfed (svn r2068) - MSVC: [ 1167036 ] MSVC 6/.NET update for 2 new languages (bociusz) Darkvater 2005-03-25 18:11:24 +0000
  • 5ce3537ef0 (svn r2067) - CodeChange: [ 1166931 ] Small OS/2 patch: SVN version detection (orudge) Darkvater 2005-03-25 18:04:04 +0000
  • 7da3b3b92d (svn r2066) - Fix: [ 1164248 ] game crash while AI builds bridge. Also protect bridge building against invalid bridges and some safeguards when drawing. Darkvater 2005-03-25 17:30:54 +0000
  • 05dbeaeba4 (svn r2065) -Fix: reverted revision 2044, because it had more negative effects than positive truelight 2005-03-25 16:10:33 +0000
  • 339785dad7 (svn r2064) - Codechange: GetVehicleSpriteGroup() cleanup - drop overriding_engine, which was around probably only for historical reasons. (Paralellily developed by HackyKid.) pasky 2005-03-25 16:07:35 +0000
  • 7fceb7ea86 (svn r2063) Fix: the 0x40 deterministic spritegroup for vehicles was wrong, modified to match the wiki again. (The wiki was partially wrong, too! ;) (Patch by HackyKid.) pasky 2005-03-25 15:31:01 +0000
  • 44f3702919 (svn r2062) - Set native eol-style on some OS specific files to allow cross-OS diff patching #2 darkvater 2005-03-25 15:30:51 +0000
  • e94a921c2b (svn r2061) - Set native eol-style on some OS specific files to allow cross-OS diff patching Darkvater 2005-03-25 15:18:00 +0000
  • 9832a691fe (svn r2060) Clean up some string construction and remove now unused macro tron 2005-03-25 14:19:33 +0000
  • 6d75cce924 (svn r2059) -Codechange: rewrote SetSignalsAfterProc so now the tiles from the PF are checked against the vehicle-position-hash, instead all vehicles to the PF-position-hash. Big speed increase (function usages drops from 9% to 0.5%!) for maps with a lot of trains. truelight 2005-03-25 13:37:37 +0000
  • 1eab014524 (svn r2058) -Fix: hopefully this fixes the reverse-train-in-depot-bugs (plural) truelight 2005-03-25 12:07:26 +0000
  • 0c325e10da (svn r2057) Add InlineString() to make _userstring construction a bit cleaner. tron 2005-03-25 11:32:58 +0000
  • 9cde836d08 (svn r2056) -Fix: [ 1166999 ] Strange cast removed. Thanks Tron celestar 2005-03-25 11:03:05 +0000
  • 6e142d523e (svn r2055) -CodeChange: Begun introducting StationID celestar 2005-03-25 10:40:58 +0000
  • 75bc6cd7e7 (svn r2054) -CodeChange: Removed an unused enum celestar 2005-03-25 09:44:17 +0000
  • b721a08ef2 (svn r2053) - Remove VS.NET dependencies from project file and list properly as additional dependencies. This means you no longer need the lib files for each and every working copy you have checked out. You can either put them in the /lib directory (the header files in the /include dir) or keep them where they were, that continues to work. This concerns WITH_PNG and WITH_ZLIB. darkvater 2005-03-24 20:49:17 +0000
  • 602fda327f (svn r2052) - Fix Regression: ALT+F4 once again shuts down openttd in windows and F10, etc. is fixed. darkvater 2005-03-24 20:47:21 +0000
  • 62b8355af0 (svn r2051) - Remove trailing tabs from vs.net project file - Set proper line-ending for newly added files waypoint.[ch]. PLEASE don't forget this! darkvater 2005-03-24 19:40:48 +0000
  • 16a3bc35c0 (svn r2050) Weekly langfile updates miham 2005-03-24 18:48:20 +0000
  • 9791068844 (svn r2049) -Update: updated project files truelight 2005-03-24 17:50:19 +0000
  • 2423eaac2c (svn r2048) -Fix: deleted a word somehow :s (Tnx Tron!) truelight 2005-03-24 17:33:27 +0000
  • 5972d84c82 (svn r2047) -Fix: never commit your own personal changes... :( truelight 2005-03-24 17:31:55 +0000
  • 83637d164e (svn r2046) -Codechange: moved all waypoint code to waypoint.c/waypoint.h -Codechange: rewrote some functions while moving waypoint-stuff -Add: added support for 64k waypoints -Fix: made the waypoint struct a bit more logic (no bit-fucking) truelight 2005-03-24 17:03:37 +0000
  • f86318407c (svn r2045) -Fix: hopefully fixed the desync problem. Please all test this revision!! (with tnx to Celestar, Hackykid, dp-_ and Tron) truelight 2005-03-24 15:15:06 +0000
  • 1536c3ae5a (svn r2044) -Fix: fix that TriggerVehicle is called from the wrong user truelight 2005-03-24 14:43:40 +0000
  • 9b1e6e6d3e (svn r2043) -Fix: committed too many files in the last commit truelight 2005-03-24 14:33:05 +0000
  • fbb11ea366 (svn r2042) -Fix: forgot to remove a printf ;) truelight 2005-03-24 14:31:27 +0000
  • 88ef277dc3 (svn r2041) -Fix: not all vehicles did get a day_proc call (because of rounding errors) truelight 2005-03-24 13:59:44 +0000
  • ccd6a0614f (svn r2040) Readd check that got accidently removed in r2022 tron 2005-03-24 07:48:04 +0000
  • bfc1d43a27 (svn r2039) IS_RAIL_DEPOT -> IsRailDepot, IS_RAIL_WAYPOINT -> IsRailWaypoint remove now unused enums and remove a redundant condition in one if tron 2005-03-23 21:57:10 +0000
  • 71dba5f511 (svn r2038) -Fix: A player only received the money for one rail when clearing a tile with 2 rails and signals While here rewrite parts of the function to (hopefully) increase clarity tron 2005-03-23 20:02:28 +0000
  • 22c4924040 (svn r2037) uint -> TileIndex, remove pointless casts, const, misc. tron 2005-03-23 11:54:20 +0000
  • 04087c9ac9 (svn r2036) Fix FindNearestHanger(), it never worked correctly because 0xFFFF != 65000 and a 16bit number has no 17th bit While here also do some const gymnastics tron 2005-03-23 11:12:17 +0000
  • b19553574e (svn r2035) - Remove unneeded realloc() - Use TileOffsByDir() instead of home brewed table tron 2005-03-23 08:24:13 +0000
  • fbc2eacade (svn r2034) -Codechange: Replaced the rather meaningless LOAD and UNLOAD flags for depots by something more meaningful celestar 2005-03-20 08:43:29 +0000
  • 087d78d465 (svn r2033) - Fix: Fix some more desync by saving the town growth frequency iterator _cur_town_iter. Needed to bump a svg revision for that thanks to the braindead SlGlob thing, or at least I don't know how to do it without bumping it. pasky 2005-03-20 00:32:26 +0000
  • 1990c139d5 (svn r2032) -Codechange: A less hackish version of SVN version detection for OS/2 (orudge) Celestar 2005-03-19 23:23:56 +0000
  • f179dc7acc (svn r2031) -Fix: Station #256 now gets cargo delivered as well celestar 2005-03-19 23:17:59 +0000
  • f41be0b25a (svn r2030) -Fix: Save _cur_town_ctr with all its bits to prevent desyncs celestar 2005-03-19 22:45:59 +0000
  • 6bd06dbc33 (svn r2029) -Fix: Added files I forgot to svn add the previous commit celestar 2005-03-19 22:41:55 +0000
  • fe8313159a (svn r2028) Added detection of SVN version (rev.c generation) for OS/2, updated readme, initial clipboard support (orudge) celestar 2005-03-19 22:36:13 +0000
  • d2ae7dd186 (svn r2027) Fixed a typo in the brazilian-portuguese language name miham 2005-03-19 22:11:21 +0000
  • d6b8375504 (svn r2026) Moved brasilian_portuguese to finished languages miham 2005-03-19 22:04:59 +0000
  • b3b6eafe1d (svn r2025) Daily langfile changes - 05/03/19 miham 2005-03-19 22:04:36 +0000
  • acb1fb2e30 (svn r2024) -Fix: [autoreplace] reverted all changes involving v->set_for_replacement as they caused desyncs. bjarni 2005-03-19 21:16:22 +0000
  • e12bb5504a (svn r2023) Added brazilian-portuguese translation [yet unfinished] miham 2005-03-19 12:24:51 +0000
  • e5036891f6 (svn r2022) Revise CmdRemoveSingleSignal: Check parameters for validity and simplify the function tron 2005-03-18 07:37:32 +0000
  • ad579912f4 (svn r2021) Fix: Enlarge _cur_town_ctr from byte to uint32 so that all the towns are considered when growing them even for big maps, where much more than 256 towns are around; reported by Tomasz Dubiński <uboottd@hydra.polsl.gliwice.pl>. The savegame still saves just the lowest 8 bits but that doesn't hurt so much. pasky 2005-03-17 23:12:23 +0000
  • cb084f59c2 (svn r2020) Reduce code duplication in the minimap code a bit tron 2005-03-17 16:31:18 +0000
  • f1f70501db (svn r2019) Miscellaneous cleanups, like uint -> TileIndex, >> -> /, if cascade -> switch tron 2005-03-17 09:59:52 +0000
  • 195e515de1 (svn r2018) Yet another workaround tron 2005-03-15 21:07:09 +0000
  • dad3d12406 (svn r2017) Explicitly mark SlReadByte as 'inline' tron 2005-03-15 20:07:46 +0000
  • 42cd07a2e2 (svn r2016) Langfile updates miham 2005-03-15 19:26:46 +0000
  • 61e0dd439f (svn r2015) Use a struct and an inline function for colour masking on the mini-map - this should improve readability a bit tron 2005-03-15 18:31:38 +0000
  • f91f8d9559 (svn r2014) Don't manually inline a piece of code tron 2005-03-15 16:56:05 +0000
  • cf43c7a0e6 (svn r2013) Always ignore SIGPIPE, not only when SDL is used (ShadowJK) tron 2005-03-15 14:23:00 +0000
  • 3763ec7652 (svn r2012) When making a savegame name, don't append the extension, if it is already there tron 2005-03-15 14:06:28 +0000
  • cc99c3e262 (svn r2011) - Fix: [ 1162209 ] Fix OS/2 build (orudge) #2 darkvater 2005-03-15 12:21:59 +0000
  • 2c762a67ab (svn r2010) - Fix: [ 1162209 ] Fix OS/2 build (orudge) darkvater 2005-03-15 12:21:15 +0000
  • 6cbf73a666 (svn r2009) - VS.NET/VS6 removed all builds except for Release and Debug. Also add additional dependencies to the project file instead of in the header file itself. darkvater 2005-03-14 19:27:19 +0000
  • 038e711af2 (svn r2008) - Fix: Added missing file (mixer.[ch]) to VS.NET and VS6 project files. darkvater 2005-03-14 18:20:00 +0000
  • c2fea7b3c6 (svn r2007) - Fix: [NPF] Slope penalties did not work correctly with foundations. (HackyKid) - Fix: [NPF] Stations penalties were not applied correctly, since stations had no base cost. (HackyKid) - Fix: [NPF] Lastred penalty was applied multiple times for every red signal, instead of just the last one. (HackyKid) matthijs 2005-03-14 16:56:05 +0000
  • d631b1fa8c (svn r2006) - Fix: [NPF] Wrong signal detection for last signal red detection. Multiple tracks per tile with only one signal were detected wrong. (HackyKid) matthijs 2005-03-13 17:51:29 +0000
  • de47d0935f (svn r2005) - Fix: fix previous commit. Using 'New Game (scenario)' will use YOUR difficulty settings but ingame options (eg townnames, currency). Also settings are correctly saved when closing the difficulty window now. Darkvater 2005-03-13 11:47:04 +0000
  • 010d1a9be3 (svn r2004) - Fix: [ 1149487 ] Autosave ignoring settings - Fix: [ 1153926 ] All my settings in vain... IGNORED! - Change: I hope I got it all right. Pressing 'New Game' (either choosing random or a preset scenario) and 'Create Scenario' will start a new game with the settings and difficulty in the intro menu. Using 'Load Game' and 'Play Scenario' will take the values from the savegame/scenario itself. Darkvater 2005-03-12 21:21:47 +0000
  • c3f9f5efaf (svn r2003) Remove some now unused filehandling stuff, this should have been part of r1990 tron 2005-03-12 09:48:08 +0000
  • 1cb9ea5c46 (svn r2002) Rename MxActivate to MxActivateChannel, which is more appropriate tron 2005-03-12 09:46:07 +0000
  • 39305c1a7c (svn r2001) Resolve a race condition which could lead to dropped a sound and a memory leak tron 2005-03-12 09:40:29 +0000
  • f04780e66d (svn r2000) Split the sound system into backend (mixer.[ch]) and frontend (sound.[ch]) tron 2005-03-12 09:38:03 +0000
  • 70be35f319 (svn r1999) r1990 broke savegame deletion, fix that [1161729] tron 2005-03-12 09:24:27 +0000
  • e76912303c (svn r1998) Give penalty 100 to the AI for using foundations (buildonslopes). This prevents it from building long road lines on foundations unless really necessary. pasky 2005-03-12 08:52:40 +0000
  • 2d9611f948 (svn r1997) Fixed errorneous tab expansion on the indentation side which happenned in r1993. Pointed out by Tron. pasky 2005-03-12 01:02:17 +0000
  • bf8965a615 (svn r1996) makefile.config -> Makefile.config, that's its name. pasky 2005-03-11 22:48:37 +0000
  • e003532701 (svn r1995) Makefile: Use the install tool instead of mkdir+cp for installing the system-wide stuff, more secure. Based on Peter Brett's patch 1152428. pasky 2005-03-11 22:47:33 +0000
  • 89d1c60c3f (svn r1994) Fix: 1159456 - hopefully prevent the new AI to get stuck in an infinite loop forlorny trying to build its haven. Unintentionally bundled with trivial tidyup. pasky 2005-03-11 22:27:49 +0000
  • f820aa3f60 (svn r1993) Fixed some devious [lack of] tabs usage. pasky 2005-03-11 22:07:20 +0000
  • 83df863b6c (svn r1992) Show the ./svnup.sh output in $PAGER (less if unset). pasky 2005-03-11 19:35:50 +0000
  • fea811a4b7 (svn r1991) - Fix: Fix some of the gaping holes in the colouring, and added some additional info Darkvater 2005-03-11 18:31:56 +0000
  • d755b7908e (svn r1990) Reduce the diff between the OS specific files with respect to file handling and fix some inconsitencies (I hope I didn't break the OS/2 part, couldn't test it, feedback is welcome) tron 2005-03-11 14:14:54 +0000
  • eab8b9a116 (svn r1989) -Feature: Resizable vehicle view windows; this is based on a patch by tmesisbob tron 2005-03-11 13:17:39 +0000
  • e98a7ff239 (svn r1988) - Docs: Added graphical representation of tile-data to docs section Darkvater 2005-03-11 00:32:24 +0000
  • 0b82467cf1 (svn r1987) - Cleanup: remove the last remaining dinosaurs of a dead console Darkvater 2005-03-10 22:03:55 +0000
  • a0ef37e7bc (svn r1986) - Fix: free _config_file when shutting down openttd. Strange that Valgrind didn't catch this, kudos to TrueLight - Feature (small): new command-line option -c <config_file>. You can have OpenTTD load alternative config files with this setup, handy for servers, or for saves from other players if you don't want to rename your own config. This will have to do until all game-related settings are saved ingame. Couldn't find the SF patch, so credits to the guy that wrote it. Darkvater 2005-03-10 21:44:17 +0000
  • 8064254eaf (svn r1985) Automatic langfile updates miham 2005-03-10 16:09:51 +0000
  • 8982342c54 (svn r1984) -Fix: [1155762] Don't try to open the non-existent menu, when F10 is pressed tron 2005-03-10 15:41:25 +0000
  • c26177d14f (svn r1983) Introduce multiple compile time debug levels tron 2005-03-10 15:23:13 +0000
  • ba89c8d580 (svn r1982) -Fix: also windows has no 'fork' option truelight 2005-03-10 10:59:35 +0000
  • 4bf173e9c1 (svn r1981) Typedef some structs and enums tron 2005-03-10 07:01:43 +0000
  • e6feb22411 (svn r1980) Check $DESTDIR if $DEST_DIR was not set. pasky 2005-03-09 23:59:18 +0000
  • e5121e70d0 (svn r1979) Const correctness tron 2005-03-09 21:54:52 +0000
  • 9bd079d425 (svn r1978) - Fix: Plug some memleaks; thanks Valgrind Darkvater 2005-03-09 19:48:20 +0000
  • 9bc68d209f (svn r1977) Typedef some enums and struct plus some minor style changes tron 2005-03-09 19:42:37 +0000
  • e6e3e69da4 (svn r1976) Cleanups - mostly indentation and fiddling with loops tron 2005-03-09 19:09:04 +0000
  • 750a265531 (svn r1975) Minor tweaking of the Czech name generator tables. pasky 2005-03-09 18:19:13 +0000