Age | Commit message (Collapse) | Author |
|
|
|
|
|
its now useless counterpart function
|
|
function counterpart HandleButtonClick.
|
|
now useless RaiseWindowButtons function
|
|
|
|
should be const.
|
|
correctly.
A better solution will be deviced, but not now. Let's not cause a ton of bug reports
|
|
which specifies that the window holding it is actually one that enables an edit box.
Use this flag when dispatching a key event instead of using some hard coded window IDs.
This should ease a little bit the creation of new edit aware windows.
|
|
helps readability a little bit.
|
|
functions.
|
|
should be const.
|
|
Window. These "new" members have the exact same functionalities as their pure functions "genitors"
Ex: "Window::SetWidgetLoweredState(byte widget_index, bool lowered_stat)" is the member corresponding to "SetWindowWidgetLoweredState(Window *w, byte widget_index, bool lowered_stat)"
|
|
the remaining to fit with the naming style
|
|
style
|
|
ViewportPlaceMethod enumified constant. Patch by SmatZ.
|
|
|
|
subsystem. Patch by Progman.
|
|
Based on a patch by nycom.
|
|
WE_CREATE event.
|
|
windows that are smaller than the default window size.
|
|
(either in scenario editor or with the cheat).
|
|
build-vehicle and town-action
|
|
were hidden/forgotten, which caused memory corruptions and that in caused all kinds of assertions to trigger.
|
|
with patch setting 'smooth_scroll'
|
|
area and what to do with it afterwards.
|
|
|
|
can make groups of vehicles and perform all kinds of tasks on that given group. Original code by nycom and graphics by skidd13.
|
|
strictness.
|
|
Client ID > 255.
|
|
finally done. Now, time to start clearing as much as possible
|
|
truncated string. It will be usefull on windows where lot of simple text is always drawn on the WE_PAINT event, making the code clearer. For now, left, right (total size of the window), top, color and data are necessary to use it. Maybe more features will be available soon.
|
|
|
|
|
|
comments style.
|
|
files with the @file tag as well as a few general comments style
|
|
-Codechange: Make the encoding of accepted aircraft types of airports a bit more sensible and move the enum into struct AirportFTAClass
|
|
|
|
autoreplace window
-The user will notice the following changes:
All vehicle types behaves in the same way
Adding/removing an engine (new design and so on) can no longer result in the window selecting a new engine
All valid replacements will be displayed since it looks at refitting options as well (this solves the missing ships with the newships GRF)
Since you can't replace an engine into itself, the engine selected in the left list will no longer appear in the right list
-The code changes:
Instead of looping all engines all the time, each list generates a list like the build windows
This ensures consistent list generation since only one function can loop all engines
Unified code for all vehicle types
It now use the lists to call the drawing code in the build vehicle window
Works on selected EngineIDs instead of selected index in the list
|
|
Now it only works on first and last widget to resize
It now works with offsets correctly (no longer assumes the left is 0)
It's no longer needed to have a widget right of the ones you resize
Can handle any number of widgets
|
|
for each window, a global ResizeButtons() is added
|
|
instead of rebuilding the list and then rebuild it the next time it's redrawn
This should save CPU time in the (maybe unlikely) event that the list is invalidated more than once between two redraws
|
|
stillunknown and pv2b.
|
|
- A proper ./configure, so everything needs to be configured only once, not for every make.
- Usage of makedepend when available. This greatly reduces the time needed for generating the dependencies.
- A generator for all project files. There is a single file with sources, which is used to generate Makefiles and the project files for MSVC.
- Proper support for OSX universal binaries.
- Object files for non-MSVC compiles are also placed in separate directories, making is faster to switch between debug and release compiles and it does not touch the directory with the source files.
- Functionality to make a bundle of all needed files for for example a nightly or distribution of a binary with all needed GRFs and language files.
Note: as this merge moves almost all files, it is recommended to make a backup of your working copy before updating your working copy.
|