dominik
ea3eb8cbfa
(svn r1703) - Fix: Scrolling with the arrow keys is now smooth and it now also scrolls exactly in tile direction if e.g. up and left are pressed
2005-01-28 09:30:19 +00:00
dominik
85e768c11f
(svn r1667) - Feature: Signs are now shown in the color of the player who created them
...
(Note: The player information is currently not stored in savegames. Upon loading a game the signs will all be gray again)
2005-01-25 15:38:36 +00:00
darkvater
5f593d3e24
(svn r1653) -Fix: removed CTRL+A and CTRL+B cheats; thanks Hackykid
...
-Removed executable bits on png files in media dir (svn pd svn:executable <file>)
2005-01-24 23:02:14 +00:00
darkvater
9d492b5051
(svn r1648) -Fix: server can now pause and unpause a game through the console. Use 'pause' and 'unpause'
2005-01-24 21:33:44 +00:00
tron
81ee2d931b
(svn r1610) Remove trailing whitespace (last time ever, i hope)
2005-01-23 13:09:35 +00:00
tron
94d5aeabb2
(svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile
2005-01-22 20:23:18 +00:00
dominik
f7e39977de
(svn r1571) Feature: Visually enhanced autorail placing
...
When using the autorail tool, the rail pieces which are going to be build are highlighted.
If a piece is shown in red, this indicates that the slope/rail combination is impossible. It does not tell you if the rail line construction might not be possible because of other obstacles, e.g. houses or water.
2005-01-19 20:55:23 +00:00
bjarni
467e4b82bf
(svn r1568) made an enum of train subtypes to make the code more readable
2005-01-19 19:15:03 +00:00
tron
27057ae4b0
(svn r1545) Add TileHeight() which returns the height (not multiplied by 8)
...
Replace some direct references to _map_type_and_height with TileHeight()/IsTileType()
2005-01-16 14:50:01 +00:00
tron
61a6bc544d
(svn r1536) Move GET_TILEHEIGHT, GET_TILETYPE and IS_TILETYPE to map.h, turn them into inline functions and add some asserts
2005-01-16 11:24:58 +00:00
tron
dd6db73069
(svn r1520) Trim 134 (!) lines with trailing whitespace ):
2005-01-15 08:58:31 +00:00
darkvater
0961c6af96
(svn r1515) -Removed the 'close ALL windows' from the toolbar since shift+del does this.
2005-01-15 00:42:01 +00:00
darkvater
2b35e5ed0b
(svn r1514) -Fix: [1092474] little red box in scenario editor (Celestar). Error box is also shown in scenario editor for terraforming, thus solving the eternally-pulsating-tile problem.
2005-01-14 22:03:09 +00:00
darkvater
2257e03c33
(svn r1502) -Fix: [1101889] Crash under windows... stupid typo in player_gui.c ^ should've been &
...
-Fix: in multiplayer clientlist can only be opened once
2005-01-13 20:46:39 +00:00
darkvater
16b8912f06
(svn r1497) -Fix: [1101179] Crash if generating land while industry window is open. This also happened for towns and the land information window
...
-Added DeleteWindowByClass() function that deletes all windows of a given class
2005-01-13 16:50:20 +00:00
darkvater
795f40c293
(svn r1487) -Fix: [1100736] wrong tooltip for place desert button
2005-01-12 11:50:41 +00:00
truelight
97dd511971
(svn r1486) -Codechange: moved all 'signs' stuff to signs.c/h and prepared it for
...
dynamic arrays
2005-01-12 11:21:28 +00:00
darkvater
199a77d1ea
(svn r1479) -Added highscore chart (accessible from the difficulty window) with top5 companies for a given difficulty (select the difficulty in the menu)
...
-Added endgame score on 1 jan 2051 where you are added to the highscore if sufficiently large points have been accumulated. Game is paused while
-These values are saved in hs.dat; added read/write functions for it
-Added code to delete all windows to show charts. There is one issue left: somehow a news-gui pops up in front of the the chart at the end of the game.
2005-01-11 00:54:06 +00:00
darkvater
781648ada3
(svn r1465) -Fix: [1099101] starting year patch goes out of range. Clamped year between 1920-2090 as wel as adding defines for it.
2005-01-10 14:43:00 +00:00
tron
414ac3286b
(svn r1414) Move TileIndex, TILE_MASK and GET_TILE_[XY] to map.h and turn the latter into inline functions names Tile[XY]
2005-01-07 17:02:43 +00:00
darkvater
3d51f4d689
(svn r1353) -Fix: [1092707] placing rocks in scenario editor. You can place rocks on trees and vice versa
2005-01-03 21:26:09 +00:00
darkvater
f23a382f82
(svn r1349) -Fix: [1093485] Dissappearing rocks in Scenario Editor
2005-01-03 20:20:25 +00:00
truelight
3b7d2a8b67
(svn r1348) -Feature: resizable windows. Read the comment in window.h to find out
...
how the system works. All useful windows are already made resizable. Enjoy :)
-Fix: fixed some GUI-glitches and flaws along the way
2005-01-03 19:45:18 +00:00
truelight
0f856ad408
(svn r1286) -Fix: oeps, I clamp'd some numbers wrong :$
2004-12-28 09:31:38 +00:00
truelight
bb1ad030e3
(svn r1284) -Fix: Fixed 'money-cheat' (read: bug which could give people a lot of money)
2004-12-28 09:24:02 +00:00
truelight
4a5e11cea9
(svn r1263) -Fix: [Network] Client-names are limited (serverside) to 25 chars
...
-Fix: You can enter some more chars in the chatbox
2004-12-23 20:33:57 +00:00
darkvater
5eeb971de0
(svn r1240) -Fix: OpenTTD once again compiles if ENABLE_NETWORK is disabled.
...
-Fix: removed some warnings
-Enabled ENABLE_NETWORK on windows again which I accidentally commented out.
2004-12-23 00:24:44 +00:00
darkvater
5b701e585d
(svn r1225) -Feature: SHIFT+DEL now deletes all non-vital windows (only status bar and main bar remain)
...
-Fix: For everyone who tried to crash the game by opening a huge amount of windows and stickying all of them; bad luck. It's fixed now (thanks Tron for the helpful criticism). First all normal windows are a candidate for replacement, then if none are found, sticky windows. Then..well that should not happen :)
2004-12-22 17:37:21 +00:00
darkvater
4e38703e8c
(svn r1214) -Feature: Stickified Industries (list & window), Smallmaps (all three), Stations (list & window) and Towns (list & window). I hope I didn't forget to update a widget somewhere :O
...
-Feature: With the sticky windows on and some unfortunate resizing of your game it the 'close' button might go outside of the playing field, making it impossible to close. Added an option to the Options menu that closes all windows, even if they are stickified ("Close ALL windows")
2004-12-22 01:32:30 +00:00
truelight
5e25f6b236
(svn r1176) -Fix: [Network] PlayerBasedMenu's caused crashes when a company went bankrupt
2004-12-19 19:17:15 +00:00
truelight
182eb874e8
(svn r1174) -Fix: [Network] All strings can now be translated (no more hardcoded strings)
2004-12-19 15:14:55 +00:00
truelight
c83d447a35
(svn r1146) -Fix: You can no longer change waypoints whom are owned by somebody else
2004-12-17 17:06:20 +00:00
darkvater
302893f0da
(svn r1121) -Feature: Added sticky windows feature. A small pin allows the user to set the window as undeletable and can only be closed by hand. As an example the viewport window has been stickied (thanks to Neko-San)
...
-To use the feature add WDF_STICKY_BUTTON to the widget description and update all widget-ID's since sticky button will be widget 2.
2004-12-15 23:33:04 +00:00
tron
a148ff4e0d
(svn r1117) Move map arrays and some related macros into their own files map.c and map.h
2004-12-15 22:18:54 +00:00
truelight
2f6a26ab2d
(svn r1108) -Fix: [Network] Fixed problem around slow clients:
...
They joined, they got the map, but it took some time before the new
player was created. In this time a player could do stuff, causing a
player-id-mismatch, and the player was kicked out. Now a player get's a
nice GUI which says: registering.. When that is gone, the player is
joined and can play safely. Tnx to Moriarty for bugging me with this bug ;)
2004-12-15 21:13:52 +00:00
dominik
bc13fd26d5
(svn r1092) Fix: Autorail can be accessed with the 'a' hotkey again
2004-12-14 21:56:01 +00:00
dominik
967425b368
(svn r1082) Feature: Chat toolbar
...
- to chat with all players press Return (or Shift-T) and type in the message
- Press Return again to send the message
2004-12-14 16:53:38 +00:00
dominik
c466fcb3b2
(svn r1040) Fix: All character hotkeys are disabled now when a window for typing is open
2004-12-12 22:05:08 +00:00
dominik
dde7447e2c
(svn r1035) Fix: Added a line that I accidentally deleted in r1033
2004-12-12 18:20:05 +00:00
dominik
9d57beeebd
(svn r1033) -Add: 'l' openes the landscaping toolbar globally
2004-12-12 18:06:48 +00:00
dominik
bbd3ec33d0
(svn r1030) Some toolbar icons are arranged differently:
...
- Landscaping buttons have to be accessed from the landscaping toolbar
- Landscaping toolbar can be opened from all other toolbars
- The order of buttons in the docks toolbar now matches the other toolbars
- Landscaping toolbar has new keyboard shortcuts
2004-12-12 17:42:04 +00:00
truelight
a501e89624
(svn r1022) -Fix: [Network] [ 1083690 ] The password dialog made the network
...
disconnect without cleaning up.
2004-12-12 13:46:10 +00:00
tron
13e8d01dcb
(svn r1009) -Feature: per-station vehicle lists
...
This adds a little button per vehicle class to the station window which opens a list of all vehicles that have this station on their schedule.
As side effect this gets rid of some global variables.
2004-12-10 18:16:08 +00:00
darkvater
dcafdf5e50
(svn r1002) -Fixed the placement of the OpenTTD logo a bit (thx Jango).
2004-12-09 23:49:23 +00:00
darkvater
a0992352ee
(svn r1001) -Changed the title name to OpenTTD. Don't know how this was missed all this time; but is fixed now.
2004-12-09 23:20:32 +00:00
truelight
d15e7e307e
(svn r945) -Fix: [Network] Terraform callback went wrong in merge
...
-Fix: Some settings went wrong in merge
2004-12-04 18:17:52 +00:00
truelight
d6a1f3e412
(svn r942) -Merged branch/network back into the trunk
2004-12-04 17:54:56 +00:00
tron
291d25a88b
(svn r925) Use sound enums
...
Also play the correct sound when a toyland road vehicle breaks down
2004-12-04 09:26:39 +00:00
tron
265ac67183
(svn r901) Small step in the process to clean up the DPARAM mess:
...
- reduce to 2 sizes (*DParam64 for 64bit values, *DParam for the rest)
- use inline functions instead of macros
- add assert()s to check for buffer overruns
2004-12-02 22:53:07 +00:00
tron
acbd1801c7
(svn r815) Include strings.h only in the files which need it.
...
This should reduce the compile time after altering english.txt by about 1/3, because "only" 62 instead of 90 .c files must be recompiled.
2004-11-25 10:47:30 +00:00
tron
e8537f5512
(svn r787) Invert the sense of the DO_TRANS_BUILDINGS flag to be consistent with its own name and all other DO_* flags.
...
Now it is active-true.
2004-11-23 22:36:11 +00:00
dominik
4e41cf9e2b
(svn r745) Added newgrf GUI (in options menu)\nThe interface currently only displays the installed grf sets, you can't (de)activate them through the gui yet
2004-11-21 22:44:13 +00:00
tron
01e88bb61d
(svn r623) -Feature: [ 1066504 ] Pause key pauses the game
2004-11-15 10:04:57 +00:00
tron
249a170ace
(svn r607) -Patch: [ 985102 ] static cleanup
...
Thanks to lvoge
2004-11-14 19:44:06 +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
tron
5d6c0a8220
(svn r543) -Fix: [ 1064742 ] Editor Map-Menu wrong String
...
The fix is a bit ugly, but this is due to limitations in the dropdown menu handling (the strings have to be contiguous)
2004-11-11 23:23:42 +00:00
tron
603618a75b
(svn r532) Disable date change buttons in scenario editor if date limit is reached.
...
Note: It's a /bit/ ugly, need to find a cleaner way
While I'm here enlarge the start date window to 1920-2000 (was 1950-1975).
2004-11-08 22:21:14 +00:00
tron
d641175e3c
(svn r513) Merge revisions 402, 416, 417, 478, 479, 511, 512 from map to trunk
...
This includes 2 fixes
-Fix: [1048596] Monorail and Maglev sounds are swapped (r511)
-Add special case to load the jackhammer sound (r478)
The rest are cleanups und enumeration to make merging possible/easier
2004-11-05 23:12:33 +00:00
darkvater
e295e46e3e
(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron for your diligent fixing of warnings (and some possibly bugs) (Tron)
...
-CodeLayout: Remove trailing spaces and Windows linebreaks
2004-09-12 21:49:38 +00:00
darkvater
99687cf513
(svn r214) -Feature: CMD_NET_INSTANT [just in time command handling over network] (sign_de)
...
-Fix: Only server can pause in network, action disabled for clients
-Fix: Direct Connect editbox can handle up to max ~35 characters
2004-09-12 15:29:37 +00:00
signde
1fb915df69
(svn r207) -Codechange: randomizer handling
...
-Fix: desync problem fixes
-Fix: server doesnt hang anymore when a client timed out
-Feature: low latency connection enhancements [*net_sync_freq, *net_ready_ahead]
2004-09-11 19:34:11 +00:00
darkvater
a956b63b41
(svn r198) -Fix: [1020269] Different production? Wrong production amount was showed in the industry list window
...
-Fix: Show industry list is now the first dropdown item. Second is Fund Industry.
2004-09-10 23:20:14 +00:00
darkvater
80cb0b7fd6
(svn r197) -Fix: Disable Fast Forward in network games visually (didn't work anyways, just showed graphical output)
2004-09-10 22:43:40 +00:00
truelight
eb49a19460
(svn r194) -Codechange: stripping trailing-spaces. Please keep this that way!
2004-09-10 19:02:27 +00:00
darkvater
56435c8775
(svn r177) -Fix: padded out Widget code to solve warnings on C99 compiler (Tron)
...
-Fix: added WIDGETS_END macro for WWT_LAST which does this for all last widget-types
2004-09-07 21:48:09 +00:00
darkvater
78b64ed192
(svn r169) -Fix: move around sort-widgets a bit so it looks more natural
...
-Fix: savegames are sorted with newest date first by default
-Codechange: refine sorter functions
-Fix: fixed linux warnings (tokai)
2004-09-06 21:20:01 +00:00
darkvater
4fec362b32
(svn r153) -Feature: [1009710] Extra Viewport. In the minimap dropdown menu, open a new viewport to have a quick look at your favorite map-positions. Independent zoom and quick jump to/from viewport (Dribbel)
2004-09-03 19:59:05 +00:00
darkvater
5505a10b80
(svn r136) -Feature/Fix: Console Rev #2 and WKC_BACKQUOTE this patch adds new features to the ingame console and inserts a new keymanagement for windows pcs... (sign_de)
2004-08-24 22:41:42 +00:00
dominik
c32166a5c9
(svn r131) Completely changed hotkey from tab to backquote (not working in Windows yet)
2004-08-24 12:34:16 +00:00
dominik
e2f627a22e
(svn r127) New feature: ingame console. (sign_de)
...
Press tab to open the console, more info in docs/console.txt
2004-08-24 08:34:28 +00:00
dominik
a6f2257600
(svn r117) Feature: Performance details window in company league menu (TrueLight)
2004-08-23 10:59:03 +00:00
darkvater
0361d3d12f
(svn r75) -Add proper crediting to graphics artists to about box.
...
-Change DEBUG lvl for GRF warnings/errors to 2, lvl 1 is used for copyright notices
-Fix show currect filename when debugging grf files
2004-08-17 15:31:04 +00:00
darkvater
31911a9325
(svn r69) -Feature: align toolbar left/center/right patch (TrueLight)
...
-Feature: added callback feature to patches options
2004-08-16 21:02:06 +00:00
dominik
df26dc7687
(svn r25) Fix: [ 1007630 ] Scenario editor pause bug
2004-08-12 09:36:22 +00:00
dominik
4d148bf0fa
(svn r8) Fix: Automatic oil refinery generation in editor
2004-08-10 16:12:40 +00:00
darkvater
e4940ebc79
(svn r3) -[1005611] Player Window patch: When looking in dropdownlist for player stuff, it will say
...
for all human players (Player #), not only for the first 2
2004-08-10 14:32:17 +00:00
darkvater
804f038594
(svn r2) -Fix [993829] UDP Fixes (lucaspiller)
...
-Fix change 255/0xFF to OWNER_SPECTATOR for
spectator stuff (TrueLight)
2004-08-10 14:14:00 +00:00
truelight
efaeb275f7
(svn r1) Import of revision 975 of old (crashed) SVN
2004-08-09 17:04:08 +00:00