------------------------------------------------------------------------ r663 | dominik | 2004-11-17 18:53:49 +0000 (Wed, 17 Nov 2004) | 1 line [newgrf] sorry, forgot newgrf.h ------------------------------------------------------------------------ r662 | dominik | 2004-11-17 18:49:55 +0000 (Wed, 17 Nov 2004) | 1 line [newgrf] Moved grfspecial.c to newgrf.c/newgrf.h ------------------------------------------------------------------------ r661 | tron | 2004-11-17 18:38:07 +0000 (Wed, 17 Nov 2004) | 3 lines Make strgen print its own revision instead of the repo's. This also fixes the annoying unecessary language file recompiles. ------------------------------------------------------------------------ r660 | tron | 2004-11-17 18:22:21 +0000 (Wed, 17 Nov 2004) | 1 line Fix typo introduced in r655 ------------------------------------------------------------------------ r659 | tron | 2004-11-17 18:03:33 +0000 (Wed, 17 Nov 2004) | 2 lines Support for cutomized TTDPatch-style new stations (no selector GUI yet) (pasky) ------------------------------------------------------------------------ r658 | tron | 2004-11-17 17:15:36 +0000 (Wed, 17 Nov 2004) | 1 line Ignore callbackish randomized spritegroups - they would just crash us (pasky) ------------------------------------------------------------------------ r657 | celestar | 2004-11-17 15:14:18 +0000 (Wed, 17 Nov 2004) | 2 lines Do not touch 0x8000 bit in sprite index for custom waypoints. (pasky) ------------------------------------------------------------------------ r655 | tron | 2004-11-17 09:07:29 +0000 (Wed, 17 Nov 2004) | 2 lines Add the necessary bits to make building on SunOS/Solaris work ------------------------------------------------------------------------ r654 | tron | 2004-11-17 08:52:47 +0000 (Wed, 17 Nov 2004) | 2 lines Hopefully complete support for randomized variational spritegroups (i.e. the cars transporter in DBSetXL gets different cars each time) (pasky) ------------------------------------------------------------------------ r653 | tron | 2004-11-17 08:11:24 +0000 (Wed, 17 Nov 2004) | 1 line Prevent SDL parachute from catching SIGSEGV and SIGFPE (pasky) ------------------------------------------------------------------------ r652 | tron | 2004-11-17 07:57:28 +0000 (Wed, 17 Nov 2004) | 1 line Factorise special case for MorphOS regarding signal() handling ------------------------------------------------------------------------ r651 | miham | 2004-11-17 02:24:21 +0000 (Wed, 17 Nov 2004) | 3 lines LoadNewGrfFile() now doesn't care about num_sprites and just loads whatever is available. Fixes George's long vehicles. (pasky) ------------------------------------------------------------------------ r650 | miham | 2004-11-17 02:01:12 +0000 (Wed, 17 Nov 2004) | 1 line Pasky fix #4. (Misc fixes to get USSet going) ------------------------------------------------------------------------ r649 | miham | 2004-11-17 01:09:15 +0000 (Wed, 17 Nov 2004) | 1 line Support for custom rail vehicle refit bitmasks. (pasky) ------------------------------------------------------------------------ r648 | miham | 2004-11-17 01:00:04 +0000 (Wed, 17 Nov 2004) | 1 line Dummy skip-support for two new station properties. Rename FOR_EACH_ENGINE() to more appropriate FOR_EACH_OBJECT(). (pasky) ------------------------------------------------------------------------ r647 | miham | 2004-11-17 00:52:54 +0000 (Wed, 17 Nov 2004) | 1 line Cleanup custom station classes handling. (pasky) ------------------------------------------------------------------------ r646 | darkvater | 2004-11-16 23:51:38 +0000 (Tue, 16 Nov 2004) | 1 line -Fix: braindead case-sensitive file extension filter replaced with a case-INsensitive one (joint effort of Bjarni and Darkvater). ------------------------------------------------------------------------ r645 | darkvater | 2004-11-16 23:26:15 +0000 (Tue, 16 Nov 2004) | 2 lines -Feature: Finally support for TTDLX games on Big Endian machines such as Macintosh and MorphOS; thanks for testing Bjarni :) -Added turkish.txt to lang-project and screenshot.h to ttd-project ------------------------------------------------------------------------ r637 | tron | 2004-11-16 16:13:54 +0000 (Tue, 16 Nov 2004) | 1 line Add keycode for the key to open the console on BeOS ------------------------------------------------------------------------ r636 | tron | 2004-11-16 11:40:32 +0000 (Tue, 16 Nov 2004) | 1 line Set svn:eol-style for screenshot.h ------------------------------------------------------------------------ r635 | tron | 2004-11-15 20:52:11 +0000 (Mon, 15 Nov 2004) | 2 lines Fix choosing a spritegroup from deterministic variational spritegroups if there is no structure to search (i.e. in purchase lists) (pasky) ------------------------------------------------------------------------ r634 | miham | 2004-11-15 20:45:25 +0000 (Mon, 15 Nov 2004) | 1 line Added turkish translation (iso8859-1) ------------------------------------------------------------------------ r633 | miham | 2004-11-15 20:44:39 +0000 (Mon, 15 Nov 2004) | 1 line Daily langfile updates (automatic) ------------------------------------------------------------------------ r631 | tron | 2004-11-15 19:25:59 +0000 (Mon, 15 Nov 2004) | 7 lines Merge r440, r444, r485, r630 to trunk: r440 Move screenshot function declarations to new file screenshot.h Clean up screenshot.c a bit, mostly whitespace, alloca() -> malloc() and checking return values r485 Remove unused field from struct ScreenshotFormat ------------------------------------------------------------------------ r628 | tron | 2004-11-15 12:15:03 +0000 (Mon, 15 Nov 2004) | 5 lines Merge r442 to trunk: In bemidi.cpp - Whitespace cleanup - Simplify one if () ------------------------------------------------------------------------ r627 | tron | 2004-11-15 12:11:43 +0000 (Mon, 15 Nov 2004) | 3 lines Merge r439 to trunk: Cleaned up whitespace in namegen.c ------------------------------------------------------------------------ r626 | tron | 2004-11-15 12:05:01 +0000 (Mon, 15 Nov 2004) | 3 lines Merge r438 to trunk: Some whitespace and magic number cleanup (in news_gui) ------------------------------------------------------------------------ r625 | tron | 2004-11-15 11:54:35 +0000 (Mon, 15 Nov 2004) | 1 line Almost complete support for deterministic variational vehicle spritegroups. (pasky) ------------------------------------------------------------------------ r624 | tron | 2004-11-15 10:31:48 +0000 (Mon, 15 Nov 2004) | 4 lines Merge r377 to trunk: Remove the memmove special case for MSVC According to the MSDN it was just plain wrong and memmove was directly used in some places anyway ------------------------------------------------------------------------ r623 | tron | 2004-11-15 10:04:57 +0000 (Mon, 15 Nov 2004) | 2 lines -Feature: [ 1066504 ] Pause key pauses the game ------------------------------------------------------------------------ r621 | tron | 2004-11-15 09:05:06 +0000 (Mon, 15 Nov 2004) | 3 lines Merge r450 to trunk: Cleanups and #if 0 some unused debug code ------------------------------------------------------------------------ r620 | miham | 2004-11-15 08:11:04 +0000 (Mon, 15 Nov 2004) | 1 line Daily langfile updates (automatic) ------------------------------------------------------------------------ r619 | tron | 2004-11-15 07:53:09 +0000 (Mon, 15 Nov 2004) | 1 line Add the necessary bits to make building under BeOS using GNU Make work ------------------------------------------------------------------------ r617 | darkvater | 2004-11-14 23:36:19 +0000 (Sun, 14 Nov 2004) | 1 line -newgrf: Support for parameter 0x8E (train Y-pitch in info windows) both setting and testing. This should fix displaced wagons in DBSetXL as reported by DarkVater. (pasky) ------------------------------------------------------------------------ r616 | darkvater | 2004-11-14 23:14:44 +0000 (Sun, 14 Nov 2004) | 1 line -newgrf: Fixed crashing when trying to resolve references to unknown or callback result spritegroups in variational spritegroup handler of NewSpriteGroup() (pasky). ------------------------------------------------------------------------ r615 | bjarni | 2004-11-14 22:31:57 +0000 (Sun, 14 Nov 2004) | 1 line Fix the same bug in ParamSet action loading, pointer out by Bjarni too. (pasky) ------------------------------------------------------------------------ r614 | dominik | 2004-11-14 22:30:46 +0000 (Sun, 14 Nov 2004) | 1 line [newgrf] Some minor code fixes ------------------------------------------------------------------------ r613 | bjarni | 2004-11-14 22:25:21 +0000 (Sun, 14 Nov 2004) | 1 line Fix bug in GRFInhibit action loading, pointed out by Bjarni. (pasky) ------------------------------------------------------------------------ r612 | dominik | 2004-11-14 22:10:08 +0000 (Sun, 14 Nov 2004) | 1 line [newgrf] Fix: custom waypoints on monorail/maglev are displayed correctly ------------------------------------------------------------------------ r611 | darkvater | 2004-11-14 20:53:34 +0000 (Sun, 14 Nov 2004) | 1 line -newgrf: Change GetCustomEngineSprite() calling convention (invisible to users of GetCustomVehicle*() wrappers). Needed for deterministic spritegroups support (pasky). ------------------------------------------------------------------------ r610 | darkvater | 2004-11-14 20:50:38 +0000 (Sun, 14 Nov 2004) | 1 line -newgrf: Support for some basic deterministical spritegroups regarding stations. Waypoints look changes based on year now :^) (pasky). ------------------------------------------------------------------------ r609 | dominik | 2004-11-14 20:25:07 +0000 (Sun, 14 Nov 2004) | 1 line Fixed choose waypoints dialogs, it works without assertion failures and with custom waypoint #0 selectable now. (pasky) ------------------------------------------------------------------------ r608 | dominik | 2004-11-14 20:02:43 +0000 (Sun, 14 Nov 2004) | 1 line [newgrf] enabled possibility to build default waypoint when custom waypoints are enabled ------------------------------------------------------------------------ r607 | tron | 2004-11-14 19:44:06 +0000 (Sun, 14 Nov 2004) | 3 lines -Patch: [ 985102 ] static cleanup Thanks to lvoge ------------------------------------------------------------------------ r606 | dominik | 2004-11-14 18:20:40 +0000 (Sun, 14 Nov 2004) | 1 line -newgrf: Fixed waypoint scrollbar ------------------------------------------------------------------------ r605 | darkvater | 2004-11-14 18:18:28 +0000 (Sun, 14 Nov 2004) | 1 line -newgrf: Framework for supporting variational spritegroups . Deterministic only at the moment, but random ones support shouldn't be that difficult now It doesn't do anything, but makes these actions actually possible (pasky). ------------------------------------------------------------------------ r604 | tron | 2004-11-14 17:16:26 +0000 (Sun, 14 Nov 2004) | 4 lines -Fix: [ 999669 ] Wrong trees (toyland's) in sub-tropical landscape style Tree generation code sometimes set the non-existent growth state 7 This could also become manifest in snow covered trees below the swnow line in arctic climate and similar effects ------------------------------------------------------------------------ r603 | darkvater | 2004-11-14 16:45:38 +0000 (Sun, 14 Nov 2004) | 1 line -newgrf: Stupid TortoiseSVN converted the file to DOS newlines. Bah ------------------------------------------------------------------------ r602 | darkvater | 2004-11-14 16:42:08 +0000 (Sun, 14 Nov 2004) | 1 line -newgrf: Move DrawTileSeqStruct & co and struct SpriteGroup to sprite.h (pasky) ------------------------------------------------------------------------ r601 | darkvater | 2004-11-14 16:13:43 +0000 (Sun, 14 Nov 2004) | 1 line -newgrf: blaat ------------------------------------------------------------------------ r600 | darkvater | 2004-11-14 16:11:48 +0000 (Sun, 14 Nov 2004) | 1 line -newgrf: Relocation offset for custom station sprites is now stored separately, making it possible to show different sprites in waypoint selection dialog (pasky). ------------------------------------------------------------------------ r594 | tron | 2004-11-14 15:11:25 +0000 (Sun, 14 Nov 2004) | 3 lines -Fix/Feature: [ 1066121 ] Resetting file name after deleting a file Thanks to dannys9 for the patch ------------------------------------------------------------------------ r593 | darkvater | 2004-11-14 14:54:10 +0000 (Sun, 14 Nov 2004) | 1 line -newgrf: Support for two more TTD(Patch) version relate) SkipIf in-game variables (pasky). ------------------------------------------------------------------------ r592 | darkvater | 2004-11-14 14:53:15 +0000 (Sun, 14 Nov 2004) | 1 line -newgrf: Dynamically allocate global custom station IDs (pasky). ------------------------------------------------------------------------ r591 | darkvater | 2004-11-14 14:10:03 +0000 (Sun, 14 Nov 2004) | 1 line -newgrf: Store whole struct StationSpec in SetCustomStation(), not just the rendering data. This will be needed for variational stationspecs (pasky). ------------------------------------------------------------------------ r590 | darkvater | 2004-11-14 13:59:11 +0000 (Sun, 14 Nov 2004) | 1 line -newgrf: Instead of a bunch of statinfo arrays, use station-array of struct StationSpec-s (pasky). ------------------------------------------------------------------------ r589 | darkvater | 2004-11-14 13:45:38 +0000 (Sun, 14 Nov 2004) | 1 line -newgrf: Rename spritesset to spritegroups (pasky). ------------------------------------------------------------------------ r588 | darkvater | 2004-11-14 13:11:38 +0000 (Sun, 14 Nov 2004) | 1 line -newgrf: Silent ignore those stupid one-byte zero special sprites (dbsetw.grf is crawling with them) (pasky). ------------------------------------------------------------------------ r587 | darkvater | 2004-11-14 13:07:07 +0000 (Sun, 14 Nov 2004) | 1 line -newgrf: Rename all /Checkpoint/i tokens to 'Waypoint's. The name actually makes some sense and is also compatible with TTDPatch (pasky). ------------------------------------------------------------------------ r586 | darkvater | 2004-11-14 12:37:23 +0000 (Sun, 14 Nov 2004) | 2 lines -Fix: [1066114] Code error in win32.c Thanks Shai -Fix: ttd.vcproj change to hard-set compilation as C, as well as adding WITH_SDL to debug mode. If you don't have SDL just remove that. ------------------------------------------------------------------------ r585 | darkvater | 2004-11-14 11:04:59 +0000 (Sun, 14 Nov 2004) | 1 line -newgrf: GUI for selecting custom waypoint graphics to use. Patch by dominik81 and pasky. ------------------------------------------------------------------------ r584 | darkvater | 2004-11-14 10:18:15 +0000 (Sun, 14 Nov 2004) | 2 lines -newgrf: Increase chance to get a TTDPatch savegame using custom GRF files loaded (pasky) ------------------------------------------------------------------------ r583 | darkvater | 2004-11-14 10:03:21 +0000 (Sun, 14 Nov 2004) | 1 line -newgrf: Hopefully prevent GRF files introducing new bridges or townhouses to crash the game (pasky). ------------------------------------------------------------------------ r582 | tron | 2004-11-14 09:31:39 +0000 (Sun, 14 Nov 2004) | 3 lines -Fix: [ 1034318 ] place sign and blue message box A name change wasn't possible while an always-on-top window (like news) has been visible ------------------------------------------------------------------------ r581 | celestar | 2004-11-14 09:07:15 +0000 (Sun, 14 Nov 2004) | 6 lines -newgrf: Basic support for new stations - only waypoints supported now and only the first custom one can be placed (no selector GUI, coming soon). This also moves some global variables to {struct GRFFile} and reorders which actions are processed in what stage, to get it all working together -- (pasky) ------------------------------------------------------------------------ r580 | tron | 2004-11-14 08:15:50 +0000 (Sun, 14 Nov 2004) | 1 line Fix latent bug in BringWindowToFrontByID() - a wrong pointer was returned ------------------------------------------------------------------------ r579 | tron | 2004-11-14 08:11:57 +0000 (Sun, 14 Nov 2004) | 1 line Remove now unused function memswap() ------------------------------------------------------------------------ r578 | tron | 2004-11-14 08:11:05 +0000 (Sun, 14 Nov 2004) | 1 line Simplify BringWindowToFront() ------------------------------------------------------------------------ r577 | darkvater | 2004-11-14 01:50:15 +0000 (Sun, 14 Nov 2004) | 1 line -newgrf: fixed some typos of last commit (airports were looking weird) ------------------------------------------------------------------------ r576 | darkvater | 2004-11-14 01:25:05 +0000 (Sun, 14 Nov 2004) | 1 line -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky) ------------------------------------------------------------------------ r575 | miham | 2004-11-14 00:19:48 +0000 (Sun, 14 Nov 2004) | 1 line Daily langfile updates (automatic) ------------------------------------------------------------------------ r572 | darkvater | 2004-11-13 21:42:35 +0000 (Sat, 13 Nov 2004) | 1 line -newgrf: Support for custom (newGRF-yielded) refit masks for trains and aircrafts (pasky). ------------------------------------------------------------------------ r570 | darkvater | 2004-11-13 20:37:57 +0000 (Sat, 13 Nov 2004) | 1 line -newgrf: Support for custom aircrafts via GRF files. Planeset seems to work :). Also use aircraft_vehinfo() instead of the old tables (pasky). ------------------------------------------------------------------------ r569 | tron | 2004-11-13 18:15:03 +0000 (Sat, 13 Nov 2004) | 1 line Fix type mismatch ------------------------------------------------------------------------ r568 | celestar | 2004-11-13 18:08:45 +0000 (Sat, 13 Nov 2004) | 3 lines -newgrf: Make @wagover bool, simplifying stuff. (pasky) -newgrf: "More debugging and severity levels consolidation. (pasky) ------------------------------------------------------------------------ r567 | celestar | 2004-11-13 18:01:33 +0000 (Sat, 13 Nov 2004) | 3 lines -newgrf: Support for road vehicles customization (seems to work at least with tropicset). (pasky) ------------------------------------------------------------------------ r566 | miham | 2004-11-13 17:10:41 +0000 (Sat, 13 Nov 2004) | 1 line Daily langfile updates (automatic) ------------------------------------------------------------------------ r565 | darkvater | 2004-11-13 16:28:50 +0000 (Sat, 13 Nov 2004) | 1 line -newgrf: fixed double work of RoadVehicleInfo[]; added AircraftVehicleInfo[] as well. table/engines.h is now the same as in the _map branch. ------------------------------------------------------------------------ r564 | tron | 2004-11-13 16:10:25 +0000 (Sat, 13 Nov 2004) | 1 line Simplify scroll logic and correct one erroneous use of memcpy() ------------------------------------------------------------------------ r562 | celestar | 2004-11-13 15:15:41 +0000 (Sat, 13 Nov 2004) | 4 lines newgrf: Merge most of the road vehicle info to a single road_vehicle_info table, like it already is for trains and ships. Needed for GRF custom override support. (pasky) ------------------------------------------------------------------------ r561 | celestar | 2004-11-13 12:38:38 +0000 (Sat, 13 Nov 2004) | 2 lines -newgrf: killed some of the magic numbers in the code (pasky) ------------------------------------------------------------------------ r560 | celestar | 2004-11-13 12:21:32 +0000 (Sat, 13 Nov 2004) | 2 lines -newgrf: General cleanup of the code (pasky & octo) ------------------------------------------------------------------------ r559 | tron | 2004-11-13 11:08:50 +0000 (Sat, 13 Nov 2004) | 1 line Minor simplification ------------------------------------------------------------------------ r558 | tron | 2004-11-13 10:53:42 +0000 (Sat, 13 Nov 2004) | 3 lines -Fix: [ 1065247 ] Windows can be placed behind toolbar While here make clamping against the screen border a bit nicer ------------------------------------------------------------------------ r557 | darkvater | 2004-11-12 23:59:51 +0000 (Fri, 12 Nov 2004) | 1 line -newgrf: Rename all 'superset' tokens to 'group' and some other small renamings (pasky and octo). ------------------------------------------------------------------------ r556 | darkvater | 2004-11-12 23:26:02 +0000 (Fri, 12 Nov 2004) | 1 line -newgrf: Some seemingly proper support for loading stages of grf files (octo & pasky). ------------------------------------------------------------------------ r555 | darkvater | 2004-11-12 22:39:00 +0000 (Fri, 12 Nov 2004) | 1 line -newgrf: Preliminary support for action 0xE. Inhibit another GRF file by ID. It won't really work until we get stages support (pasky & octo). ------------------------------------------------------------------------ r554 | darkvater | 2004-11-12 22:28:19 +0000 (Fri, 12 Nov 2004) | 1 line -newgrf: Keep track of GRF files. Remember them all in a linked list, this already enables tests for an already loaded GRF file in SkipIf(). Patch by octo, heavily re-hammered by pasky ------------------------------------------------------------------------ r553 | darkvater | 2004-11-12 21:51:34 +0000 (Fri, 12 Nov 2004) | 1 line -newgrf: Special routine for loading newgrf files. LoadNewGrfFile() introduced; will get more handy when loading stages will be introduced (octo and pasky). ------------------------------------------------------------------------ r552 | darkvater | 2004-11-12 21:33:18 +0000 (Fri, 12 Nov 2004) | 1 line -newgrf: Include bits forgotten when merging octo's ReplaceSprites support - it would replace even special sprites in the way now. (pasky) ------------------------------------------------------------------------ r551 | darkvater | 2004-11-12 19:03:37 +0000 (Fri, 12 Nov 2004) | 1 line -newgrf: Preliminary support for TTDPatch flags checking (we just pretend that a bunch of things are on and the rest is off and that's it). Patch by octo, small cleanup by pasky. ------------------------------------------------------------------------ r550 | darkvater | 2004-11-12 18:57:46 +0000 (Fri, 12 Nov 2004) | 2 lines -newgrf: Support for action 0xd (change a parameter (sorta variable for the GRF scripts)). Based on patch by octo, heavy changes by pasky. ------------------------------------------------------------------------ r549 | darkvater | 2004-11-12 18:47:19 +0000 (Fri, 12 Nov 2004) | 1 line -newgrf: Support for action 0xd (change a parameter (sorta variable for the GRF scripts)). Based on patch by octo, heavy changes by pasky. ------------------------------------------------------------------------ r548 | darkvater | 2004-11-12 18:43:12 +0000 (Fri, 12 Nov 2004) | 1 line -newgrf: minor style changes, and application of boolean type ------------------------------------------------------------------------ r547 | darkvater | 2004-11-12 17:27:30 +0000 (Fri, 12 Nov 2004) | 1 line -newgrf: Enhanced support for action 0x7 and 0x9 (skips). Killer mixture mixed from octo's patch and pasky's old patch (pasky & octo). ------------------------------------------------------------------------ r546 | darkvater | 2004-11-12 17:16:13 +0000 (Fri, 12 Nov 2004) | 1 line -newgrf: Use GetCustomVehicleIcon() for fetching sprites for vehicle selection dialogs. (Idea by octo, done by pasky). ------------------------------------------------------------------------ r545 | celestar | 2004-11-12 15:36:49 +0000 (Fri, 12 Nov 2004) | 2 lines -newgrf: repaired indendation (pasky & octo) ------------------------------------------------------------------------ r544 | celestar | 2004-11-12 15:15:56 +0000 (Fri, 12 Nov 2004) | 2 lines -newgrf: codechange for better handling (pasky and octo__) ------------------------------------------------------------------------ r543 | tron | 2004-11-11 23:23:42 +0000 (Thu, 11 Nov 2004) | 3 lines -Fix: [ 1064742 ] Editor Map-Menu wrong String The fix is a bit ugly, but this is due to limitations in the dropdown menu handling (the strings have to be contiguous) ------------------------------------------------------------------------ r542 | tron | 2004-11-11 23:10:22 +0000 (Thu, 11 Nov 2004) | 3 lines -Fix: Display correct rail type in "build railway station" window Thanks, ln-- ------------------------------------------------------------------------ r541 | tron | 2004-11-11 21:20:15 +0000 (Thu, 11 Nov 2004) | 3 lines Make windows even snappier! ^^ Thanks to nzhook, who also proposed the original patch. ------------------------------------------------------------------------ r540 | tron | 2004-11-11 17:53:11 +0000 (Thu, 11 Nov 2004) | 1 line Tell subversion to ignore some more files ------------------------------------------------------------------------ r539 | tron | 2004-11-11 17:17:52 +0000 (Thu, 11 Nov 2004) | 2 lines Set svn:eol-style property ------------------------------------------------------------------------ r538 | tron | 2004-11-10 21:14:16 +0000 (Wed, 10 Nov 2004) | 3 lines -Feature: Windows snap at each other This is inspired by [1063636]. ------------------------------------------------------------------------