7a690eb5fb
(svn r1879) Revise name handling, no functional changes
tron
2005-02-17 06:46:36 +00:00
ce896e2f99
(svn r1879) Revise name handling, no functional changes
tron
2005-02-17 06:46:36 +00:00
9cfe28aee8
(svn r1878) - Change: MSVC.NET project file, remove WITH_SDL since it is really unneeded from windows builds. And put back 'treat warnings as errors' flag.
darkvater
2005-02-15 23:27:46 +00:00
8dba45caae
(svn r1878) - Change: MSVC.NET project file, remove WITH_SDL since it is really unneeded from windows builds. And put back 'treat warnings as errors' flag.
darkvater
2005-02-15 23:27:46 +00:00
c17c743ed4
(svn r1877) Forgot to remove two now unused variables
tron
2005-02-14 22:19:56 +00:00
8827cde89e
(svn r1877) Forgot to remove two now unused variables
tron
2005-02-14 22:19:56 +00:00
4102982ef4
(svn r1876) Make placement of oil rigs and refineries map size agnostic
tron
2005-02-14 22:17:21 +00:00
943744751a
(svn r1876) Make placement of oil rigs and refineries map size agnostic
tron
2005-02-14 22:17:21 +00:00
5ff839732e
(svn r1875) Effect vehicle overhaul: enumerate sprites, descriptive names for functions and miscellaneous improvements
tron
2005-02-14 20:34:31 +00:00
391cd5658f
(svn r1875) Effect vehicle overhaul: enumerate sprites, descriptive names for functions and miscellaneous improvements
tron
2005-02-14 20:34:31 +00:00
e2359c11ae
(svn r1874) Fix bug introduced in r1839 which placed snow covered trees below the snow line ([1121680])
tron
2005-02-14 18:55:10 +00:00
1e2f9ba5a5
(svn r1874) Fix bug introduced in r1839 which placed snow covered trees below the snow line ([1121680])
tron
2005-02-14 18:55:10 +00:00
8fea0f0a8f
(svn r1873) Ignore SIGPIPE
tron
2005-02-13 23:29:58 +00:00
066134aa01
(svn r1873) Ignore SIGPIPE
tron
2005-02-13 23:29:58 +00:00
d449145799
(svn r1872) -Fix: Fixed an inline problem which caused MSVC6 to not compile :/
celestar
2005-02-13 21:51:47 +00:00
3608788f6b
(svn r1872) -Fix: Fixed an inline problem which caused MSVC6 to not compile :/
celestar
2005-02-13 21:51:47 +00:00
1ef2ad611f
(svn r1869) Fix some bugs in the bulldozer movement implementation. Now they move in a sane pattern.
tron
2005-02-13 11:31:35 +00:00
2b4b935351
(svn r1869) Fix some bugs in the bulldozer movement implementation. Now they move in a sane pattern.
tron
2005-02-13 11:31:35 +00:00
9f7074a706
(svn r1868) Improve readability of the bulldozer movement code
tron
2005-02-13 11:27:41 +00:00
8391c96fac
(svn r1868) Improve readability of the bulldozer movement code
tron
2005-02-13 11:27:41 +00:00
204d08140a
(svn r1867) Include tables/sprites.h only in files which need it
tron
2005-02-13 11:18:02 +00:00
830565514c
(svn r1867) Include tables/sprites.h only in files which need it
tron
2005-02-13 11:18:02 +00:00
77d26759e3
(svn r1866) -Fix: Intercepted generated maps with 0 towns on it. Currently just an error() is called, some more graceful handling should be implemented later.
celestar
2005-02-13 09:42:49 +00:00
563eac90ca
(svn r1866) -Fix: Intercepted generated maps with 0 towns on it. Currently just an error() is called, some more graceful handling should be implemented later.
celestar
2005-02-13 09:42:49 +00:00
58c46bed40
(svn r1865) Fix some warnings
tron
2005-02-13 08:12:03 +00:00
a011190723
(svn r1865) Fix some warnings
tron
2005-02-13 08:12:03 +00:00
6b83a05ada
(svn r1863) Give the effect vehicle type enums more descriptive names and use the enum as parameter type for CreateEffectVehicle*() -Fix: [1116619] Generate the correct smoke type for diesel trains
tron
2005-02-12 15:53:32 +00:00
6d2b9d2c3a
(svn r1863) Give the effect vehicle type enums more descriptive names and use the enum as parameter type for CreateEffectVehicle*() -Fix: [1116619] Generate the correct smoke type for diesel trains
tron
2005-02-12 15:53:32 +00:00
ac758b6875
(svn r1862) - Settings: No longer treat warnings as errors for VS.Net project files...just until spritecache is fixed up :)
darkvater
2005-02-12 00:20:46 +00:00
eefb125dc7
(svn r1862) - Settings: No longer treat warnings as errors for VS.Net project files...just until spritecache is fixed up :)
darkvater
2005-02-12 00:20:46 +00:00
9c99c7d11a
(svn r1861) Constify Get(Non)Sprite()
tron
2005-02-11 17:12:11 +00:00
9b0bad683d
(svn r1861) Constify Get(Non)Sprite()
tron
2005-02-11 17:12:11 +00:00
3a93a250b7
(svn r1860) The sprite header endianness issue was solved in r1855
tron
2005-02-11 15:18:09 +00:00
febe132c48
(svn r1860) The sprite header endianness issue was solved in r1855
tron
2005-02-11 15:18:09 +00:00
f03b8859ed
(svn r1859) Miscellaneous style changes
tron
2005-02-11 14:33:43 +00:00
832c3fa20d
(svn r1859) Miscellaneous style changes
tron
2005-02-11 14:33:43 +00:00
5c946cdbd8
(svn r1858) Let ReadSprite() handle the subtleties of loading a sprite, not its caller
tron
2005-02-11 13:46:25 +00:00
d37f2cdc70
(svn r1858) Let ReadSprite() handle the subtleties of loading a sprite, not its caller
tron
2005-02-11 13:46:25 +00:00
1b617b28fc
(svn r1857) Rewrite parts of the sprite heap. It's functionally equivalent but should be easier to read and maintain.
tron
2005-02-11 13:35:27 +00:00
51dd166de0
(svn r1857) Rewrite parts of the sprite heap. It's functionally equivalent but should be easier to read and maintain.
tron
2005-02-11 13:35:27 +00:00
33cf096b03
(svn r1856) Make GfxInitSpriteMem() static, because it's only used withing spritecache.c
tron
2005-02-10 22:26:28 +00:00
12c7e128a9
(svn r1856) Make GfxInitSpriteMem() static, because it's only used withing spritecache.c
tron
2005-02-10 22:26:28 +00:00
9031e0369e
(svn r1855) Handle endianness of sprite headers when loading a sprite, not everytime when accessing it
tron
2005-02-10 12:26:41 +00:00
dc54a3e627
(svn r1855) Handle endianness of sprite headers when loading a sprite, not everytime when accessing it
tron
2005-02-10 12:26:41 +00:00
94c75f33bb
(svn r1854) Split GetSpritePtr() into GetSprite() for regular sprites (returning a Sprite*) and GetNonSprite() for "sprites" of type 0xFF (returning byte*)
tron
2005-02-10 12:14:38 +00:00
d2703fd672
(svn r1854) Split GetSpritePtr() into GetSprite() for regular sprites (returning a Sprite*) and GetNonSprite() for "sprites" of type 0xFF (returning byte*)
tron
2005-02-10 12:14:38 +00:00
2a151d9354
(svn r1853) Move spritecache function declarations into a header of their own and use SpriteID as parameter type where appropriate
tron
2005-02-10 05:43:30 +00:00
7cd19fe07a
(svn r1853) Move spritecache function declarations into a header of their own and use SpriteID as parameter type where appropriate
tron
2005-02-10 05:43:30 +00:00
092e72d60d
(svn r1852) Start cleaning up sprite handling: - Complement the sprite header struct with a variable sized array for the sprite data and rename it to Sprite. - Use the correct type Sprite* instead of casting all the time (this causes some "assignment from incompatible pointer type" warnings, nothing serious, will be resolved soon)
tron
2005-02-08 22:22:42 +00:00
49a4d014b9
(svn r1852) Start cleaning up sprite handling: - Complement the sprite header struct with a variable sized array for the sprite data and rename it to Sprite. - Use the correct type Sprite* instead of casting all the time (this causes some "assignment from incompatible pointer type" warnings, nothing serious, will be resolved soon)
tron
2005-02-08 22:22:42 +00:00
297223cc21
(svn r1851) - Language: added Frisian translation (no strings have been translated yet)
bjarni
2005-02-08 18:07:27 +00:00
b0042740a6
(svn r1851) - Language: added Frisian translation (no strings have been translated yet)
bjarni
2005-02-08 18:07:27 +00:00
4b2e34e0aa
(svn r1850) Change the last consumers of str_buffr so they use local static buffers now and remove the global array str_buffr.
tron
2005-02-08 17:31:13 +00:00
3608b72a36
(svn r1850) Change the last consumers of str_buffr so they use local static buffers now and remove the global array str_buffr.
tron
2005-02-08 17:31:13 +00:00
8aee833024
(svn r1849) Use the cheat entry enum for CheatEntry.type and remove unused enum values
tron
2005-02-08 16:53:28 +00:00
a17d6e3922
(svn r1849) Use the cheat entry enum for CheatEntry.type and remove unused enum values
tron
2005-02-08 16:53:28 +00:00
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.
tron
2005-02-08 16:37:28 +00:00
76325c2bb2
(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.
tron
2005-02-08 16:37:28 +00:00
1afad51ee2
(svn r1847) Adjustment for MorphOS to unbreak the build there and removal of some now obsolete preprocessor magic
tron
2005-02-08 15:42:28 +00:00
dcc381bf5c
(svn r1847) Adjustment for MorphOS to unbreak the build there and removal of some now obsolete preprocessor magic
tron
2005-02-08 15:42:28 +00:00
be840ccd00
(svn r1842) Fix another typo made in r1834
tron
2005-02-07 18:51:46 +00:00
4867f6b234
(svn r1842) Fix another typo made in r1834
tron
2005-02-07 18:51:46 +00:00
f758bd769b
(svn r1841) -Fix: [ 1117538 ] non-stop orders are no longer accidently skipped
celestar
2005-02-07 12:47:29 +00:00
0e6109d360
(svn r1841) -Fix: [ 1117538 ] non-stop orders are no longer accidently skipped
celestar
2005-02-07 12:47:29 +00:00
b1baa4ed8b
(svn r1840) Repel str_buffr and use local buffers where possible
tron
2005-02-07 12:32:35 +00:00
701a32d048
(svn r1840) Repel str_buffr and use local buffers where possible
tron
2005-02-07 12:32:35 +00:00
f8d97a5f61
(svn r1839) Move GetTileSlope() and GetTileZ() into tile.[ch] and use more explicit types as parameters
tron
2005-02-07 10:41:45 +00:00
7d56d1d841
(svn r1839) Move GetTileSlope() and GetTileZ() into tile.[ch] and use more explicit types as parameters
tron
2005-02-07 10:41:45 +00:00
ad837c2069
(svn r1838) Ship depots are on water, not roads
tron
2005-02-07 10:37:12 +00:00
c45312326a
(svn r1838) Ship depots are on water, not roads
tron
2005-02-07 10:37:12 +00:00
9198522307
(svn r1837) GetTileOwner returns Owner, not bool Also assert() that the TileIndex is valid
tron
2005-02-07 10:09:28 +00:00
89482008d8
(svn r1837) GetTileOwner returns Owner, not bool Also assert() that the TileIndex is valid
tron
2005-02-07 10:09:28 +00:00
552d84884f
(svn r1836) Clean up some strange constructs concerning socket options
tron
2005-02-07 09:56:16 +00:00
8f741f44c4
(svn r1836) Clean up some strange constructs concerning socket options
tron
2005-02-07 09:56:16 +00:00
7c38b7bc01
(svn r1835) Reduce the visibility of network_core.h
tron
2005-02-07 09:54:37 +00:00
6d3c886d4a
(svn r1835) Reduce the visibility of network_core.h
tron
2005-02-07 09:54:37 +00:00
c5c5c9b17c
(svn r1834) - Fix: NPF does not check the owner of its target, busses try to enter other players' depots. TODO - Add: asserts to find the v->u.rail.track == 0 problem. - Add: IsValidDepot(), IsValidTown(), IsValidSign(), IsValidVehicle(), IsValidStation() - Add: GetTileOwner(), IsTileOwner() - Codechange: Replaced IsShipDepotTile(), IsTrainDepotTile(), IsRoadDepotTile() by IsTileDepotType(). - Codechange: typedeffed the MAP_OWNERS as Owner. Should be used as variable type. - Codechange: Replaced a few uint by TileIndex.
matthijs
2005-02-06 22:36:08 +00:00
cc0966405b
(svn r1834) - Fix: NPF does not check the owner of its target, busses try to enter other players' depots. TODO - Add: asserts to find the v->u.rail.track == 0 problem. - Add: IsValidDepot(), IsValidTown(), IsValidSign(), IsValidVehicle(), IsValidStation() - Add: GetTileOwner(), IsTileOwner() - Codechange: Replaced IsShipDepotTile(), IsTrainDepotTile(), IsRoadDepotTile() by IsTileDepotType(). - Codechange: typedeffed the MAP_OWNERS as Owner. Should be used as variable type. - Codechange: Replaced a few uint by TileIndex.
matthijs
2005-02-06 22:36:08 +00:00
eed181245d
(svn r1833) byte -> char transition: the rest
tron
2005-02-06 22:25:27 +00:00
257e97c09a
(svn r1833) byte -> char transition: the rest
tron
2005-02-06 22:25:27 +00:00
27dc506a03
(svn r1832) Next byte -> char iteration: custom names
tron
2005-02-06 20:53:31 +00:00
6984d6cd31
(svn r1832) Next byte -> char iteration: custom names
tron
2005-02-06 20:53:31 +00:00
cc8fc19d4a
(svn r1831) -Fix: Scenario Editor now handles human-made roads better (try to build a city layout before placing the city, finally that works very nice)
truelight
2005-02-06 20:29:32 +00:00
f1610872de
(svn r1831) -Fix: Scenario Editor now handles human-made roads better (try to build a city layout before placing the city, finally that works very nice)
truelight
2005-02-06 20:29:32 +00:00
2bd8df54e1
(svn r1830) -Codechange: small stuff to make the file more beautiful (tnx Tron)
truelight
2005-02-06 19:22:54 +00:00
29faa0095a
(svn r1830) -Codechange: small stuff to make the file more beautiful (tnx Tron)
truelight
2005-02-06 19:22:54 +00:00