1
0
Fork 0

Commit Graph

  • 111e5ef0fd (svn r3274) -Fix: [OSX] added JAGUAR flag to crosscompile for OSX 10.2 (codenamed jaguar) JAGUAR and FAT_BINARY can't be used at the same time JAGUAR will disable network support due to missing libs in 10.2 bjarni 2005-12-09 12:15:52 +0000
  • 578883266f (svn r3273) -Fix: [OSX] PPC part of universal binaries now target 10.3 instead of 10.4 10.2 support appears to be broken right now Changed BUILD_UNIVERSAL_BINARY into FAT_BINARY (I got tired of typing) bjarni 2005-12-09 11:08:24 +0000
  • 05fbf0ada5 (svn r3272) -Fix: [AI] fixed issue in AI that prevented compilation without network support bjarni 2005-12-08 21:12:15 +0000
  • 2148e1fa89 (svn r3271) Remove some debug statements of mine which somehow got into svn. hackykid 2005-12-08 09:12:25 +0000
  • 1c57091230 (svn r3270) Correct all (mis)uses of WWT_CLOSEBOX / WWT_TEXTBTN to reflect their actual use, and add "Close Window" tooltip where missing. peter1138 2005-12-07 15:48:52 +0000
  • 54cb542e1d (svn r3269) -Fix: return CMD_ERROR instead of -1 if AI_DoCommandChecked fails truelight 2005-12-07 14:56:42 +0000
  • bfc8b30325 (svn r3268) moved lithuanian.txt to unfinished as it is broken and haven't been updated for a few months bjarni 2005-12-06 23:37:44 +0000
  • 4bc7265b03 (svn r3267) -Codechange: [OSX] universal binary makefile code cleanup now PPC code is always compiled before x86 code strgen and lng files are only compiled once, which results in shorter building time the makefile now assigns default values to undefined values so much less needs to be set up the code is now easier to maintain bjarni 2005-12-06 22:09:28 +0000
  • 4f9bb11846 (svn r3266) -Codechange: added comments for why the revert of r3625 inside the code. Also, I forgot to tnx GraphiteNL for his help with this problem. Tnx GraphiteNL :) truelight 2005-12-06 17:12:19 +0000
  • af87b2916a (svn r3265) -Fix: partly reverted back r3263, because MSVC, who else, doesn't support variadic macros............ truelight 2005-12-06 17:05:14 +0000
  • 686da2f4e1 (svn r3264) -Codechange: [OSX] OSX targets will now always use the preprocessor to determine endianess this means that ENDIAN_FORCE is obsolite since it's always overwritten with PREPROCESSOR Since the preprocessor should never be able to pick wrong, it's easier this way specially when compiling universal binaries as they got both endianess bjarni 2005-12-06 14:35:10 +0000
  • a3d142ed57 (svn r3263) -Fix: use () around 'variables' in macros, gives less crashes ;) -Fix: va-args in macros are supported via __VA_ARGS__ in C99, so changed to that; now GCC 2.95 likes it too :) truelight 2005-12-06 11:36:46 +0000
  • 1a93bcb5bb (svn r3262) -Fix: [OSX] universal binaries can now include the dynamic SDL lib into the bundle bjarni 2005-12-06 09:27:42 +0000
  • 414481cdd8 (svn r3261) - Autoreplace: If a replaced vehicle had a custom name, transfer it to the new vehicle. Fixes "[ 1370039 ] Autoreplaced vehicles lose their names" peter1138 2005-12-05 16:48:07 +0000
  • 0f2a0df165 (svn r3260) -Add: add events for AIs to check if a command execution failed or succeeded truelight 2005-12-05 12:27:58 +0000
  • 2946f3c1f9 (svn r3259) -Fix: [OSX] fixed that universal binaries did not make a bundle bjarni 2005-12-04 22:43:40 +0000
  • 961b71f434 (svn r3258) -Feature: [OSX] added support for universal binaries it needs both PPC and x86 libs to compile due to this fact, compilation with libPNG or SDL is not tested (dedicated servers only) only PPC part is tested as I don't have x86 OSX bjarni 2005-12-04 17:36:19 +0000
  • 8277a0651e (svn r3257) -Codechange: [OSX] removed the dynamic lib in bundle option (introduced in rev 3230) it caused way more problems than it solved bjarni 2005-12-03 13:43:54 +0000
  • b860d1194d (svn r3256) -Fix: [OSX] fixed issue where building the bundle could take place before linking if -j 2 was used bjarni 2005-12-03 10:36:23 +0000
  • bfeddf1db1 (svn r3254) - Fix: graphical glitch with autorail tool on a certain tile-type. - CodeChange: adhere the global variables in autorail.h to the coding style (eg. start with underscore). Darkvater 2005-12-02 19:41:35 +0000
  • 214ed794a1 (svn r3253) -Add: add BuildRoad event for AIs truelight 2005-12-02 19:21:38 +0000
  • 7460ecd42a (svn r3252) - NewGRF: Map new train subtypes to old types for rail vehicles. peter1138 2005-12-02 14:55:23 +0000
  • ea9cb3ee5b (svn r3251) -Fix: report errors from GPMI in a more detailed way (Igor2Code) truelight 2005-12-01 09:34:40 +0000
  • 480b1575fe (svn r3250) -Fix: AIs weren't uninitialized when a new game was loaded truelight 2005-11-30 16:10:19 +0000
  • 6ed22fb3d4 (svn r3249) Fix for issue introduced in r3228. The original code was good for raising, then for lowering, now for both. peter1138 2005-11-30 07:31:54 +0000
  • fde99748c0 (svn r3248) - Codechange: Change interface of CanRefitTo() to supply the engine type directly instead of getting it from a vehicle. This allows the function to be used before vehicles are involved. peter1138 2005-11-29 22:29:59 +0000
  • 4191adb92c (svn r3247) - Fix: "[ 1335580 ] sticky windows not sticky anymore" Determine clicked status of sticky icon from window flags rather than the widget click state. This keeps the status in one place where it can't get out of sync. peter1138 2005-11-29 22:04:02 +0000
  • 44c70c24d3 (svn r3246) -Fix: small glitch in ai_network_client code (network_client.c) -Fix: make sure this glitch can never happen again (ai.c) truelight 2005-11-29 16:06:06 +0000
  • c963c59b67 (svn r3245) -Add: allow OpenTTD to give his GPMI-params to the GPMI modules truelight 2005-11-29 15:53:15 +0000
  • 2eb1c8a215 (svn r3244) -Fix: [GPMI] Even more GPMI based AI-code cleanup, bug fixes, and you can now control the AI that is going to boot truelight 2005-11-28 14:02:36 +0000
  • 4b4d171ca5 (svn r3243) -Fix: IncreaseLoan and DecreaseLoan were inconsistent for AIs truelight 2005-11-28 11:30:12 +0000
  • a2ae8a707c (svn r3242) -Fix: small glitch in AllowAI control truelight 2005-11-27 16:45:45 +0000
  • 87f54ebf92 (svn r3239) - Codechange: Introduce and use helper functions for engine replacement code. peter1138 2005-11-26 16:41:14 +0000
  • 9a381f4d5d (svn r3238) -Fix: always save if you want GPMI-based AIs, this on request by Darkvater, so we can, in the future, save patch options in savegames without any problems. truelight 2005-11-26 16:18:15 +0000
  • 10ce514f59 (svn r3237) - CodeChange: remove silencing of some warnings. MSVC6 once again has some issues with enums, and other things as usual, so silence those still. Darkvater 2005-11-26 13:23:16 +0000
  • 728aba9d7c (svn r3236) - Fix: warnings about 'CDECL must be used with ...' on VS6 Darkvater 2005-11-26 12:57:42 +0000
  • a090886073 (svn r3235) - Fix: fix two crashes, one with making a screenshot in the main menu without any game loaded, another when failing to load a scenario in 'New Game' Darkvater 2005-11-26 12:45:53 +0000
  • 732e71228b (svn r3234) [Translations] Estonian is still unfinished miham 2005-11-23 21:47:01 +0000
  • aa39eb5a9a (svn r3233) [Translations] Estonian now available again miham 2005-11-23 21:45:04 +0000
  • 8733f49e88 (svn r3232) -Add: implemented the event-system for AIs -Add: added several hooks (event-callbacks) for road-related-stuff truelight 2005-11-23 15:08:29 +0000
  • b8f8f3869d (svn r3231) Fix: update the GPMI implementation to the latest GPMI-API version truelight 2005-11-23 13:45:12 +0000
  • 08b990886d (svn r3230) -Feature: [OSX] OSX builds can now change where it searches for dynamic libs and can move libs into the bundle This is not a fix for the issues with static linking, more like a workaround. Static linking still got issues Apple recommends to use dynamic linking anyway, so I guess this doesn't matter much bjarni 2005-11-23 12:21:54 +0000
  • 4927236912 (svn r3229) -Add: add more GPMI support. Now GPMI-based AIs can be loaded (doesn't change a thing if you didn't enable GPMI) truelight 2005-11-22 22:32:42 +0000
  • f6ddaf6a23 (svn r3228) - Fix: [ 1327011 ] Fix: don't lower land on tunnel, even with diag tracks on it (based on patch by glx) peter1138 2005-11-22 22:30:35 +0000
  • 4845ff063b (svn r3227) -Codechange: [Savegame] removed 'minor' version, and renamed 'major' version to just: version. truelight 2005-11-22 19:33:29 +0000
  • 6a4ba84320 (svn r3226) -Fix: GPMI implementation had minor glitches -Fix: the AI speed control is done by the AI-core, individual AIs don't have to do it (so, AIs were delayed twice ;) -Add: Support for AI-network-clients (an AI, connecting to a remote server) -Fix: minor AI-core problems truelight 2005-11-22 15:55:38 +0000
  • 4d2c4c5d8a (svn r3225) - Fix for "[ 1359165 ] Autoreplace problem with r3171 and later" -- Move the disabled/hidden bits to custom data in window struct. peter1138 2005-11-22 14:02:45 +0000
  • 31f218fdf9 (svn r3224) -Add: Allow the NewAI to work in Multiplayer Games (switchable via patch settings, off by defaut). An other step to AIScripts. WARNING: this is still highly experimental and has known bugs! truelight 2005-11-21 14:28:31 +0000
  • c7f3192f6b (svn r3223) -Fix: [autoreplace] fixed crash when replacing a train engine without any cars (introduced in r3220) bjarni 2005-11-19 22:39:16 +0000
  • f2b344084a (svn r3222) -Feature: Right-Click-Scrolling optionally moves in the opposite direction (Requested by manx) tron 2005-11-19 12:37:28 +0000
  • c7683a63ce (svn r3221) [Translations] Updated to 2005-11-19 miham 2005-11-19 11:07:42 +0000
  • 24eda23b80 (svn r3220) -Fix: [autoreplace] Autoreplaced trains now replace their cargo to the train instead of just the new engine This applies to wagon removal during autoreplace too bjarni 2005-11-19 10:28:02 +0000
  • e472fed85a (svn r3219) -Codechange: removed the now obsolite code in the build train command to make half multiheaded engines bjarni 2005-11-19 00:10:20 +0000
  • 22a4679837 (svn r3218) -Feature: Multiheaded train engines will now stay in the same train This means that any user attempt to remove a rear engine will tell the user to move the front engine instead This fixes the assert when moving multiheaded engines (introduced in r3144) Note: to make old savegames use this feature, some engines might be turned around in order to link engines in pairs bjarni 2005-11-18 23:41:03 +0000
  • 40ec9bb123 (svn r3217) Fix issue with resizing stepped windows introduced in revision 3181. peter1138 2005-11-18 20:28:55 +0000
  • a87ff2dc88 (svn r3216) - Fix (regression): endless loop introduced in revision 3190 Darkvater 2005-11-17 23:05:59 +0000
  • cac9cfe249 (svn r3215) - Fix: warning on VS.NET 2003 complaining about constness reintroduced by revision 3192 Darkvater 2005-11-17 22:56:50 +0000
  • eba1f68439 (svn r3214) -Feature: openttd.cfg can now set how many autosaves to keep before starting to overwrite old ones max_autosave_num in the config files sets the number of autosaves to keep (default 16) MAX_NUM_AUTOSAVES in Makefile.config sets the default value. 16 is used if no value is given this behaviour can still be overwritten by keep_all_autosave (openttd.config setting) Note: this is a requested behaviour for PDA ports, since they got limited storage space bjarni 2005-11-17 19:43:37 +0000
  • 3e702afc08 (svn r3213) - Codechange: Clean up handling of road stops, avoiding unnecessary use of pointers and using the *BIT() macros. peter1138 2005-11-17 10:12:21 +0000
  • 754d26407e (svn r3212) - Waypoints/Depots: Store waypoint index in m2 for waypoints. This moves the ground type bits from m2 to m4 for waypoints and depots (leaving room for depot index in m2 in future), and moves the custom graphics ID to the waypoint struct. - Waypoints: Until now stat_id was saved but never assigned to. Instead we now save the GRFID/local index of the custom graphics so that GRF file changes can leave graphics intact. peter1138 2005-11-16 22:20:15 +0000
  • 5cb9de35d1 (svn r3211) Fix typo in r3181 tron 2005-11-16 16:16:18 +0000
  • c1b012171d (svn r3210) -Codechange: use IsRailWaypoint where possible (instead of magicnumbers) -Codechange: IsRailWaypoint should take 'tile', not 'm5' truelight 2005-11-16 14:41:01 +0000
  • b739674307 (svn r3209) In TileLoop_Track(), use names based on function rather than their place in the map array. peter1138 2005-11-16 14:30:24 +0000
  • 89cfe202b8 (svn r3208) Don't explicitly pass the engine type to look for to GetRearEngine(), because it's the engine type of the vehicle which gets passed as first parameter tron 2005-11-16 14:07:34 +0000
  • 1bffec2c27 (svn r3207) Typo in last revision tron 2005-11-16 13:45:42 +0000
  • f750a773a4 (svn r3206) Wrap all instances of _dbg_screen_rect in #ifdef _DEBUG tron 2005-11-16 13:45:04 +0000
  • ec57ef78a2 (svn r3205) Some more uses for GB/SB tron 2005-11-16 13:11:28 +0000
  • 8cebe2f607 (svn r3204) Make handling of clicking on vehicles a bit less ugly by avoiding function declarations in .c files and unnecessary indirection tron 2005-11-16 12:52:01 +0000
  • 272d63b062 (svn r3203) Directly use the currency symbols for pounds and yen in the language files like it's already done for dollar and euro tron 2005-11-16 12:37:22 +0000
  • d177e5da67 (svn r3202) If cascade -> switch tron 2005-11-16 12:29:37 +0000
  • aaed2a41a0 (svn r3201) -Fix: Allow bribing up to the maximum rating for bribing, don't disable this option at some arbitrary value early tron 2005-11-16 12:25:33 +0000
  • 7a7847ed61 (svn r3200) Remove the unused function GfxScalePalette() and the unused struct WorldSprite tron 2005-11-16 12:21:04 +0000
  • cc61dd4890 (svn r3199) -Fix: There are only 2 possible directions for ship depots, not 4 tron 2005-11-16 12:20:15 +0000
  • 06a708b7b3 (svn r3198) Rewrite the company league drawing routine for better readability tron 2005-11-16 12:10:45 +0000
  • d76fc8d7d1 (svn r3197) Use a better bias so you can directly see the date range a disaster can happen in tron 2005-11-16 12:04:34 +0000
  • ce9cbb9c47 (svn r3196) Use structs instead of magic offsets into arrays tron 2005-11-16 12:01:46 +0000
  • 8d57bfc921 (svn r3195) Use bitfields instead of explicit shifting/masking tron 2005-11-16 11:55:06 +0000
  • 1806293e46 (svn r3194) Don't use FindLandscapeHeightByTile() when it's overkill tron 2005-11-16 11:52:21 +0000
  • 62b2b4613f (svn r3193) Staticise the vehicle position hash tron 2005-11-16 11:50:40 +0000
  • 784d41b650 (svn r3192) Split the surname list into two lists (non-toyland/toyland) and use lengthof() to get the number of names instead of using magic numbers tron 2005-11-16 11:17:52 +0000
  • 1d109214bc (svn r3191) Move declaration and definition of _dbg_screen_rect to a place where it somewhat makes sense and wrap them in #ifdef _DEBUG tron 2005-11-16 08:35:26 +0000
  • 3bf8d2ccbb (svn r3190) Turn some loops into canonical for loop form tron 2005-11-15 11:46:49 +0000
  • 66d44766a7 (svn r3189) There's a dedicated function to check if it's a hangar tile, so use it tron 2005-11-15 11:08:10 +0000
  • b5dafb8f94 (svn r3188) Use CmdFailed() to check, if a command failed, don't compare with CMD_ERROR tron 2005-11-15 10:50:43 +0000
  • 24f857ed5e (svn r3187) Simplify overly complicated ifs, especially if (foo) return false; else return true; is confusing tron 2005-11-15 09:47:25 +0000
  • 9f8c5d8fd2 (svn r3186) Unnecessary casts and truncation tron 2005-11-15 09:05:16 +0000
  • b9729fb72e (svn r3185) const tron 2005-11-15 09:00:02 +0000
  • 1b0091e0d2 (svn r3184) GB/SB tron 2005-11-15 08:49:46 +0000
  • 8658560229 (svn r3183) Remove an unused declaration and properly declare CheckExternalFiles() in a header tron 2005-11-15 08:40:45 +0000
  • 7b7593d092 (svn r3182) Fix braino in r3181 tron 2005-11-14 20:20:24 +0000
  • f7abff5f96 (svn r3181) -Bracing -Indentation -Whitespace -DeMorgan's Law -Test with NULL or 0 for non-booleans -'\0' instead of 0 for chars -Remove redundantly redundant comments (like DoFoo(); // Do foo) -Join multiple short lines with a single statement -Split single lines with multiple statements -Avoid assignments in if tron 2005-11-14 19:48:04 +0000
  • d8b56c123e (svn r3180) Replace some magic numbers by symbolic names tron 2005-11-14 15:22:12 +0000
  • 5fa6b7eb06 (svn r3179) - RandomRange() and RandomTile() instead of home brewed versions - CHANCE*() instead of mumbling strange numbers tron 2005-11-14 09:21:05 +0000
  • 6124ee0974 (svn r3178) - Codechange: move static _dropdown_* vars into the window custom data, giving var1 and var2 more meaningful names. peter1138 2005-11-14 08:42:45 +0000
  • 833032adc0 (svn r3177) GB, CLRBIT, HASBIT, TOGGLEBIT tron 2005-11-14 08:09:57 +0000
  • 357aba7475 (svn r3176) Use proper types, not some variants of int tron 2005-11-13 21:16:34 +0000
  • eeade69786 (svn r3175) - Updated OS/2 project file to include station_newgrf.c orudge 2005-11-13 18:07:45 +0000
  • 8a05c1e31d (svn r3174) - Fix: fix compilation for VS.NET2003 and VS6 (missing sourcefile(s) from project) Darkvater 2005-11-13 16:30:04 +0000
  • 4a14a586e2 (svn r3173) Use the trinary operator and switch to improve readability Also align short cases nicely tron 2005-11-13 14:54:09 +0000
  • ee15e3de13 (svn r3172) static, const tron 2005-11-13 13:43:55 +0000