frosch
1d9a84a934
(svn r19936) -Codechange: If there is an enum, also use it.
15 years ago
rubidium
f09a74a996
(svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int
15 years ago
rubidium
398418b8fa
(svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int
15 years ago
smatz
6d92880bb3
(svn r19084) -Codechange: minor coding-style fixups
15 years ago
smatz
c5b34444af
(svn r19084) -Codechange: minor coding-style fixups
15 years ago
rubidium
ca78c69924
(svn r17528) -Codechange: use QSortT instead of qsort for sorting FiosItems
15 years ago
rubidium
ca7f6f5d7a
(svn r17528) -Codechange: use QSortT instead of qsort for sorting FiosItems
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
1bd82bf71d
(svn r15608) -Codechange: use the file scanner to find the files for the saveload window.
16 years ago
rubidium
0682c1c46c
(svn r15608) -Codechange: use the file scanner to find the files for the saveload window.
16 years ago
rubidium
9e3449ecc9
(svn r15605) -Codechange: constify a function
16 years ago
rubidium
908e850b5a
(svn r15605) -Codechange: constify a function
16 years ago
smatz
575a3a4563
(svn r15144) -Codechange: make sure we don't run out of bounds while determining old savegame name
...
Note this can't happen in current code
16 years ago
smatz
3bceaf41b4
(svn r15144) -Codechange: make sure we don't run out of bounds while determining old savegame name
...
Note this can't happen in current code
16 years ago
rubidium
eff693d2e9
(svn r15104) -Codechange: unify the resolving of the xyz kbytes/megabytes strings.
16 years ago
rubidium
b1a33a494f
(svn r15104) -Codechange: unify the resolving of the xyz kbytes/megabytes strings.
16 years ago
rubidium
a20b833516
(svn r14199) -Codechange: split fileio.h into fileio_type.h and fileio_func.h so not everything that includes saveload.h needs to include everything else too.
16 years ago
rubidium
ea1f180a55
(svn r14199) -Codechange: split fileio.h into fileio_type.h and fileio_func.h so not everything that includes saveload.h needs to include everything else too.
16 years ago
smatz
cd75303d80
(svn r13859) -Fix: loading of TTD(Patch) savegames from the command line didn't work
16 years ago
smatz
88637d9213
(svn r13859) -Fix: loading of TTD(Patch) savegames from the command line didn't work
16 years ago
skidd13
ad9b19b77a
(svn r13575) -Codechange: Move small vector to core since it fits better in there
...
-Codechange: convert smallvector from struct to class
17 years ago
skidd13
2f65d35ead
(svn r13575) -Codechange: Move small vector to core since it fits better in there
...
-Codechange: convert smallvector from struct to class
17 years ago
skidd13
8b3db22075
(svn r13360) -Fix (r13359): Forgot to remove some instances of FiosAlloc()
17 years ago
skidd13
11cdcf875c
(svn r13360) -Fix (r13359): Forgot to remove some instances of FiosAlloc()
17 years ago
skidd13
f1c954e842
(svn r13359) -Codechange: convert _fios_items to a SmallVector
...
-Cleanup: some reincarnations of _fios_items in the code
17 years ago
skidd13
8a40ca49c6
(svn r13359) -Codechange: convert _fios_items to a SmallVector
...
-Cleanup: some reincarnations of _fios_items in the code
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
peter1138
b471c5d312
(svn r12848) -Cleanup/Codechange: Use correct variable types, don't prefix with _ for non-globals, and use implicit enum numbering.
17 years ago
peter1138
24cccc8333
(svn r12848) -Cleanup/Codechange: Use correct variable types, don't prefix with _ for non-globals, and use implicit enum numbering.
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
belugas
1b76c8bb67
(svn r11714) -Fix[FS#1569]: Do not allow player inauguration date on scenarios to be bigger than current year.
...
This will not (yet) be true if you are loading a scenario with the "-g" command line option.
17 years ago
belugas
e9a039b845
(svn r11714) -Fix[FS#1569]: Do not allow player inauguration date on scenarios to be bigger than current year.
...
This will not (yet) be true if you are loading a scenario with the "-g" command line option.
17 years ago
belugas
db45093f7b
(svn r11713) -Codechange: Move some declarations and definitions in a more logical disposition
17 years ago
belugas
5087a6cdd7
(svn r11713) -Codechange: Move some declarations and definitions in a more logical disposition
17 years ago
belugas
716ef17757
(svn r11711) -Codechange: Name the Save Load Dialog Mode enum
17 years ago
belugas
e67ed0a808
(svn r11711) -Codechange: Name the Save Load Dialog Mode enum
17 years ago
rubidium
3722b834ef
(svn r11355) -Fix [FS#1377]: loading too many GRFs was not handled gracefully causing crashes and such.
17 years ago
rubidium
b14c94867a
(svn r11355) -Fix [FS#1377]: loading too many GRFs was not handled gracefully causing crashes and such.
17 years ago
Darkvater
1a2576cd7e
(svn r9055) -Codechange: Change windows unicode handling and allow a pure non-unicode build to function. Win9x binaries will be possible with mingw/nightly system.
18 years ago
Darkvater
2536a14abd
(svn r9055) -Codechange: Change windows unicode handling and allow a pure non-unicode build to function. Win9x binaries will be possible with mingw/nightly system.
18 years ago
rubidium
979ccd45ba
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
18 years ago
rubidium
24c4d5b06d
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
18 years ago
rubidium
4169bfba06
(svn r9050) -Codechange: Foo(void) -> Foo()
18 years ago
rubidium
36bb92ae24
(svn r9050) -Codechange: Foo(void) -> Foo()
18 years ago
belugas
240cbd4dd2
(svn r8950) -Cleanup: doxygen changes. Mostly @files missing tags and a few comments style.
18 years ago
belugas
978d7da818
(svn r8950) -Cleanup: doxygen changes. Mostly @files missing tags and a few comments style.
18 years ago
Darkvater
fa16e74d01
(svn r8823) -Fix (r8821): wrapping opendir to ottd-specific function failed on non-windows because this wrapper was only active for win32 (thx Rubidium)
18 years ago
Darkvater
6d25481221
(svn r8823) -Fix (r8821): wrapping opendir to ottd-specific function failed on non-windows because this wrapper was only active for win32 (thx Rubidium)
18 years ago
Darkvater
7eab669a88
(svn r8821) -Regression: Unable to browse directories on *nix if the filesystem is not in UTF-8 charset and special characters are used. The string passed to opendir() which is UTF-8 was not parsed back to the filesystem format. Use a wrapper called ttd_opendir() instead of redefining opendir itself.
18 years ago
Darkvater
92bbe45dd0
(svn r8821) -Regression: Unable to browse directories on *nix if the filesystem is not in UTF-8 charset and special characters are used. The string passed to opendir() which is UTF-8 was not parsed back to the filesystem format. Use a wrapper called ttd_opendir() instead of redefining opendir itself.
18 years ago
rubidium
013df98f79
(svn r7759) -Merge: makefile rewrite. This merge features:
...
- A proper ./configure, so everything needs to be configured only once, not for every make.
- Usage of makedepend when available. This greatly reduces the time needed for generating the dependencies.
- A generator for all project files. There is a single file with sources, which is used to generate Makefiles and the project files for MSVC.
- Proper support for OSX universal binaries.
- Object files for non-MSVC compiles are also placed in separate directories, making is faster to switch between debug and release compiles and it does not touch the directory with the source files.
- Functionality to make a bundle of all needed files for for example a nightly or distribution of a binary with all needed GRFs and language files.
Note: as this merge moves almost all files, it is recommended to make a backup of your working copy before updating your working copy.
18 years ago
rubidium
66bbf336c6
(svn r7759) -Merge: makefile rewrite. This merge features:
...
- A proper ./configure, so everything needs to be configured only once, not for every make.
- Usage of makedepend when available. This greatly reduces the time needed for generating the dependencies.
- A generator for all project files. There is a single file with sources, which is used to generate Makefiles and the project files for MSVC.
- Proper support for OSX universal binaries.
- Object files for non-MSVC compiles are also placed in separate directories, making is faster to switch between debug and release compiles and it does not touch the directory with the source files.
- Functionality to make a bundle of all needed files for for example a nightly or distribution of a binary with all needed GRFs and language files.
Note: as this merge moves almost all files, it is recommended to make a backup of your working copy before updating your working copy.
18 years ago