Commit Graph

29320 Commits

Author SHA1 Message Date
darkvater afca207cf0 (svn r616) -newgrf: Fixed crashing when trying to resolve references to unknown or callback result spritegroups in variational spritegroup handler of NewSpriteGroup() (pasky). 2004-11-14 23:14:44 +00:00
bjarni 5914888ad6 (svn r615) Fix the same bug in ParamSet action loading, pointer out by Bjarni too. (pasky) 2004-11-14 22:31:57 +00:00
dominik d99b89ab29 (svn r614) [newgrf] Some minor code fixes 2004-11-14 22:30:46 +00:00
bjarni 363a92bd43 (svn r613) Fix bug in GRFInhibit action loading, pointed out by Bjarni. (pasky) 2004-11-14 22:25:21 +00:00
dominik fb64b4e499 (svn r612) [newgrf] Fix: custom waypoints on monorail/maglev are displayed correctly 2004-11-14 22:10:08 +00:00
darkvater 051e094921 (svn r611) -newgrf: Change GetCustomEngineSprite() calling convention (invisible to users of GetCustomVehicle*() wrappers). Needed for deterministic spritegroups support (pasky). 2004-11-14 20:53:34 +00:00
darkvater ec434b208e (svn r610) -newgrf: Support for some basic deterministical spritegroups regarding stations. Waypoints look changes based on year now :^) (pasky). 2004-11-14 20:50:38 +00:00
dominik c2193ce1a8 (svn r609) Fixed choose waypoints dialogs, it works without assertion failures and with custom waypoint #0 selectable now. (pasky) 2004-11-14 20:25:07 +00:00
dominik 0bcc9b7573 (svn r608) [newgrf] enabled possibility to build default waypoint when custom waypoints are enabled 2004-11-14 20:02:43 +00:00
tron 249a170ace (svn r607) -Patch: [ 985102 ] static cleanup
Thanks to lvoge
2004-11-14 19:44:06 +00:00
dominik 200d3fdbe8 (svn r606) -newgrf: Fixed waypoint scrollbar 2004-11-14 18:20:40 +00:00
darkvater 183c33931d (svn r605) -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). 2004-11-14 18:18:28 +00:00
tron a348f74c65 (svn r604) -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
2004-11-14 17:16:26 +00:00
darkvater ea48b0d05c (svn r603) -newgrf: Stupid TortoiseSVN converted the file to DOS newlines. Bah 2004-11-14 16:45:38 +00:00
darkvater e656a91736 (svn r602) -newgrf: Move DrawTileSeqStruct & co and struct SpriteGroup to sprite.h (pasky) 2004-11-14 16:42:08 +00:00
darkvater a415b8ecce (svn r601) -newgrf: blaat 2004-11-14 16:13:43 +00:00
darkvater 5fcd71cf28 (svn r600) -newgrf: Relocation offset for custom station sprites is now stored separately, making it possible to show different sprites in waypoint selection dialog (pasky). 2004-11-14 16:11:48 +00:00
tron 2b5b1f4e06 (svn r594) -Fix/Feature: [ 1066121 ] Resetting file name after deleting a file
Thanks to dannys9 for the patch
2004-11-14 15:11:25 +00:00
darkvater 80f787e60a (svn r593) -newgrf: Support for two more TTD(Patch) version relate) SkipIf in-game variables (pasky). 2004-11-14 14:54:10 +00:00
darkvater 5847317526 (svn r592) -newgrf: Dynamically allocate global custom station IDs (pasky). 2004-11-14 14:53:15 +00:00
darkvater ccc496ba2c (svn r591) -newgrf: Store whole struct StationSpec in SetCustomStation(), not just the rendering data. This will be needed for variational stationspecs (pasky). 2004-11-14 14:10:03 +00:00
darkvater 5663926aaf (svn r590) -newgrf: Instead of a bunch of statinfo arrays, use station-array of struct StationSpec-s (pasky). 2004-11-14 13:59:11 +00:00
darkvater 770eb4c8c3 (svn r589) -newgrf: Rename spritesset to spritegroups (pasky). 2004-11-14 13:45:38 +00:00
darkvater 552689b7fe (svn r588) -newgrf: Silent ignore those stupid one-byte zero special sprites (dbsetw.grf is crawling with them) (pasky). 2004-11-14 13:11:38 +00:00
darkvater 397cc50f61 (svn r587) -newgrf: Rename all /Checkpoint/i tokens to 'Waypoint's. The name actually makes some sense and is also compatible with TTDPatch (pasky). 2004-11-14 13:07:07 +00:00
darkvater 8946e92468 (svn r586) -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.
2004-11-14 12:37:23 +00:00
darkvater 989289fadd (svn r585) -newgrf: GUI for selecting custom waypoint graphics to use. Patch by dominik81 and pasky. 2004-11-14 11:04:59 +00:00
darkvater 4f6fa3b468 (svn r584) -newgrf: Increase chance to get a TTDPatch savegame using custom GRF files loaded (pasky) 2004-11-14 10:18:15 +00:00
darkvater a9a7957eaa (svn r583) -newgrf: Hopefully prevent GRF files introducing new bridges or townhouses to crash the game (pasky). 2004-11-14 10:03:21 +00:00
tron 2f56162f35 (svn r582) -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
2004-11-14 09:31:39 +00:00
celestar eb50427670 (svn r581) -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)
2004-11-14 09:07:15 +00:00
tron a9a852a4d6 (svn r580) Fix latent bug in BringWindowToFrontByID() - a wrong pointer was returned 2004-11-14 08:15:50 +00:00
tron 37cbae0370 (svn r579) Remove now unused function memswap() 2004-11-14 08:11:57 +00:00
tron 84d1041edf (svn r578) Simplify BringWindowToFront() 2004-11-14 08:11:05 +00:00
darkvater 7a2a973b48 (svn r577) -newgrf: fixed some typos of last commit (airports were looking weird) 2004-11-14 01:50:15 +00:00
darkvater 7930faace9 (svn r576) -newgrf: Cleanup horrible table/(station|unmovable)_land.h DrawTileSeqStruct hacks needed for custom station supports (pasky) 2004-11-14 01:25:05 +00:00
miham e9ef930155 (svn r575) Daily langfile updates (automatic) 2004-11-14 00:19:48 +00:00
darkvater 1f12dee3a0 (svn r572) -newgrf: Support for custom (newGRF-yielded) refit masks for trains and aircrafts (pasky). 2004-11-13 21:42:35 +00:00
darkvater 0a2f28c2f2 (svn r570) -newgrf: Support for custom aircrafts via GRF files. Planeset seems to work :). Also use aircraft_vehinfo() instead of the old tables (pasky). 2004-11-13 20:37:57 +00:00
tron e260aa3870 (svn r569) Fix type mismatch 2004-11-13 18:15:03 +00:00
celestar e31f37d578 (svn r568) -newgrf: Make @wagover bool, simplifying stuff. (pasky)
-newgrf: "More debugging and severity levels consolidation. (pasky)
2004-11-13 18:08:45 +00:00
celestar 20e9a8061d (svn r567) -newgrf: Support for road vehicles customization (seems to work at
least with tropicset). (pasky)
2004-11-13 18:01:33 +00:00
miham dae7b4ae21 (svn r566) Daily langfile updates (automatic) 2004-11-13 17:10:41 +00:00
darkvater 7690093b4c (svn r565) -newgrf: fixed double work of RoadVehicleInfo[]; added AircraftVehicleInfo[] as well. table/engines.h is now the same as in the _map branch. 2004-11-13 16:28:50 +00:00
tron b5e1240a8a (svn r564) Simplify scroll logic and correct one erroneous use of memcpy() 2004-11-13 16:10:25 +00:00
celestar b8327e0457 (svn r562) 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)
2004-11-13 15:15:41 +00:00
celestar 6db750373a (svn r561) -newgrf: killed some of the magic numbers in the code (pasky) 2004-11-13 12:38:38 +00:00
celestar 04748217d1 (svn r560) -newgrf: General cleanup of the code (pasky & octo) 2004-11-13 12:21:32 +00:00
tron 3df0ff7854 (svn r559) Minor simplification 2004-11-13 11:08:50 +00:00
tron 53116247c3 (svn r558) -Fix: [ 1065247 ] Windows can be placed behind toolbar
While here make clamping against the screen border a bit nicer
2004-11-13 10:53:42 +00:00