Commit Graph

55 Commits (9af570eab4335b6945bae122f93447d14b16154b)

Author SHA1 Message Date
rubidium 1f5554c5c7 (svn r21035) -Fix [FS#4181] (r21020): crash when opening the buoy's viewport. Based on a patch by Krille. 14 years ago
alberth df7a32d364 (svn r21021) -Add [FS#4171]: Center industry gui and waypoint gui after resize (partly by Krille). 14 years ago
alberth 83094e5e58 (svn r21020) -Add: Use center of waypoint in waypoint gui, if available. 14 years ago
rubidium 7a88433228 (svn r20813) -Fix: make the waypoint viewport keep centered around the waypoint when resizing the window (Krille) 14 years ago
rubidium f5128695c5 (svn r20772) -Codechange: use packed VehicleListIdentifiers as window numbers 14 years ago
smatz 4cae19175e (svn r19990) -Fix: owner of the Waypoint View window wasn't properly set 14 years ago
smatz c4175b752a (svn r19957) -Codechange: remove VLW_WAYPOINT_LIST 14 years ago
smatz 8bf4a7d1ae (svn r19956) -Fix: close list of vehicles with given oil rig in orders when the oil rig is deleted
-Fix (r19952): close the list when it is not sticky
14 years ago
smatz 830e40af19 (svn r19955) -Fix: close list of vehicles with given buoy/oil rig in orders when switching company 14 years ago
smatz 3d909433ac (svn r19952) -Fix: do not close list of waypoint's trains when the waypoint view is closed - unify behaviour with other station types 14 years ago
frosch 88019e64e1 (svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick(). 15 years ago
rubidium 82fc28f77f (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 15 years ago
alberth 91872aca48 (svn r18588) -Feature [FS#2943]: Add shading and unshading of windows. 15 years ago
rubidium 293dfd7c3e (svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice. 15 years ago
rubidium 8d6e323ef8 (svn r18280) -Codechange: remove widget indices that are not needed for custom drawing/handling input 15 years ago
rubidium 14300d309c (svn r18277) -Codechange: remove unneeded widget indices for close, resize and sticky boxes and for window captions 15 years ago
rubidium 69b6d9309a (svn r18274) -Codechange: remove the unused WDF flags 15 years ago
alberth 2b6f792513 (svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool. 15 years ago
rubidium 5f2ddfbc5a (svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets 15 years ago
rubidium cb3c4f2ebe (svn r18125) -Fix: the waypoint/buoy window had the wrong text colour in their title 15 years ago
rubidium 3d2d7af88f (svn r18086) -Codechange: remove 'widget' from WindowDesc 15 years ago
alberth 116c77c342 (svn r17572) -Codechange: Use the Window::GetWidget() function to access nested widgets through the nested_array. 15 years ago
rubidium ad70d24634 (svn r17441) -Fix (r16900): close the vehicle list of the vehicle type that visits the waypoint instead of for all vehicle types 15 years ago
rubidium aca7ba714a (svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/false 15 years ago
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
rubidium 1fe3ad3288 (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 15 years ago
alberth 6d05326143 (svn r17030) -Codechange: Better descriptions for buoys. 15 years ago
alberth 5d083f3039 (svn r17025) -Codechange: Waypoint window using all the new goodies (based on work by Rubidium). 15 years ago
rubidium e473e69ba4 (svn r16976) -Codechange: remove WaypointID and MAX_LENGTH constants in favour of their Station variants 15 years ago
rubidium 803cf87885 (svn r16934) -Codechange: introduce a simple helper function to check whether a station is pending deletion or not 15 years ago
rubidium cb0409fe52 (svn r16912) -Codechange: split waypoint.h in waypoint_base.h and waypoint_func.h 15 years ago
rubidium 68ead6b84f (svn r16909) -Fix [FS#2996]: NewGRF stations would be triggering assertions all over the place when using the more advanced station types.
-Change: make (rail) waypoints sub classes of 'base stations', make buoys waypoints and unify code between them where possible.
15 years ago
rubidium 0658d6cb3d (svn r16900) -Codechange: prepare the waypoint window for buoys 15 years ago
rubidium e3053660c6 (svn r16886) -Codechange: unify naming of some string IDs related to string codes and group them logically 15 years ago
smatz 62a7948af0 (svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved 15 years ago
smatz 6221d74644 (svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index) 15 years ago
rubidium 59d45a04d6 (svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible. 15 years ago
yexo 6b095a218b (svn r15853) -Codechange: New widgets for the waypoint gui. 15 years ago
smatz af293142fe (svn r15725) -Fix: centering on a vehicle didn't respect its z coordinate 16 years ago
rubidium f9def73be6 (svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth) 16 years ago
rubidium b25a4f8231 (svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too 16 years ago
rubidium 9d018723b7 (svn r15711) -Codechange: lots of whitespace cleanup/fixes 16 years ago
smatz 40745dc0d9 (svn r15704) -Cleanup: remove further includes from recently split files 16 years ago
smatz 1a940c24e3 (svn r15589) -Fix: drawing of waypoints with invalid owner was broken
-Change: don't take over waypoints without owner, it could belong to a bankrupted company (and the code was broken) - savegame conversion code is a bit more liberal now, too
16 years ago
rubidium 90e2465d7d (svn r15427) -Codechange: give w->caption_color a more sensible name as it holds the owner of whatever is shown in the window 16 years ago
smatz 9702edb554 (svn r15398) -Fix (r14135): _current_company shouldn't be used in GUI code (Swallow) 16 years ago
smatz 0d3f5e6e74 (svn r15299) -Cleanup: remove many redundant includes 16 years ago
rubidium 87e5a8b52b (svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter. 16 years ago
smatz 1266b1a73f (svn r14334) -Feature: ability to reset name to default/automatic value (for vehicles, engines, towns, groups, stations, waypoints, managers and companies) 16 years ago
smatz 606f4defdc (svn r14331) -Codechange: use an enum as additional parameter for ShowQueryString() 16 years ago