tron
2a151d9354
(svn r1853) Move spritecache function declarations into a header of their own and use SpriteID as parameter type where appropriate
2005-02-10 05:43:30 +00:00
tron
8aee833024
(svn r1849) Use the cheat entry enum for CheatEntry.type and remove unused enum values
2005-02-08 16:53:28 +00:00
tron
d1fb165ad2
(svn r1848) Remove the obscure feature of initialising the edit box with the contents of str_buffr - it was unused anyway.
...
Remove it from the chat box too, which inherited it via copy&paste.
2005-02-08 16:37:28 +00:00
darkvater
8867c00d68
(svn r1845) - Revert r1835 since it totally screws network compiling
...
- Fix: fix some VS.NET warnings
- Add missing file to VS.NET project file
2005-02-07 19:45:08 +00:00
tron
b1baa4ed8b
(svn r1840) Repel str_buffr and use local buffers where possible
2005-02-07 12:32:35 +00:00
tron
eed181245d
(svn r1833) byte -> char transition: the rest
2005-02-06 22:25:27 +00:00
tron
2fb453a4a5
(svn r1827) Next iteration of the byte -> char transition: some string drawing functions and buffers
2005-02-06 18:30:45 +00:00
tron
0381073e56
(svn r1813) Declare functions implemented in strings.c in their own shiny new header (though i think some of these function don't belong into strings.c)
2005-02-06 08:18:00 +00:00
tron
7aae12d55d
(svn r1808) Use strcmp() instead of home brewed function str_eq()
2005-02-05 22:50:33 +00:00
tron
f0f85a7ef3
(svn r1803) Move debugging stuff into files of it's own
2005-02-05 15:58:59 +00:00
matthijs
f42e8ac3d2
(svn r1778) - Fix: [ 1115200 ] In the main menu, when starting a new game while the load game dialog is open, openttd asserts.
2005-02-03 19:23:06 +00:00
miham
7874c86cb2
(svn r1678) Added cheat option for setting production of raw-material product industries in game
2005-01-26 10:52:23 +00:00
darkvater
590bbd7e21
(svn r1632) -Fix: [1108008] Scenario creation bug; engines are of correct year when scenario is saved
2005-01-23 23:59:49 +00:00
darkvater
94dc25b45f
(svn r1627) -Fix: The tabulizer in action ^_^
2005-01-23 21:30:31 +00:00
darkvater
f1c151f157
(svn r1626) -Updated readme and credits list.
2005-01-23 21:24:33 +00:00
darkvater
f31d8bb9a1
(svn r1625) -Alphabetized credits list
2005-01-23 20:41:20 +00:00
tron
9f60324821
(svn r1606) Fix some bogus casts
2005-01-23 10:54:32 +00:00
tron
e5cd6b6193
(svn r1596) Add some more statics
2005-01-22 22:47:58 +00:00
tron
189ca73707
(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
tron
4136f395bf
(svn r1508) Remove duplicate declarations and include proper headers where necessary
2005-01-14 19:41:24 +00:00
darkvater
06cc62f40d
(svn r1496) -Fix: highscore no longer crashes in network games with a dedicated server. At the end of the game (can only be set by the server) the highscore is shown for the top5 companies of that game
...
-Fix: fixed some compiler warnings
-Added PF_NETWORK_ONLY flag to settings. Such a setting can only be modified in a network game.
2005-01-13 16:28:47 +00:00
darkvater
ae72661742
(svn r1476) -Fix: [1099209] Catchment area with drag&drop stations (Celestar)
2005-01-10 22:36:11 +00:00
tron
49584082a0
(svn r1451) Fix some of the signed/unsigned comparison warnings
2005-01-09 21:25:44 +00:00
tron
7ca6b2b8b0
(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
becd9c224e
(svn r1398) -Feature: CTRL+V (Paste) now works on all editboxes. This includes 'Add Server', chat, etc. Feature is Windows only.
2005-01-06 15:54:09 +00:00
tron
5b7e224f46
(svn r1397) Add missing RESIZE_NONE
2005-01-06 12:34:22 +00:00
darkvater
4c5f6fe360
(svn r1379) -Fix: various GUI glitches. Added default sizes to various widgets. Sticky/Resize- and Scrollbar must be 11 pixels wide, Horizontal scrollbar 11 pixels high, caption must be 13 pixels. I hope I didn't forget any widgets, the game will assert for that so report them to me!
2005-01-04 21:28:09 +00:00
darkvater
88b8a01da6
(svn r1374) -Feature: Add sticky item to finances window; sticky remains when requesting big/small window
...
-Moved resize icon in save dialog to bottom-right
2005-01-04 17:04:10 +00:00
truelight
a94fe04a9a
(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
darkvater
3ee8697bbf
(svn r1341) -Fix: fix WWT_FRAME drawing when there is no text there (STR_NULL)
...
-Copyright notice is now 2002-2005 for all languages
2005-01-03 17:55:25 +00:00
darkvater
ca1b3a80ae
(svn r1340) -Feature: scrolling credits list...finally! Hope nobody gets offended if I forgot them.
2005-01-03 16:45:42 +00:00
bjarni
29d8c5bb50
(svn r1323) Adding autoreplace feature
...
This feature works much like autorenew, but it will get you a new engine type instead of a new one of the same type. Once
ordered, it will automatically replace the engines while they visits a depot. The GUI for setting this up have been added on the
vehicle overview windows
Note: autorenew is now autoreplace, but to the same engine type
Nice new features, that was added to make this possible
- windows can now have two independant vertical scrollbars
- CMD_SHOW_NO_ERROR have been added as a flag for DoCommandP. It will make it do the action instead of showing the red box with
estimated costs even if shift is pressed
- fixed problem where enginetypes where not initialized when loading a game. It's now done in InitializeGame()
2005-01-02 17:23:04 +00:00
darkvater
160a0a5ee1
(svn r1211) -Feature: Introduce sticky windows to all vehicle windows...Just make sure you do not sticky more than 23 at a time. Also a lot of places in the code invalidated the 'status bar' of the vehicle, referring to it as widget 4. This is now widget 5 and has been #definitized
2004-12-21 23:27:58 +00:00
dominik
110b410af4
(svn r1179) Fix: Tooltips for vehicle list sorting
...
This has gotta be the greatest kick for Moriarty!
2004-12-19 22:23:32 +00:00
tron
765ecfed84
(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
88862fcdb6
(svn r1112) -Fix: _decode_parameters was increased to [20], but not all temp-dparams were
2004-12-15 21:45:44 +00:00
truelight
5b2cd5fae0
(svn r1066) -Fix: Crash when saving game as spectator (tnx to GeniusDex for reporting)
2004-12-13 18:53:59 +00:00
dominik
6d8a0c52f5
(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
e027fa76b1
(svn r1022) -Fix: [Network] [ 1083690 ] The password dialog made the network
...
disconnect without cleaning up.
2004-12-12 13:46:10 +00:00
truelight
5b72167c8c
(svn r1018) -Fix: Buffer overflow in edit box, because we misuse maxlen for a flag..
...
someone should rewrite the editbox!
2004-12-11 12:30:12 +00:00
Celestar
5b0743d66b
(svn r979) Allow more realistically sized catchment areas
2004-12-08 15:46:13 +00:00
truelight
b8f6d41418
(svn r942) -Merged branch/network back into the trunk
2004-12-04 17:54:56 +00:00
tron
e56c3cddd8
(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
fdb447ac55
(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
pasky
3ee0dee12a
(svn r767) Introduce USERSTRING_LEN (128) and try to make sure we don't overflow it anywhere (as long as we keep USERSTRING_LEN above 7 or so).
2004-11-22 21:41:25 +00:00
tron
57adc97733
(svn r724) Remove restriction that a tile can only accept 3 cargo types.
...
This especially enables houses to accept passengers, mail, goods AND food.
Add string templates for up to 5 cargo types for the tile info window. If more are needed just add them.
Simplify (de-uglify) the logic for cargo acceptence for houses and split the goods/food table into two. The acceptance is unmodified, but accepting goods AND food is now trivially possible. The exact amounts have to be decided.
This is based on Celestar's changes in the map branch plus some further bits that will be merged there soon.
2004-11-21 10:49:40 +00:00
tron
249a170ace
(svn r607) -Patch: [ 985102 ] static cleanup
...
Thanks to lvoge
2004-11-14 19:44:06 +00:00
tron
2b5b1f4e06
(svn r594) -Fix/Feature: [ 1066121 ] Resetting file name after deleting a file
...
Thanks to dannys9 for the patch
2004-11-14 15:11:25 +00:00
tron
2f56162f35
(svn r582) -Fix: [ 1034318 ] place sign and blue message box
...
A name change wasn't possible while an always-on-top window (like news) has been visible
2004-11-14 09:31:39 +00:00