belugas
e67ed0a808
(svn r11711) -Codechange: Name the Save Load Dialog Mode enum
2007-12-27 17:29:27 +00:00
rubidium
384503e7d3
(svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes.
2007-12-27 13:35:39 +00:00
rubidium
b9046c97fb
(svn r11702) -Codechange: move all date related stuff to date*.
2007-12-26 13:50:40 +00:00
rubidium
2786d789a1
(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h).
2007-12-26 11:45:43 +00:00
rubidium
429521a7d1
(svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h'
2007-12-25 11:26:07 +00:00
rubidium
a773d45885
(svn r11684) -Codechange: split gfx.h in a type and functional header.
2007-12-23 10:56:02 +00:00
rubidium
8f0e68285b
(svn r11682) -Codechange: move some 'generic' geometry related types into a single file and do not include gfx.h everywhere to get a Point type.
2007-12-22 23:30:28 +00:00
rubidium
6a9e77e079
(svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
2007-12-21 22:50:51 +00:00
rubidium
9e9cfe6e59
(svn r11677) -Codechange: move price and command related types/functions to their respective places.
2007-12-21 21:50:46 +00:00
rubidium
433a9f3c09
(svn r11675) -Codechange: split the string types from the string functions.
2007-12-21 19:49:27 +00:00
rubidium
5b49e75453
(svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.h
2007-12-19 23:26:02 +00:00
rubidium
d582aea639
(svn r11668) -Codechange: more refactoring aimed at reducing compile time and making it more logic where function definitions can be found.
2007-12-19 20:45:46 +00:00
rubidium
8896bea306
(svn r11667) -Codechange: split window.h into a header that defines some 'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps.
2007-12-19 19:44:29 +00:00
rubidium
ec90ce7e98
(svn r11643) -Codechange: conform with the coding style for the WP macro uses.
2007-12-16 10:54:08 +00:00
belugas
a85c832919
(svn r11620) -Change: Some are going, some are coming, some we do not know exactly. Little update on the OpenTTD Team
2007-12-11 19:59:53 +00:00
skidd13
9124331b0d
(svn r11614) -Fix: The about dialog scrolling was connected to the mouse instead of the internal ticks
2007-12-09 22:14:41 +00:00
smatz
2a62aa1ccd
(svn r11601) -Codechange: more strict break conditions for _userstring, assert when it overflows anyway (eg. code change without proper check change)
2007-12-08 18:50:39 +00:00
belugas
73c58d8a40
(svn r11596) -Codechange: Use the Window member HandleButtonClick and remove its now useless counterpart function
2007-12-08 03:10:50 +00:00
belugas
8c89641dbe
(svn r11592) -Codechange: Use the Window member RaiseButtons and remove the now useless RaiseWindowButtons function
2007-12-08 01:20:47 +00:00
glx
c21f588a14
(svn r11588) -Codechange: use the new member introduced in r11551
2007-12-07 18:05:49 +00:00
belugas
6c70cf2d82
(svn r11579) -Revert(r11578): some cases of key propagation are not handled correctly.
...
A better solution will be deviced, but not now. Let's not cause a ton of bug reports
2007-12-06 15:58:39 +00:00
belugas
7edf28529d
(svn r11578) -Codechange: Introduce the window default flag WDF_TEXTENTRY 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.
2007-12-06 02:31:47 +00:00
rubidium
527b72749d
(svn r11555) -Codechange: use the new members introduced in r11551.
2007-12-02 14:29:48 +00:00
skidd13
bf959f926f
(svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them fitting to the naming style
2007-11-24 10:38:43 +00:00
skidd13
eeaa348f8b
(svn r11484) -Codechange: Remove the doubled function SetBitT and rename the remaining to fit with the naming style
2007-11-20 13:35:54 +00:00
skidd13
5c31a973a1
(svn r11482) -Codechange: Remove the doubled function ClrBitT and rename the remaining to fit with the naming style
2007-11-19 21:32:20 +00:00
skidd13
8be526e499
(svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit with the coding style
2007-11-19 18:38:10 +00:00
rubidium
dace4686c0
(svn r11440) -Codechange: replace magic numbers with enumified WindowHighlightMode constants. Patch by SmatZ.
2007-11-15 18:28:00 +00:00
truelight
f6dda29549
(svn r11409) -Update: as of now, I am a retired Developer, so mark me as such
2007-11-11 14:32:18 +00:00
belugas
56e6282f2f
(svn r11374) -Codechange: Give meaning to the magical number that specifies the color of the text in a DrawString call.
...
Patch heavily based on BiBB's work (FS#1383)
2007-11-04 00:08:57 +00:00
rubidium
e21b7634bf
(svn r11287) -Codechange: add support for pushing paramaters into NewIndustries' error messages. Patch by Csaboka.
2007-10-17 20:09:16 +00:00
rubidium
9706c32ed6
(svn r11040) -Fix [FS#1179]: removing CMD_AUTO from some commands could remotely trigger an assertion.
2007-09-04 11:58:27 +00:00
truelight
114161bb7a
(svn r10878) -Add [FS#653]: added TileHeight to the Land Area Information tool (blove)
2007-08-13 18:59:34 +00:00
rubidium
db374f600c
(svn r10755) -Codechange: make the town struct use the pool item class as super class.
2007-08-02 21:05:54 +00:00
peter1138
06986b7744
(svn r10736) -Fix: Correct all mispellings of 'successful'.
2007-07-30 13:36:09 +00:00
rubidium
b54b275ee4
(svn r10709) -Codechange: allow automatic downsizing of the load game/save game windows. These windows also already supported downsizing, but again the resize button would be unreachable.
2007-07-27 22:11:22 +00:00
rubidium
c03cb2c8db
(svn r10704) -Codechange: provide an infrastructure to have resizable windows that are smaller than the default window size.
2007-07-27 12:49:04 +00:00
rubidium
b290268645
(svn r10684) -Codechange: some more coding style related changes. Primarily moving { to a new line.
2007-07-25 00:16:30 +00:00
rubidium
efc7fdf2fd
(svn r10587) -Codechange: move the string/dparam related stuff from variables.h to strings.h
2007-07-16 09:16:58 +00:00
rubidium
7cd00468d6
(svn r10522) -Fix: the "build truck station" GUI showed that it would accept tourists when it does not, whereas the "build bus station" GUI did not show them when it did accept them.
2007-07-12 13:40:24 +00:00
peter1138
b1bad4ab46
(svn r10412) -Codechange: Remove unnecessary inclusion of hal.h in various files (and add one)
2007-07-03 11:31:38 +00:00
truelight
189fa7cca5
(svn r10339) -Fix r10311: if you fix your own name, at least also update your description ;)
2007-06-26 13:36:00 +00:00
peter1138
eb6594caa8
(svn r10323) -Codechange: reference company name, number and player (president) name
...
by index
2007-06-25 13:30:38 +00:00
orudge
a191162f59
(svn r10311) -Fix: I'm not retired, just relatively inactive ;)
2007-06-24 20:44:36 +00:00
truelight
f80fa33cc5
(svn r10270) -Add: prefixed the loading indicator with an arrow, up meaning vehicle is loading, down meaning vehicle is unloading
2007-06-22 18:28:44 +00:00
rubidium
046b6f18da
(svn r10263) -Fix (r10262): due to 64 bits alignment a struct became a little too large.
2007-06-21 19:18:49 +00:00
rubidium
0b34c9aefe
(svn r10262) -Fix (r10258): some places that needed to be changed to uint64 were hidden/forgotten, which caused memory corruptions and that in caused all kinds of assertions to trigger.
2007-06-21 19:08:47 +00:00
rubidium
9c0944aa09
(svn r10258) -Codechange: as we are now using int64 all over the place, it's better to use int64 variables in the string generating too instead of packing them into two int32s.
...
-Fix: some displays of money were wrong.
2007-06-21 17:25:17 +00:00
truelight
56eb1738ee
(svn r10254) -Feature: loading indicator, which shows in % how full a vehicle is while loading/unloading (TheJosh)
2007-06-21 16:17:47 +00:00
rubidium
eb1472a82d
(svn r10247) -Fix (r10210): *always* call SetDParamMoney when you want to place money in some string.
2007-06-21 14:54:51 +00:00
rubidium
f806b46cc9
(svn r10246) -Fix (r10297): some forgotten money conversions and truncation issues. Thanks to benc for providing the patch.
2007-06-21 14:32:27 +00:00
rubidium
2ee73b50b8
(svn r10208) -Codechange: replace int32 with Money where appropriate.
2007-06-18 21:44:47 +00:00
rubidium
7a72dcb3b5
(svn r10207) -Codechange: remove the redundant player_money in favour of the money64, which is now renamed to player_money.
2007-06-18 21:00:14 +00:00
rubidium
49220cc6f1
(svn r10205) -Codechange: refactor returning of cost, so it can be more easily modified.
2007-06-18 19:53:50 +00:00
rubidium
b09431478d
(svn r10200) -Codechange: add "shortcut" for !CmdFailed (CmdSucceeded).
2007-06-18 16:42:40 +00:00
rubidium
347c28b71a
(svn r10182) -Codechange: rewrite most part of the file loading/searching to be more flexible.
...
-Codechange: add support for personal directories on Windows.
-Fix [FS#153, FS#193, FS#502, FS#816, FS#854]: fix issues related to fixed names, fixed places of files/directories and application bundles.
2007-06-17 15:48:57 +00:00
rubidium
73790d9cd6
(svn r10116) -Fix [FS#850]: remove invalid characters (for the file system) from savegame names. Based on a patch by TheJosh.
2007-06-12 15:46:34 +00:00
rubidium
17390241e6
(svn r9923) -Add: support for Action 0 Road vehicles, property 1C, bit 0.
2007-05-25 22:07:40 +00:00
maedhros
35ce34d55a
(svn r9901) -Codechange: Decide what to do with selected land areas based on the specific variable, not how it was highlighted.
2007-05-23 13:52:10 +00:00
maedhros
ca5c578d0f
(svn r9900) -Codechange: Separate the variables for how to highlight a land area and what to do with it afterwards.
2007-05-23 12:45:56 +00:00
truelight
765c466b8d
(svn r9846) -Codechange: introduced ZOOM_LVL_MIN and ZOOM_LVL_MAX for the obvious reasons
...
-Codechange: introduced ZOOM_LVL_DETAIL to show/remove details
-Codechange: changed << and >> operator with ZoomLevel to a simple wrapper (that in theory also allows zoom-in besides the current zoom-out)
-Fix r9845: missed some int -> ZoomLevel
2007-05-15 16:08:46 +00:00
rubidium
2dc5589290
(svn r9673) -Cleanup: remove spaces before tabs and replace non-indenting tabs with spaces.
2007-04-18 22:41:53 +00:00
rubidium
80c259f64f
(svn r9672) -Cleanup: lots of coding style fixes around operands.
2007-04-18 22:10:36 +00:00
belugas
607a55f4ec
(svn r9662) -Documentation: Doxygen corrections and @file omissions
2007-04-17 20:23:13 +00:00
maedhros
ccaaa7d33a
(svn r9609) -Codechange: Move some function prototypes out of functions.h and into landscape.h, and add a few where they didn't exist.
2007-04-12 13:07:15 +00:00
peter1138
d7f56f1550
(svn r9388) -Codechange: variable scope and type, and standardify all CargoID loops.
2007-03-21 13:19:01 +00:00
maedhros
73ff939ddb
(svn r9315) -Merge: The newhouses branch. With this merge comes almost complete support for
...
the newhouses grf specs, so all newhouses grfs will be playable in the game.
Many thanks to everyone who contributed code and ideas, and all the testers
who found things we missed.
2007-03-19 11:27:30 +00:00
rubidium
24c4d5b06d
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
2007-03-07 12:11:48 +00:00
rubidium
36bb92ae24
(svn r9050) -Codechange: Foo(void) -> Foo()
2007-03-07 11:47:46 +00:00
belugas
7a58642b6c
(svn r9042) -Add : Maedhros as a developper
2007-03-06 22:16:43 +00:00
Darkvater
aea64adbb9
(svn r9011) -Codechange (r9003): Rework Utf8PrevChar so that it returns a pointer to the previous UTF8 character's first byte instead of a byte-length offset
2007-03-05 00:34:48 +00:00
Darkvater
0d643c624b
(svn r9003) -Codechange: Introduce a function Utf8PrevCharLen that finds the starting character of an UTF-8 sequence from a given position and returns the length to the first UTF-8 encoding byte of that sequence.
2007-03-04 00:49:40 +00:00
belugas
b71354dc40
(svn r8987) -Cleanup: doxygen changes. Again. Mostly (still) @files missing tags and (more than just) a few comments style.
2007-03-03 04:04:22 +00:00
Darkvater
0961e1bc56
(svn r8977) -Codechange: Remove the hardcoded maximum width for some drawstrings and replace them with a portion of w->width. Only visible improvement is QueryWndProc which will not write exactly to the edge of the window anymore.
2007-03-02 17:54:52 +00:00
rubidium
ea319b78f8
(svn r8969) -Codechange: rework of the player face bits.
...
- introduce a new format (with backward compatability) that is more clear and needs a much simpler face drawer
- replace tons of ifs/switches/magic numbers by table lookups
2007-03-02 01:17:11 +00:00
peter1138
ef2daa5060
(svn r8826) -Codechange: Replace _cargoc's separate arrays with a regular struct array (with accessor) and implement new initialization method using cargo labels.
2007-02-20 22:09:21 +00:00
rubidium
c8882bd3d2
(svn r8511) -Codechange: make WindowClass an enumerated value.
2007-02-01 15:49:12 +00:00
maedhros
7a7562d8e2
(svn r8300) -Codechange: Add a prototype for DrawPlayerIcon to players.h and include that
...
instead of using externs. Also move DrawPlayerIcon from graph_gui.cpp to
players.cpp.
2007-01-21 11:49:18 +00:00
KUDr
314e35beff
(svn r8273) -Fix: return value from clamp was ignored
2007-01-18 23:48:04 +00:00
Darkvater
8e06ff09a6
(svn r8254) -Merge: Release changes from the 0.5 branch back to trunk. This ensures an updated changelog, readme, et.
2007-01-18 15:39:58 +00:00
peter1138
92d418b031
(svn r8128) -Codechange: Split sprite and palette remap into separate 32 bit values.
...
This lets us increase the sprite width from 14 to up to 29 bits,
effectively nulling the old sprite limit. Table changes in next commit.
2007-01-14 19:57:49 +00:00
Darkvater
d9fc6134d3
(svn r8098) -Fix (r6964): For editboxen, always fill the background with black, and not only after a valid call to FillDrawPixelInfo. This solves some graphics glitches with background widget-colour showing through on frequent redraws.
2007-01-13 15:00:40 +00:00
belugas
5f9c891734
(svn r8050) -Codechange: Rename map member extra to m6, since its usage has been widden.
...
Only doc landscape_grid.html has been updated, landscape.html will be done latter.
-CodeChange: Replace a direct access to m6 with SetTropicZone in InitializeLandscape, as it is the only part of m6 still untouched without the brute-forced m6=0
2007-01-11 02:05:13 +00:00
rubidium
f35ed4bbc2
(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b.
2007-01-10 18:56:51 +00:00
KUDr
e373ea7096
(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files renamed to .cpp)
2007-01-10 18:12:09 +00:00