rubidium
9fc837ad85
(svn r5887) -Cleanup: move date related functions, defines and variables to date.[ch]
...
-Cleanup: fix whitespace related coding style issues in date.[ch]
-Cleanup: make original comments doxygen compatible and remove/change outdated comments
2006-08-14 14:21:15 +00:00
belugas
6e20fc955b
(svn r5627) Fix (r5626) : Forgot to rename one instance make_screenshot to current_screenshot_type
2006-07-28 22:01:43 +00:00
belugas
e4474db35f
(svn r5626) CodeChange : Remove the global _make_screenshot and implement a more flexible mechanism
...
Simplification of the handling of the main_gui menus,
Removal of repetitions and Hiding the internals of screenshots.
Thanks to glx, Rubidium and Truelight for pointers
2006-07-28 21:51:00 +00:00
tron
c556a6da01
(svn r5394) Allocate a small, fixed-size array on the stack instead of malloc()ing it
2006-06-28 05:47:55 +00:00
peter1138
670b0f7d9a
(svn r5249) - Add code to copy the palette to a temporary byte aligned array when making a PCX screenshot, if the palette array is not byte aligned.
2006-06-13 17:13:46 +00:00
Darkvater
e3685faad0
(svn r4105) - Feature: Add proper ISO-8859-15 <> LOCALCODE conversion. As the mess that is makefile can't properly support it at the moment, it is only available for MACOSX. Windows doesn't need FS conversion and I have no idea about OS/2 so it's disabled for them.
...
- CodeChange: Change the function GetCurrentLocale(). It returns the locale from some default environment-variables, plus a custom one defined as parameter. If all fail, it tries $LANG.
2006-03-25 09:22:10 +00:00
bjarni
14b12efa4a
(svn r4019) -Fix: [OSX] stopped using iconv for 10.2.8, since it was added in 10.3
...
this have the sideeffect that 10.2.8 will still have the "failure to save with certain chars in the filename bug", but at least it can compile again
2006-03-22 13:06:50 +00:00
bjarni
a59b2b96b0
(svn r3972) changed r3966 to only affect OSX. Too bad linuxes with utf-8 filesystems now got the saving problem again, but now we can compile on all platforms again
2006-03-18 16:37:25 +00:00
bjarni
556e144628
(svn r3966) -Fix: [OSX and some linux] [ 1157244 ] Can't save game if name contains german umlauts
...
now it saves correctly, but the load window still display some chars wrong (fix by ln-)
2006-03-18 15:55:24 +00:00
tron
04c096ee63
(svn r3339) Remove unnecessary includes
2005-12-24 20:54:31 +00:00
Darkvater
af706b9ed3
(svn r3235) - Fix: fix two crashes, one with making a screenshot in the main menu without any game loaded, another when failing to load a scenario in 'New Game'
2005-11-26 12:45:53 +00:00
tron
0b936c3222
(svn r3077) static, const, bracing, indentation, 0 -> '\0'/NULL, typos in comments, excess empty lines, minor other changes
...
nothing spectacular, just some stuff, which piled up
2005-10-22 06:39:32 +00:00
tron
c20b5883bd
(svn r2924) Introduce the ALIGN() macro which aligns values to multiples of a power of 2, for exact semantics see the commment in macros.h
2005-09-08 12:48:26 +00:00
tron
647cbd6bdd
(svn r2701) Insert Id tags into all source files
2005-07-24 14:12:37 +00:00
tron
54cbd01825
(svn r2673) Include functions.h directly, not globally via openttd.h
2005-07-22 07:02:20 +00:00
tron
71140a5768
(svn r2669) Shuffle some more stuff around to reduce dependencies
2005-07-21 22:15:02 +00:00
tron
bce6f5c0a5
(svn r2631) Move screenshot related variables from variables.h to screenshot.[ch]
2005-07-19 06:47:07 +00:00
tron
3428e4e4b0
(svn r2630) Forgot one Pixel (see r2571)
2005-07-19 06:31:39 +00:00
tron
462b0d6686
(svn r2571) Add explicit type Pixel for ... Pixels
2005-07-15 14:16:14 +00:00
celestar
53e58e8bdb
(svn r2521) -Codechange: Removed trailing "\n"s from DEBUG statements
2005-07-05 17:47:10 +00:00
tron
4e88566d76
(svn r2512) Small cleanup
2005-07-03 10:22:20 +00:00
tron
c3b47e09d3
(svn r2511) Fix an old bug in the PCX writer: The first pixel column contained garbage, the picture was shifted one to the right, and the last column was dropped
2005-07-03 07:51:13 +00:00
tron
6319c11b1f
(svn r2497) Use a struct array for palette entries instead of a flat byte array
2005-06-30 05:27:32 +00:00
Darkvater
ba8c649fac
(svn r2397) - CodeChange: rename all "ttd" files to "openttd" files.
2005-06-02 19:30:21 +00:00
tron
d3f84347ac
(svn r1813) Declare functions implemented in strings.c in their own shiny new header (though i think some of these function don't belong into strings.c)
2005-02-06 08:18:00 +00:00
tron
36c9758c94
(svn r1803) Move debugging stuff into files of it's own
2005-02-05 15:58:59 +00:00
truelight
4528410053
(svn r1411) -Fix: structure packing in the OS/2 version (eg, with the old loader).
2005-01-07 09:28:16 +00:00
tron
265ac67183
(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
2004-12-02 22:53:07 +00:00
tron
acbd1801c7
(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.
2004-11-25 10:47:30 +00:00
tron
450c669eb2
(svn r631) Merge r440, r444, r485, r630 to trunk:
...
r440
Move screenshot function declarations to new file screenshot.h
Clean up screenshot.c a bit, mostly whitespace, alloca() -> malloc() and checking return values
r485
Remove unused field from struct ScreenshotFormat
2004-11-15 19:25:59 +00:00
tron
249a170ace
(svn r607) -Patch: [ 985102 ] static cleanup
...
Thanks to lvoge
2004-11-14 19:44:06 +00:00
darkvater
edf841fb6f
(svn r328) -Fix: remove some unlogical alloca()s (Tron)
2004-09-27 12:36:59 +00:00
truelight
12c91671bf
(svn r321) -Fix: crash when making png screenshot with odd resolution (Tron)
...
-Fix: unable to select other screenshot format in Game Option
2004-09-25 18:30:19 +00:00
truelight
eb49a19460
(svn r194) -Codechange: stripping trailing-spaces. Please keep this that way!
2004-09-10 19:02:27 +00:00
darkvater
804f038594
(svn r2) -Fix [993829] UDP Fixes (lucaspiller)
...
-Fix change 255/0xFF to OWNER_SPECTATOR for
spectator stuff (TrueLight)
2004-08-10 14:14:00 +00:00
truelight
efaeb275f7
(svn r1) Import of revision 975 of old (crashed) SVN
2004-08-09 17:04:08 +00:00