|
rubidium
|
r5469:9c38e5ce3f50
|
18 years ago
|
|
|
|
Darkvater
|
r5431:2abf239227ce
|
18 years ago
|
|
(svn r7637) -Codechange: Change ShowQueryString to use a window pointer as a parent. If the query has no parent (eg give money, rename waypoint), the global function HandleOnEditText is used.
|
|
Darkvater
|
r5419:7d0beb86d3ca
|
18 years ago
|
|
(svn r7622) -Codechange: Convert some more windows to ShowQuery. This includes the depot sell-all popup, quit/abandon game. The language files committed in r7619 go with this.
|
|
Darkvater
|
r5352:64720e7993a1
|
18 years ago
|
|
(svn r7523) -Feature: Add the possibility to change the newgrf configuration of a running game. This is only possible in SP (or in the intro menu). During game play you will get a confirmation window when applying the changes as some actions can crash OpenTTD and/or make your current game unplayable.
|
|
Darkvater
|
r5315:4a44be6f986a
|
18 years ago
|
|
|
|
peter1138
|
r5237:cc044906a066
|
18 years ago
|
|
|
|
Darkvater
|
r4938:ccfdb2e58d04
|
18 years ago
|
|
(svn r6925) -Codechange: Be more strict with widget distinctions. WWT_PANEL is only plain panel, WWT_IMGBTN must contain an image for drawing. Renamed WWT_PANEL_2 to WWT_IMGBTN_2 because that is what it is. Added WWT_PUSHBTN that is either just a pushable button, or a textbutton, which text's drawn dynamically independent of widget.
|
|
Darkvater
|
r4937:3124578cbfd9
|
18 years ago
|
|
|
|
Darkvater
|
r4830:b1b68e7108e7
|
18 years ago
|
|
(svn r6754) -Codechange: Remove some #idef ENABLE_NETWORK specific defines. With networking disabled hardcode _networking/_network_available to zero and let the compiler handle all optimizations.
|
|
belugas
|
r4727:8181e87539cd
|
18 years ago
|
|
|
|
glx
|
r4721:ac8a79da0074
|
18 years ago
|
|
|
|
belugas
|
r4719:e1d2222eb9fb
|
18 years ago
|
|
(svn r6631) -Codechange: Use accessors for click_state. Another step toward merging XTDwidget. The only two files not converted (window.h and widget.c) will be done at the very last commit)
|
|
belugas
|
r4634:c040de534aac
|
18 years ago
|
|
|
|
rubidium
|
r4548:6a33e364fba5
|
18 years ago
|
|
(svn r6380) -Codechange: unify all ways to quit OTTD. This means that in the intro menu the 'Quit' button immediatelly quits and the 'Quit' in the menu of the normal game and scenario editor immediatelly quits when the 'autosave_on_exit' patch is turned on. This is the same way as the OS/window manager initiated quits, like alt-F4 and the 'x' in the (OS/window manager drawn) title bar of OTTD.
|
|
tron
|
r4512:0882483119bc
|
18 years ago
|
|
|
|
rubidium
|
r4344:bff007ae1fd1
|
18 years ago
|
|
|
|
truelight
|
r4308:7752673085fa
|
18 years ago
|
|
(svn r5955) -Fix r5728: 2 very important lines for ShowQueryString where removed by excident. Because of this you couldn't join servers with passwords, and more of those problems. (tnx Mucht)
|
|
truelight
|
r4300:642b2431578b
|
18 years ago
|
|
(svn r5946) -Add: merged the TGP branch to mainline. TGP adds: - New optional landscape generator (TerraGenesis Perlin) - Load heightmaps (either BMP or PNG) - Progress dialog while generating worlds (no longer a 'hanging' screen) - New dialogs for NewGame, Create Scenario and Play Heightmap - Easier to configure your landscape - More things to configure (tree-placer, ..) - Speedup of world generation - New console command 'restart': restart the map EXACTLY as it was when you first started it (needs a game made after or with this commit) - New console command 'getseed': get the seed of your map and share it with others (of course only works with generated maps) - Many new, world generation related, things - Many internal cleanups and rewrites Many tnx to those people who helped making this: Belugas, DaleStan, glx, KUDr, RichK67, Rubidium, and TrueLight (alfabetic) Many tnx to those who helped testing: Arnau, Bjarni, and tokai (alfabetic) And to all other people who helped testing and sending comments / bugs Stats: 673 lines changed, 3534 new lines, 79 new strings
|
|
belugas
|
r4171:bf306290d87e
|
18 years ago
|
|
|
|
tron
|
r4077:259c4c4aacad
|
18 years ago
|
|
|
|
rubidium
|
r3888:aa900cebaacd
|
18 years ago
|
|
|
|
Darkvater
|
r3207:ff55207caa30
|
19 years ago
|
|
(svn r3875) - [Patches] Fix up the intro menu so the right values for the mapsize are shown (the default ones). Setting the value involves a small hack in that we also set the _patches value because that is used for world-generation and only inside there do the values get copied from _newgame - [Patches] Fix a stupid, stupid bug where I used sizeof() as length instead of strlen() in getting console values for patches.
|
|
tron
|
r2791:24fbb20c581c
|
19 years ago
|
|
|
|
Darkvater
|
r2749:e781205c9f97
|
19 years ago
|
|
(svn r3294) - Fix: use INVALID_STRING_ID instead of -1. - Fix: savegames only give back one message, show this by ignoring the first argument. Perhaps make the message more verbose in the future by adding STR_ equivalents next to the already existing debug messages.
|
|
peter1138
|
r2725:4ee74e2f100e
|
19 years ago
|
|
|
|
tron
|
r2639:e298192a7c03
|
19 years ago
|
|
(svn r3181) -Bracing -Indentation -Whitespace -DeMorgan's Law -Test with NULL or 0 for non-booleans -'\0' instead of 0 for chars -Remove redundantly redundant comments (like DoFoo(); // Do foo) -Join multiple short lines with a single statement -Split single lines with multiple statements -Avoid assignments in if
|
|
tron
|
r2631:d39f0cdd1c56
|
19 years ago
|
|
(svn r3173) Use the trinary operator and switch to improve readability Also align short cases nicely
|
|
tron
|
r2204:4670311b130c
|
19 years ago
|
|
|
|
tron
|
r2186:5ee653b1b5e1
|
19 years ago
|
|
|
|
tron
|
r2163:ae001e2aa5b0
|
19 years ago
|
|
|
|
tron
|
r2159:2c706fe6b0a7
|
19 years ago
|
|
|
|
Darkvater
|
r1891:c5c5466afa35
|
19 years ago
|
|
|
|
Darkvater
|
r1796:4bbf4ea0805e
|
19 years ago
|
|
(svn r2300) - CodeChange: check the last number of commands, now only the refit ones remain, and some server-only commands. - CodeChange: remove cmd-misuses CmdStartScenario() and CmdDestroyCompanyHQ() - Fix (invisible): when parameter checking CmdRestoreOrderIndex() the vehicle did not have its orders yet, so it would fail. So move doing this until AFTER the orders have been added back in RestoreVehicleOrders()
|
|
Darkvater
|
r1794:15e23047f8c1
|
19 years ago
|
|
(svn r2298) - CodeChange: removed CmdAbuses: CmdSetTownNameType(), CmdStartNewGame(), CmdCreateScenario(), CmdSetNewLandscapeType() and CmdGenRandomNewGame(). - CodeChange: renamed CmdTrainGotoDepot() to CmdSendTrainToDepot() to be consistent with other depot commands. - CodeChange: 'newgame' console command now calls the unabused GenRandomNewGame(). For the server it still creates a new game, a client quits the game and continues in SP. - CodeChange: in the game-difficulty window, setup the disabled buttons on window creation, not every redraw.
|
|
tron
|
r1728:885d7dda7580
|
19 years ago
|
|
|
|
Darkvater
|
r1717:4994194cdb82
|
19 years ago
|
|
|
|
Darkvater
|
r1711:a6b193ef1712
|
19 years ago
|
|
|
|
pasky
|
r1625:30d18238da81
|
20 years ago
|
|
|
|
pasky
|
r1624:5c857527e2e6
|
20 years ago
|
|
|
|
pasky
|
r1623:5ab7cd13fe52
|
20 years ago
|
|
|
|
pasky
|
r1621:1a5975ca39af
|
20 years ago
|
|
|
|
pasky
|
r1620:a9a9ace3189c
|
20 years ago
|
|
|
|
pasky
|
r1619:573794eac6e3
|
20 years ago
|
|
|
|
pasky
|
r1618:4065e588d933
|
20 years ago
|
|
|
|
Darkvater
|
r1500:e5979abe9361
|
20 years ago
|
|
(svn r2004) - Fix: [ 1149487 ] Autosave ignoring settings - Fix: [ 1153926 ] All my settings in vain... IGNORED! - Change: I hope I got it all right. Pressing 'New Game' (either choosing random or a preset scenario) and 'Create Scenario' will start a new game with the settings and difficulty in the intro menu. Using 'Load Game' and 'Play Scenario' will take the values from the savegame/scenario itself.
|
|
Darkvater
|
r1390:bd550d5f6790
|
20 years ago
|
|
(svn r1894) - Codechange: cleaned up the console a bit, wholly unified handling of text with that of editboxes - Codechange: Introduction of Textbuf struct which not only holds physical data as length but also pixel-constrains (width) and information about the caret - Codechange: Move Clipboard function to OS specific file. Currently only Windows has clipboard actions - Feature: Editboxes, console and exit screen also accept the numeric-enter as a yes - Feature: Navigation through text with cursor keys is possible, as well as arbitrary insertion (also paste) and deletion; both backspace and del keys. Functions DeleteTextBufferChar, InsertTextBufferChar and InsertTextBufferClipboard handle input and deletion. Navigation is done through MoveTextBufferPos. - Fix: OTTD crash when opening 'add server' editbox - CodeChange: fix up some stringwidth calculations in gfx.c. You can get the width in pixels of a character by calling GetCharacterWidth().
|
|
tron
|
r1093:18f56ef2d029
|
20 years ago
|
|
|
|
truelight
|
r867:c270355a1b34
|
20 years ago
|
|
(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
|
|
truelight
|
r810:08bcb4bf8186
|
20 years ago
|
|
(svn r1281) -Fix: the OS/2 is now finished. Fixes: - Networking - File selector issue - Keyboard input - Dedicated server console issue (use dedicated.cmd to open a server) - Plus many other minor issues
|
|
darkvater
|
r774:3e6bfb2226bd
|
20 years ago
|
|
(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.
|
|
bjarni
|
r770:be3f6b12cf89
|
20 years ago
|
|
(svn r1236) MorphOS: added make release like in OSX (tokai) MorphOS: cleaned up the code telling the difference between AmigaOS and MorphOS (tokai)
|
|
darkvater
|
r661:49162bef3179
|
20 years ago
|
|
(svn r1095) -Fix: scenario editor road-build-gui works again altough shortcuts are screwed. -Feature: Pressing enter on 'Abandon Game' returns to main menu (one less click \o/)
|
|
dominik
|
r654:8c55593e8977
|
20 years ago
|
|
|
|
tron
|
r587:5b588feaf051
|
20 years ago
|
|
|
|
bjarni
|
r569:9a512d458f7a
|
20 years ago
|
|
|
|
truelight
|
r543:efdb197f91ad
|
20 years ago
|
|
|
|
tron
|
r534:46e9db8de483
|
20 years ago
|
|
(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
|
|
tron
|
r507:b1b0a0a3c313
|
20 years ago
|
|
(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.
|
|
signde
|
r206:895fc6ea678b
|
20 years ago
|
|
(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]
|
|
truelight
|
r193:6aa65dc5a4b4
|
20 years ago
|
|
|
|
darkvater
|
r176:7d9100f64c27
|
20 years ago
|
|
(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
|
|
darkvater
|
r172:1c41a7220acb
|
20 years ago
|
|
(svn r173) -Network: [1023231] Debug Code + ErrorBoxes + Load Game/Scenario. Added some more desync debug code and replaced some of the error() calls with some better error boxes. Hopefully find desyncs easier (sign_de) -GUI: Change some network GUI stuff (Darkvater)
|
|
darkvater
|
r161:0a970d887482
|
20 years ago
|
|
|
|
dominik
|
r129:8ef2815ca423
|
20 years ago
|
|
|
|
dominik
|
r126:ddfe1cb69359
|
20 years ago
|
|
(svn r127) New feature: ingame console. (sign_de) Press tab to open the console, more info in docs/console.txt
|
|
dominik
|
r105:9609297bc621
|
20 years ago
|
|
(svn r106) New network core (by sign_de)
Features: * network core is dynamicly loaded when needed (-n isn't needed anymore) for easy switching between single and multiplayer. But commandline shortcuts are still enabled: -n = autodetect network server -n [ip] = connect to the server * udp now uses 2 different ports - you can run 1 server and serveral clients on one pc - the clients udp-socket gets unloaded when the network game starts - the servers udp-sockets remains online to allow the network gui to detect itself * new gameinfo structure this struct is available for every online/lan game * dynamic NetworkGameList
|
|
darkvater
|
r74:15263a82b9bc
|
20 years ago
|
|
(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
|
|
truelight
|
r0:d63b455452f6
|
20 years ago
|
|
|