tron
7dc1e23845
(svn r3311) Remove the unnecessary global variable _grffile_count: It's just the scroll count of a list and furthermore only used in one file
2005-12-18 08:01:05 +00:00
tron
2956b119b2
(svn r3311) Remove the unnecessary global variable _grffile_count: It's just the scroll count of a list and furthermore only used in one file
2005-12-18 08:01:05 +00:00
tron
8e43cdd0c0
(svn r3310) Fix a couple of warnings: Initialise all struct members, disambiguate cascaded if/else, remove an unused variable, use (void) for empty parameter lists
2005-12-17 14:26:43 +00:00
tron
bd909b0952
(svn r3310) Fix a couple of warnings: Initialise all struct members, disambiguate cascaded if/else, remove an unused variable, use (void) for empty parameter lists
2005-12-17 14:26:43 +00:00
peter1138
32d75fd922
(svn r3309) Cygwin doesn't define _MSC_VER; check it exists before basing decisions on its value.
2005-12-16 22:01:38 +00:00
peter1138
592aee1e27
(svn r3309) Cygwin doesn't define _MSC_VER; check it exists before basing decisions on its value.
2005-12-16 22:01:38 +00:00
tron
49f0691c1a
(svn r3308) BAD
...
foo.h: int bar;
GOOD
foo.h: extern int bar;
foo.c: int bar;
2005-12-15 17:55:59 +00:00
tron
28fe368b7f
(svn r3308) BAD
...
foo.h: int bar;
GOOD
foo.h: extern int bar;
foo.c: int bar;
2005-12-15 17:55:59 +00:00
tron
41c83a2efd
(svn r3307) A file shall include its own header
2005-12-14 20:45:12 +00:00
tron
ca52ec33b2
(svn r3307) A file shall include its own header
2005-12-14 20:45:12 +00:00
truelight
e88942f490
(svn r3306) -Fix: forgot sometimes to switch to the right current_player for AIs
2005-12-14 19:21:56 +00:00
truelight
6884453b66
(svn r3306) -Fix: forgot sometimes to switch to the right current_player for AIs
2005-12-14 19:21:56 +00:00
truelight
6ca528ec82
(svn r3305) -Rename: Changed all instances of ottd_ related to the AI to ttai_
2005-12-14 15:54:23 +00:00
truelight
531073bea0
(svn r3305) -Rename: Changed all instances of ottd_ related to the AI to ttai_
2005-12-14 15:54:23 +00:00
truelight
607e518ab8
(svn r3304) -Add: allow AI-events to see the UID of the command
...
-Fix: improved the logic of the UID code for AIs
2005-12-14 14:38:23 +00:00
truelight
f94da63a8d
(svn r3304) -Add: allow AI-events to see the UID of the command
...
-Fix: improved the logic of the UID code for AIs
2005-12-14 14:38:23 +00:00
peter1138
c5adf63d77
(svn r3303) Change #if PF_BENCHMARK to #ifdef PF_BENCHMARK
2005-12-14 09:15:06 +00:00
peter1138
f6330faead
(svn r3303) Change #if PF_BENCHMARK to #ifdef PF_BENCHMARK
2005-12-14 09:15:06 +00:00
peter1138
db78ce622d
(svn r3302) - Fix: split drawing of text buttons and the closebox, so the closebox symbol can be centred.
2005-12-14 08:05:36 +00:00
peter1138
ec274769b9
(svn r3302) - Fix: split drawing of text buttons and the closebox, so the closebox symbol can be centred.
2005-12-14 08:05:36 +00:00
tron
82542799e2
(svn r3301) One more static
2005-12-14 06:51:19 +00:00
tron
560e92aa4a
(svn r3301) One more static
2005-12-14 06:51:19 +00:00
tron
28b8b7e269
(svn r3300) Remove unreachable code - in this case some duplicate breaks
2005-12-14 06:49:54 +00:00
tron
cc2b51320f
(svn r3300) Remove unreachable code - in this case some duplicate breaks
2005-12-14 06:49:54 +00:00
tron
bd2eba11b7
(svn r3299) Remove the unimplemented -l option, which should select the language
2005-12-14 06:32:06 +00:00
tron
4634243110
(svn r3299) Remove the unimplemented -l option, which should select the language
2005-12-14 06:32:06 +00:00
tron
a2533d5ee6
(svn r3298) Remove unused and write-only variables
2005-12-14 06:28:48 +00:00
tron
bf98086de8
(svn r3298) Remove unused and write-only variables
2005-12-14 06:28:48 +00:00
tron
9822b4d755
(svn r3297) Staticise
2005-12-14 06:20:23 +00:00
tron
23bfc03054
(svn r3297) Staticise
2005-12-14 06:20:23 +00:00
tron
ae624ee690
(svn r3296) Warn about testing an undefined macro with #if - should most probably be #ifdef
2005-12-14 06:16:34 +00:00
tron
ce94c90a7b
(svn r3296) Warn about testing an undefined macro with #if - should most probably be #ifdef
2005-12-14 06:16:34 +00:00
Darkvater
9b43afecf1
(svn r3295) - Regressionfix: scrolling with mousewheel no longer worked in saveload dialogs because of restriction that scroller is only active for widget + next widget is scrollbar. Yes, we need a better window system.
2005-12-13 22:28:44 +00:00
Darkvater
d8727d7fcd
(svn r3295) - Regressionfix: scrolling with mousewheel no longer worked in saveload dialogs because of restriction that scroller is only active for widget + next widget is scrollbar. Yes, we need a better window system.
2005-12-13 22:28:44 +00:00
Darkvater
573ce05eb8
(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.
2005-12-13 21:21:57 +00:00
Darkvater
56998926e7
(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.
2005-12-13 21:21:57 +00:00
Darkvater
acf8bba4f6
(svn r3293) - Miscellaneous: add peter1138 as developer
2005-12-13 20:20:44 +00:00
Darkvater
2a60262c99
(svn r3293) - Miscellaneous: add peter1138 as developer
2005-12-13 20:20:44 +00:00
peter1138
fc9c1c0f4e
(svn r3292) - Autoreplace: Disallow replacing to an engine type that already has a replacement set up; this stops loops being set up.
2005-12-13 12:31:48 +00:00
peter1138
560a4a9c4a
(svn r3292) - Autoreplace: Disallow replacing to an engine type that already has a replacement set up; this stops loops being set up.
2005-12-13 12:31:48 +00:00
peter1138
219a63238c
(svn r3291) - Codechange, Autoreplace: Replace int with EngineID and -1 with INVALID_ENGINE, as appropriate.
2005-12-13 09:57:07 +00:00
peter1138
04f39ef749
(svn r3291) - Codechange, Autoreplace: Replace int with EngineID and -1 with INVALID_ENGINE, as appropriate.
2005-12-13 09:57:07 +00:00
peter1138
ea2d440827
(svn r3290) - Fix: "[ 1360054 ] Rename Sign, Cause Game Crash, nightly version r3213": Added filter to test for valid character input.
2005-12-13 07:32:06 +00:00
peter1138
07c3abfe92
(svn r3290) - Fix: "[ 1360054 ] Rename Sign, Cause Game Crash, nightly version r3213": Added filter to test for valid character input.
2005-12-13 07:32:06 +00:00
tron
17aab1797b
(svn r3289) 32 times static
2005-12-11 10:36:48 +00:00
tron
2dc8e0c3d9
(svn r3289) 32 times static
2005-12-11 10:36:48 +00:00
peter1138
a7730d4a09
(svn r3288) Set svn properties on cocoa related files, and add Id tag.
...
Add extern to cocoa sound driver.
2005-12-11 10:25:27 +00:00
peter1138
f4e1f18a15
(svn r3288) Set svn properties on cocoa related files, and add Id tag.
...
Add extern to cocoa sound driver.
2005-12-11 10:25:27 +00:00
tron
0d1c598833
(svn r3287) Turn the winres.o: openttd.rc special case into a normal %.o: %.rc rule
2005-12-11 07:36:49 +00:00
tron
ec2675c2c5
(svn r3287) Turn the winres.o: openttd.rc special case into a normal %.o: %.rc rule
2005-12-11 07:36:49 +00:00