rubidium
7831346ef8
(svn r15601) -Fix [FS#2615]: bridges/tunnels don't store tram owner making it possible to remove someone's tram tracks.
...
-Feature: allow building road stops on road/tram tracks of competitors.
16 years ago
peter1138
3728df8323
(svn r15448) -Codechange: Don't show rail types in selection drop downs if they have no label.
16 years ago
rubidium
8dae160d0f
(svn r15425) -Codechange: some color->colour changes and type safety.
16 years ago
rubidium
861e9cefb3
(svn r15424) -Codechange: make it possible to have multiple windows with edit box open simultaniously (Zuu).
16 years ago
rubidium
377ce6c5bf
(svn r15410) -Cleanup: get rid of most of the references to the 'patches' except where it's used for backward compatability.
16 years ago
rubidium
7da743a0dc
(svn r15336) -Fix: do not use _current_company in the GUI as there are no guarantees that _current_company is the same as _local_company.
16 years ago
smatz
0d3f5e6e74
(svn r15299) -Cleanup: remove many redundant includes
16 years ago
glx
a92f472714
(svn r15254) -Fix (r15242): of course MSVC requires a cast
16 years ago
rubidium
04709f2798
(svn r15242) -Feature: allow moving clients between companies/spectators by the server and the clients themselves (dihedral)
16 years ago
truebrain
a3dd7506d3
(svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see.
...
NoAI is an API (a framework) to build your own AIs in. See:
http://wiki.openttd.org/wiki/index.php/AI:Main_Page
With many thanks to:
- glx and Rubidium for their syncing, feedback and hard work
- Yexo for his feedback, patches, and AIs which tested the system very deep
- Morloth for his feedback and patches
- TJIP for hosting a challenge which kept NoAI on track
- All AI authors for testing our AI API, and all other people who helped in one way or another
-Remove: all old AIs and their cheats/hacks
16 years ago
rubidium
87e5a8b52b
(svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter.
16 years ago
rubidium
b650a86e58
(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.
16 years ago
rubidium
3b798599b6
(svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with.
16 years ago
rubidium
6a931d67cd
(svn r14390) -Codechange: replace magic constants with symbolic constants.
16 years ago
smatz
0757669c49
(svn r14283) -Fix [FS#2281](r14175): beep only after clicking on the main toolbar, not after finishing the selection
16 years ago
peter1138
38ee1c8d49
(svn r14181) -Fix (r14175): Rail types are not road types
16 years ago
peter1138
759fb5937d
(svn r14175) -Codechange: Rewrite the main toolbars to use the standard dropdown menu system, allowing flexible menus instead of fixed string lists, and removing code duplication.
16 years ago
belugas
96892e081a
(svn r13970) -Codechange: Replace numbers with Colours enum on network, toolbar and dropdown guis.
...
Mostly forgotten ones.
16 years ago
belugas
c5cecdd2e3
(svn r13919) -Codechange: Replace numbers with Colours enum on osk(forgot 2 assignations), statusbar, subsidy, terraform, timetable, toolbar, town, tree and vehicle guis.
16 years ago
rubidium
3a799389eb
(svn r13731) -Codechange: make a pool of the array of players.
16 years ago
belugas
aede445e2a
(svn r13672) -Fix(r13670): silent warnings that MSVC did not raised. Looks like enums can not be easily matched :(
16 years ago
belugas
ce721a579f
(svn r13670) -Codechange : Merge some very alike events handlers.
16 years ago
belugas
4f5eae2789
(svn r13663) -Codechange: Use a default parameter, hoping to reduce the different signatures of functions in menus
16 years ago
frosch
ecc5d648df
(svn r13649) -Codechange: Split the GfxFillRect() special flags from 'color' into their own parameter.
16 years ago
belugas
de86235274
(svn r13646) -Change: typos and miss-aligned enum values
16 years ago
belugas
dde4de5e20
(svn r13644) -Fix(r13643): compare an apple with an apple. MSVC seems to not care, but some other compilers do.
...
Thanks to glx :)
16 years ago
belugas
e8cddf8baa
(svn r13643) -Codechange: Enumify some loosely related values been used in the toolbar resizing processes
16 years ago
belugas
32ea99a741
(svn r13642) -Documentation: Add the enum values to the widget arrays, in concordance with code style
16 years ago
belugas
6d1e5a3f5b
(svn r13641) -Fix: Misleading enum name.
16 years ago
skidd13
41b09d4027
(svn r13628) -Feature: enable building of aqueducts in the scenario editor
...
-Codechange: related to this split the waterway based buttons from the landscape generation window
16 years ago
belugas
a6e0e2d837
(svn r13597) -Codechange: Enumification of the Map menu items.
...
The rework allowed to remove a function, by merging two quite similar ones.
16 years ago
belugas
1f4475d518
(svn r13590) -Codechange: Enumification of the Save/Load menu items
16 years ago
belugas
bee7934220
(svn r13588) -Documentation: Document the function PopupMainPlayerToolbMenu. Makes it a bit clearer, don't you think?
16 years ago
belugas
4cc9439d65
(svn r13586) -Codechange: Using default parameter, for cases where there are few exceptions.
16 years ago
belugas
be4e7b86f3
(svn r13562) -Codechange: Yet another enumification, which required a bit of explanation/documentation of a trickery some would call a hack
16 years ago
belugas
22c017c0c2
(svn r13561) -Codechange: two more enumifications of widgets
16 years ago
belugas
f16b9dcd2b
(svn r13560) -Fix(r13550): This section widget_count did not required to be lowered. So small revert
16 years ago
belugas
5408e1a51b
(svn r13559) -Codechange: Enumification of the Options menu items
16 years ago
belugas
6d4590ec7c
(svn r13550) -Fix(r13540, r13542): widget_count did not had the same value as 27. So, it has to be lowered by one, so it can be used as a widget "pointer"
16 years ago
belugas
d3fa4228cb
(svn r13543) -Codechange: Enumification of the InGame toolbar and some leftovers of scenario editor one.
...
Still more go do
16 years ago
belugas
37c58f606b
(svn r13542) -Codechange: Less a few more magic numbers and a code a bit more adaptable, still
16 years ago
belugas
da5fb0cf7e
(svn r13541) -Codechange: Aligning some switch case. Code cosmetics.
16 years ago
belugas
f5f05b4e86
(svn r13540) -Codechange: Less a magic number and a more adaptable code
16 years ago
belugas
0c342f3292
(svn r13536) -Codechange: Bit shifting is not really required when you know exactly the value to use.
...
Even more when it's a parameter.
16 years ago
belugas
bf9a32b475
(svn r13515) -Codechange: Widget enumification for scenario editor
16 years ago
belugas
8cbb17384d
(svn r13514) -Codechange: Removal of dead code (or useless, to be more exact)
16 years ago
belugas
5d828d8eee
(svn r13504) -Codechange: enumify some widgets for scenario editor. More work is required.
16 years ago
belugas
3d07e5ca10
(svn r13503) -Fix(r13173)[FS#2073]: Wrong widget numbers & event handlers were assigned to the zoom in and out buttons in the scenario editor
16 years ago
rubidium
933c9df335
(svn r13339) -Feature: splitting of the main toolbar when the resolution becomes very low so the buttons are still visible and useable. Patch by Dominik.
16 years ago
rubidium
4625695653
(svn r13251) -Codechange: rename _patches to _settings as that is more logic.
...
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
16 years ago
rubidium
6c20f77330
(svn r13228) -Codechange: split console.h.
16 years ago
peter1138
6f233b1f8f
(svn r13225) -Fix (r13041): Missing calls to FindWindowPlacementAndResize() from lots
...
of windows causing 'two stage' opening effect.
16 years ago
smatz
0d2266a3ac
(svn r13208) -Fix (r13173): it was possible to open invalid submenu from dropdowns
16 years ago
rubidium
27c38052b7
(svn r13185) -Codechange: remove everything related to the WindowProc callbacks.
16 years ago
smatz
6864eedb1b
(svn r13179) -Fix (r13173): r13178 applies to the main toolbar in Scenario Editor, too
16 years ago
smatz
70127934d1
(svn r13178) -Fix (r13173): the main toolbar didn't respect patch settings, it was always positioned on the right side
16 years ago
rubidium
09b5320a81
(svn r13173) -Codechange: make windows of the main toolbars.
16 years ago
rubidium
6da56ee87e
(svn r13169) -Codechange: remove a (now) unneeded parameter of one of the Window constructors.
16 years ago
rubidium
8b54212900
(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming.
16 years ago
rubidium
b08d728ac9
(svn r13108) -Codechange: make a Window subclass of the main toolbars sub menus.
16 years ago
rubidium
eeb6381690
(svn r13106) -Codechange: rework the toolbar code a little so functions do not have to return the Window they just created.
16 years ago
glx
ca4d92e2f2
(svn r13061) -Codechange: make a class of the BuildTreesWindow.
16 years ago
rubidium
935434333b
(svn r13028) -Codechange: WE_MESSAGE and WE_INVALIDATE_DATA were doing the same thing.
16 years ago
rubidium
68a1d75d9e
(svn r13025) -Codechange: remove the need for two WindowEvents.
16 years ago
rubidium
f438700402
(svn r13024) -Codechange: do not use WE_MOUSELOOP when WE_TICK suffices, rename WE_4 to something more descriptive and correct some (completely incorrect) comments.
16 years ago
rubidium
9ed36409c5
(svn r13006) -Codechange: GetMenuItemIndex is only used for the toolbar, so move it to there.
16 years ago
rubidium
2eef026fe3
(svn r13004) -Codechange: replace AllocateWindow and AllocateWindowDesc with a Window constructor.
16 years ago
smatz
220bc49731
(svn r12994) -Fix (r12976): another case main toolbar wasn't marked dirty
16 years ago
smatz
0c4715d825
(svn r12992) -Fix (r12976): main toolbar wasn't marked dirty when a child combobox was destroyed
16 years ago
rubidium
3d5567ccf7
(svn r12987) -Codechange: split viewport and tile selection.
16 years ago
rubidium
9bf519f26b
(svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) when it's certain that w != NULL.
16 years ago
rubidium
e6c944a6c4
(svn r12975) -Codechange: replace DeleteWindow(w) with delete w.
16 years ago
rubidium
f1679bcbb7
(svn r12892) -Fix: too many items in the vehicle toolbars were greyed out.
16 years ago
rubidium
c332c68170
(svn r12813) -Fix [FS#1943]: the 'last built railtype' got reset too often.
16 years ago
rubidium
0cecc4af20
(svn r12769) -Codechange: some coding style cleanups.
16 years ago
rubidium
dc16b4f2b4
(svn r12767) -Codechange: merge all main toolbar related functions into a single file instead of scattering the functionality over several files.
16 years ago
rubidium
9d8fa486af
(svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators.
16 years ago
rubidium
b1d1a4ac66
(svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location.
16 years ago
rubidium
37d961c8e7
(svn r12402) -Fix: some toolbars didn't seem to show anymore.
17 years ago
rubidium
65c7ef9629
(svn r12398) -Codechange [FS#1770]: Move toolbar related code to it's own little neighbourhood. Based on a patch by Dominik.
17 years ago