rubidium
b8487afe54
(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :)
14 years ago
rubidium
2ab8035604
(svn r20186) -Codechange: remove VARDEF from _realtime_tick and _rightclick_emulate
14 years ago
rubidium
34764feac2
(svn r20186) -Codechange: remove VARDEF from _realtime_tick and _rightclick_emulate
14 years ago
rubidium
7ba01a1874
(svn r19426) -Fix: compilation with AIs disabled
15 years ago
rubidium
ede670918a
(svn r19426) -Fix: compilation with AIs disabled
15 years ago
rubidium
1ebaa68cd2
(svn r19388) -Fix [FS#3666]: [NoAI] When reloading a savegame, an AI failing to compile could trigger (trying) to read the not yet loaded information of another AI via the AI Debug window and its "open with the most recently used AI" feature
15 years ago
rubidium
e3fb793a8a
(svn r19388) -Fix [FS#3666]: [NoAI] When reloading a savegame, an AI failing to compile could trigger (trying) to read the not yet loaded information of another AI via the AI Debug window and its "open with the most recently used AI" feature
15 years ago
rubidium
42d7f30dcc
(svn r18608) -Change: add the concept of music sets
15 years ago
rubidium
a8d6d18b22
(svn r18608) -Change: add the concept of music sets
15 years ago
rubidium
da30e736ca
(svn r18330) -Cleanup: remove some unneeded includes
15 years ago
rubidium
b00a5f1069
(svn r18330) -Cleanup: remove some unneeded includes
15 years ago
rubidium
8563406757
(svn r18207) -Fix [FS#3324] (r11961): [NewGRF] When starting a new game the values of action D variable 13 were incorrect
15 years ago
rubidium
a274cc6a60
(svn r18207) -Fix [FS#3324] (r11961): [NewGRF] When starting a new game the values of action D variable 13 were incorrect
15 years ago
rubidium
982b8ee5fc
(svn r17693) -Cleanup: remove some unneeded includes
15 years ago
rubidium
d6cded5380
(svn r17693) -Cleanup: remove some unneeded includes
15 years ago
frosch
64f5f1d02c
(svn r17433) -Codechange: Store cumulated inflation in savegame and compute all prices from that instead of storing all prices separately.
...
Note: Savegame conversion computes the inflation from max loan. Prices from modified savegames will get lost. TTO savegames will also behave slightly different.
-Change: NewGRF price modifiers now take effect everytime when loading NewGRFs instead of once on gamestart.
15 years ago
frosch
438a429549
(svn r17433) -Codechange: Store cumulated inflation in savegame and compute all prices from that instead of storing all prices separately.
...
Note: Savegame conversion computes the inflation from max loan. Prices from modified savegames will get lost. TTO savegames will also behave slightly different.
-Change: NewGRF price modifiers now take effect everytime when loading NewGRFs instead of once on gamestart.
15 years ago
rubidium
99d46e0ad7
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
rubidium
93493827b6
(svn r17139) -Change: add the concept of sound sets
15 years ago
rubidium
9ee2a66c86
(svn r17139) -Change: add the concept of sound sets
15 years ago
rubidium
e918be12f2
(svn r17097) -Fix [FS#3092] (r13256): make restart command work again and make the help show how it works and how it doesn't work
15 years ago
rubidium
ba4fd897b8
(svn r17097) -Fix [FS#3092] (r13256): make restart command work again and make the help show how it works and how it doesn't work
15 years ago
smatz
4a39f236fa
(svn r17084) -Codechange: _age_cargo_skip_counter is common to all vehicle types
15 years ago
smatz
9c25f1bdb7
(svn r17084) -Codechange: _age_cargo_skip_counter is common to all vehicle types
15 years ago
rubidium
100cb17fa8
(svn r16909) -Fix [FS#2996]: NewGRF stations would be triggering assertions all over the place when using the more advanced station types.
...
-Change: make (rail) waypoints sub classes of 'base stations', make buoys waypoints and unify code between them where possible.
15 years ago
rubidium
68ead6b84f
(svn r16909) -Fix [FS#2996]: NewGRF stations would be triggering assertions all over the place when using the more advanced station types.
...
-Change: make (rail) waypoints sub classes of 'base stations', make buoys waypoints and unify code between them where possible.
15 years ago
smatz
cb13cf2543
(svn r16852) -Codechange: use FOR_ALL_CARGOSPECS for iterating over all valid CargoSpecs
15 years ago
smatz
77d13eae61
(svn r16852) -Codechange: use FOR_ALL_CARGOSPECS for iterating over all valid CargoSpecs
15 years ago
smatz
8718babe90
(svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get()
15 years ago
smatz
1f29e38b83
(svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get()
15 years ago
smatz
93557ba4e9
(svn r16714) -Codechange: use pool-like accessors for Subsidy
15 years ago
smatz
76a50ce94d
(svn r16714) -Codechange: use pool-like accessors for Subsidy
15 years ago
smatz
61a42f42c1
(svn r16640) -Codechange: move roadstop stuff to separate files
16 years ago
smatz
0045096403
(svn r16640) -Codechange: move roadstop stuff to separate files
16 years ago
rubidium
241af768f0
(svn r16242) -Codechange: rework pausing
...
-Fix [FS#2864]: autopause and manual pausing conflict with eachother
-Fix: new game + pause on new game + autopause make the game not unpause on the first join
16 years ago
rubidium
2664f2a2d9
(svn r16242) -Codechange: rework pausing
...
-Fix [FS#2864]: autopause and manual pausing conflict with eachother
-Fix: new game + pause on new game + autopause make the game not unpause on the first join
16 years ago
rubidium
e88cb7f70f
(svn r16088) -Codechange: merge HighLightStyle and ViewportHighlightMode as they are basically the same thing
16 years ago
rubidium
329cabab4f
(svn r16088) -Codechange: merge HighLightStyle and ViewportHighlightMode as they are basically the same thing
16 years ago
smatz
9021c20b5e
(svn r15299) -Cleanup: remove many redundant includes
16 years ago
smatz
0d3f5e6e74
(svn r15299) -Cleanup: remove many redundant includes
16 years ago
rubidium
0909d9f4c4
(svn r15246) -Fix [FS#2577]: close all windows *before* starting a new game/loading a game instead of doing that as one of the latest steps of loading the game. This caused, in some cases, the NewGRF settings to be reset when the game was already loaded resulting in instant desyncs when joining a network game
16 years ago
rubidium
53ebde7633
(svn r15246) -Fix [FS#2577]: close all windows *before* starting a new game/loading a game instead of doing that as one of the latest steps of loading the game. This caused, in some cases, the NewGRF settings to be reset when the game was already loaded resulting in instant desyncs when joining a network game
16 years ago
Yexo
bc5c4a2ae2
(svn r15151) -Fix: tile 0 can now be highlighted as error tile
16 years ago
Yexo
8b04787d09
(svn r15151) -Fix: tile 0 can now be highlighted as error tile
16 years ago
truebrain
c2406cd42d
(svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see.
...
NoAI is an API (a framework) to build your own AIs in. See:
http://wiki.openttd.org/wiki/index.php/AI:Main_Page
With many thanks to:
- glx and Rubidium for their syncing, feedback and hard work
- Yexo for his feedback, patches, and AIs which tested the system very deep
- Morloth for his feedback and patches
- TJIP for hosting a challenge which kept NoAI on track
- All AI authors for testing our AI API, and all other people who helped in one way or another
-Remove: all old AIs and their cheats/hacks
16 years ago
truebrain
a3dd7506d3
(svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see.
...
NoAI is an API (a framework) to build your own AIs in. See:
http://wiki.openttd.org/wiki/index.php/AI:Main_Page
With many thanks to:
- glx and Rubidium for their syncing, feedback and hard work
- Yexo for his feedback, patches, and AIs which tested the system very deep
- Morloth for his feedback and patches
- TJIP for hosting a challenge which kept NoAI on track
- All AI authors for testing our AI API, and all other people who helped in one way or another
-Remove: all old AIs and their cheats/hacks
16 years ago
smatz
91233ea596
(svn r14828) -Codechange: move most of save/load-specific code to separate files
16 years ago
smatz
7368c740a6
(svn r14828) -Codechange: move most of save/load-specific code to separate files
16 years ago
rubidium
f56e630e5c
(svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with.
16 years ago
rubidium
3b798599b6
(svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with.
16 years ago
frosch
869e90ea86
(svn r14313) -Codechange: Move functions dealing with the EngineRenew pool to their own file.
16 years ago
frosch
856157b6da
(svn r14313) -Codechange: Move functions dealing with the EngineRenew pool to their own file.
16 years ago
rubidium
31d69a49e8
(svn r14047) -Codechange: move chatmessage handling to the network directory as that's the only case chat messages are used. Furthermore remove any trace of chatmessages when compiling without network support.
16 years ago
rubidium
d0c1a989a4
(svn r14047) -Codechange: move chatmessage handling to the network directory as that's the only case chat messages are used. Furthermore remove any trace of chatmessages when compiling without network support.
16 years ago
rubidium
cde65455ac
(svn r13731) -Codechange: make a pool of the array of players.
16 years ago
rubidium
3a799389eb
(svn r13731) -Codechange: make a pool of the array of players.
16 years ago
smatz
1f55797fe3
(svn r13375) -Add: logging of actions that could possibly cause desyncs and crashes to simplify debugging. See readme.txt for details
17 years ago
smatz
c7a9637834
(svn r13375) -Add: logging of actions that could possibly cause desyncs and crashes to simplify debugging. See readme.txt for details
17 years ago
rubidium
e7a501100a
(svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
17 years ago
rubidium
923e21129c
(svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
17 years ago
rubidium
793ac8baa4
(svn r13320) -Codechange: move some enums from openttd.h to more logical locations.
17 years ago
rubidium
34e2d8f1e1
(svn r13320) -Codechange: move some enums from openttd.h to more logical locations.
17 years ago
rubidium
c4c440cc20
(svn r13256) -Codechange: merge the OPTS and PATS chuncks.
...
-Codechange: split the diff_custom variable.
-Feature: allow changing some of the diff_custom variables via the console in network games.
17 years ago
rubidium
cd8e589fa9
(svn r13256) -Codechange: merge the OPTS and PATS chuncks.
...
-Codechange: split the diff_custom variable.
-Feature: allow changing some of the diff_custom variables via the console in network games.
17 years ago
rubidium
dc77647ea4
(svn r13251) -Codechange: rename _patches to _settings as that is more logic.
...
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
17 years ago
rubidium
4625695653
(svn r13251) -Codechange: rename _patches to _settings as that is more logic.
...
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
17 years ago
rubidium
8ff56af53d
(svn r13146) -Codechange: vehicle_base.h doesn't need to be included in vehicle_gui.h.
17 years ago
rubidium
9717e1ef07
(svn r13146) -Codechange: vehicle_base.h doesn't need to be included in vehicle_gui.h.
17 years ago
rubidium
3651c0585a
(svn r13037) -Codechange: make a class of the ReplaceVehicle window.
...
-Fix [FS#1997]: MSVC 64 bit build failing to compile due to std::vectors being very large..
17 years ago
rubidium
b47a151bce
(svn r13037) -Codechange: make a class of the ReplaceVehicle window.
...
-Fix [FS#1997]: MSVC 64 bit build failing to compile due to std::vectors being very large..
17 years ago
rubidium
c28ce39e3c
(svn r12987) -Codechange: split viewport and tile selection.
17 years ago
rubidium
3d5567ccf7
(svn r12987) -Codechange: split viewport and tile selection.
17 years ago
rubidium
1ce0b03bf0
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
17 years ago
rubidium
d03994098b
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
17 years ago
rubidium
cdf9ada599
(svn r12946) -Fix: do not allocate the OldNames table when creating a new game as it won't be used anyway.
17 years ago
rubidium
a51e32376e
(svn r12946) -Fix: do not allocate the OldNames table when creating a new game as it won't be used anyway.
17 years ago
rubidium
ba0532b595
(svn r12800) -Codechange: move the animated tile related functions out of texteff.cpp (it isn't a text effect after all). Also remove a few more functions from functions.
17 years ago
rubidium
15680e477a
(svn r12800) -Codechange: move the animated tile related functions out of texteff.cpp (it isn't a text effect after all). Also remove a few more functions from functions.
17 years ago
rubidium
136e26925e
(svn r12782) -Codechange: remove some functions from functions.h and do not statically 'waste' memory when the old name array is not needed anymore.
17 years ago
rubidium
49cfba55bb
(svn r12782) -Codechange: remove some functions from functions.h and do not statically 'waste' memory when the old name array is not needed anymore.
17 years ago
rubidium
bc37ae3f2a
(svn r12767) -Codechange: merge all main toolbar related functions into a single file instead of scattering the functionality over several files.
17 years ago
rubidium
dc16b4f2b4
(svn r12767) -Codechange: merge all main toolbar related functions into a single file instead of scattering the functionality over several files.
17 years ago
rubidium
d46d8d9c9d
(svn r12765) -Codechange: move some stuff out of variables.h that required including other headers in variables.h.
17 years ago
rubidium
1b2773445d
(svn r12765) -Codechange: move some stuff out of variables.h that required including other headers in variables.h.
17 years ago
rubidium
18e64b28e2
(svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location.
17 years ago
rubidium
b1d1a4ac66
(svn r12757) -Codechange: move all cheat related stuff from all over the place to a single location.
17 years ago
rubidium
8ab49198b9
(svn r12695) -Codechange: only allocate window structs when needed. Based on a patch by Alberth.
17 years ago
rubidium
9a73b698d4
(svn r12695) -Codechange: only allocate window structs when needed. Based on a patch by Alberth.
17 years ago
smatz
2185591156
(svn r12565) -Cleanup: variable scope in misc\*.cpp
17 years ago
smatz
e5d4ee30d3
(svn r12565) -Cleanup: variable scope in misc\*.cpp
17 years ago
rubidium
df1d9bd880
(svn r12490) -Codechange: rename engine.h to engine_func.h and remove unneeded inclusions of engine.h and/or replace them with engine_type.h.
17 years ago
rubidium
ef2be7d0fc
(svn r12490) -Codechange: rename engine.h to engine_func.h and remove unneeded inclusions of engine.h and/or replace them with engine_type.h.
17 years ago
rubidium
2426f5342f
(svn r12459) -Codechange: split news.h into news_type.h and news_func.h.
17 years ago
rubidium
eeabab4555
(svn r12459) -Codechange: split news.h into news_type.h and news_func.h.
17 years ago
rubidium
1b7051768c
(svn r12004) -Codechange: refactor the random functions to reduce code duplication.
17 years ago
rubidium
3b2145aafe
(svn r12004) -Codechange: refactor the random functions to reduce code duplication.
17 years ago
rubidium
38d690acc8
(svn r11943) -Codechange: add and use a simple structure to support small stacks by allocating it on the heap or pushing a few kB of data onto the stack when there is a large stack.
17 years ago
rubidium
59ec5e62ce
(svn r11943) -Codechange: add and use a simple structure to support small stacks by allocating it on the heap or pushing a few kB of data onto the stack when there is a large stack.
17 years ago
rubidium
90acd52f22
(svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h.
17 years ago
rubidium
d4e6a6bf57
(svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h.
17 years ago
peter1138
0f7392bd61
(svn r11822) -Codechange: Replaced fixed size custom name array. Names are now attached to their object directly and there is
...
no limit to the amount of names.
-Fix: NewGRF engines could not be renamed.
17 years ago
peter1138
ab8382c0db
(svn r11822) -Codechange: Replaced fixed size custom name array. Names are now attached to their object directly and there is
...
no limit to the amount of names.
-Fix: NewGRF engines could not be renamed.
17 years ago
rubidium
2fc62eab05
(svn r11818) -Codechange: split player.h into smaller pieces.
17 years ago
rubidium
ac528411df
(svn r11818) -Codechange: split player.h into smaller pieces.
17 years ago
rubidium
64d691bacc
(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.
17 years ago
rubidium
0e517fe023
(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.
17 years ago
peter1138
1cabc8eb63
(svn r11784) -Codechange: set up initial engine data in one place
17 years ago
peter1138
ce2104ed47
(svn r11784) -Codechange: set up initial engine data in one place
17 years ago
rubidium
b09d957f31
(svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
17 years ago
rubidium
a3ccdcea36
(svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
17 years ago
rubidium
722613f7f3
(svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes.
17 years ago
rubidium
384503e7d3
(svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes.
17 years ago
rubidium
db73addb43
(svn r11702) -Codechange: move all date related stuff to date*.
17 years ago
rubidium
b9046c97fb
(svn r11702) -Codechange: move all date related stuff to date*.
17 years ago
rubidium
f82aeb82c5
(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h).
17 years ago
rubidium
2786d789a1
(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h).
17 years ago
rubidium
81bf9f8503
(svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h'
17 years ago
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'
17 years ago
rubidium
507463e420
(svn r11684) -Codechange: split gfx.h in a type and functional header.
17 years ago
rubidium
a773d45885
(svn r11684) -Codechange: split gfx.h in a type and functional header.
17 years ago
rubidium
3074bca136
(svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
17 years ago
rubidium
6a9e77e079
(svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
17 years ago
skidd13
057ae477b5
(svn r11527) -Codechange: Split the bitmath functions of to their own files
17 years ago
skidd13
71c10f7df7
(svn r11527) -Codechange: Split the bitmath functions of to their own files
17 years ago
skidd13
039570342d
(svn r11488) -Codechange: Spilt the random functions out to seperate file
...
-Codechange: Make the mersenne twister more readable
-Codechange: Unify the seeding process of random
17 years ago
skidd13
83601671c7
(svn r11488) -Codechange: Spilt the random functions out to seperate file
...
-Codechange: Make the mersenne twister more readable
-Codechange: Unify the seeding process of random
17 years ago
rubidium
ecdb16de42
(svn r11440) -Codechange: replace magic numbers with enumified WindowHighlightMode constants. Patch by SmatZ.
17 years ago
rubidium
dace4686c0
(svn r11440) -Codechange: replace magic numbers with enumified WindowHighlightMode constants. Patch by SmatZ.
17 years ago
rubidium
0ac4f10ca0
(svn r11157) -Fix: some random data was printed because printf "thought" that _current_player is 4 bytes instead of 1 byte, causing the random debug output to be useless.
17 years ago
rubidium
db0e01bd7b
(svn r11157) -Fix: some random data was printed because printf "thought" that _current_player is 4 bytes instead of 1 byte, causing the random debug output to be useless.
17 years ago
rubidium
6f76bc2449
(svn r11031) -Codechange: reduce the amount of duplication of bit counting functions. Based on patches by skidd13, SmatZ and Belugas.
17 years ago
rubidium
56ab253307
(svn r11031) -Codechange: reduce the amount of duplication of bit counting functions. Based on patches by skidd13, SmatZ and Belugas.
17 years ago
rubidium
4ef6e75609
(svn r10932) -Codechange: replace "text" with "chat" for the chat related function and variables.
17 years ago
rubidium
0fed821efb
(svn r10932) -Codechange: replace "text" with "chat" for the chat related function and variables.
17 years ago
truelight
7bfc7d19e8
(svn r10276) -Codechange: made a counter based on milliseconds and independent of the game-state to base double-click and TGP Generation Process on
...
-Codechange: renamed _timer_counter to _palette_animation_counter, as that is what it is
18 years ago
truelight
2e19d3cf78
(svn r10276) -Codechange: made a counter based on milliseconds and independent of the game-state to base double-click and TGP Generation Process on
...
-Codechange: renamed _timer_counter to _palette_animation_counter, as that is what it is
18 years ago
rubidium
fc201d4ad8
(svn r10266) -Codechange: keep track of the origin, time of travel and accumulated feeder share (transfers) of individual pieces of cargo. This means that cargo isn't thrown on a big pile when it's put in a station or unloaded at a station, however the GUI does not reflect these changes yet so you will not actually see it.
18 years ago
rubidium
e5c352818d
(svn r10266) -Codechange: keep track of the origin, time of travel and accumulated feeder share (transfers) of individual pieces of cargo. This means that cargo isn't thrown on a big pile when it's put in a station or unloaded at a station, however the GUI does not reflect these changes yet so you will not actually see it.
18 years ago
maedhros
f8ae742da4
(svn r10122) -Codechange: Add a CountBitsSet function and use it to replace some less efficient loops.
18 years ago
maedhros
12be876131
(svn r10122) -Codechange: Add a CountBitsSet function and use it to replace some less efficient loops.
18 years ago
rubidium
8f0f090c51
(svn r9874) -Feature: advanced vehicle lists a.k.a. group interface. Now you can make groups of vehicles and perform all kinds of tasks on that given group. Original code by nycom and graphics by skidd13.
18 years ago
rubidium
7d4be11516
(svn r9874) -Feature: advanced vehicle lists a.k.a. group interface. Now you can make groups of vehicles and perform all kinds of tasks on that given group. Original code by nycom and graphics by skidd13.
18 years ago
rubidium
7577954ced
(svn r9672) -Cleanup: lots of coding style fixes around operands.
18 years ago
rubidium
80c259f64f
(svn r9672) -Cleanup: lots of coding style fixes around operands.
18 years ago
maedhros
3d81de8d7e
(svn r9609) -Codechange: Move some function prototypes out of functions.h and into landscape.h, and add a few where they didn't exist.
18 years ago
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.
18 years ago
peter1138
93fe91cc8c
(svn r9388) -Codechange: variable scope and type, and standardify all CargoID loops.
18 years ago
peter1138
d7f56f1550
(svn r9388) -Codechange: variable scope and type, and standardify all CargoID loops.
18 years ago
maedhros
209101391a
(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.
18 years ago