smatz
6d92880bb3
(svn r19084) -Codechange: minor coding-style fixups
2010-02-10 17:37:47 +00:00
rubidium
9467b7c6d6
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
2010-01-15 16:41:15 +00:00
smatz
289c130333
(svn r18636) -Codechange: make TextEffect::duration a value in ticks instead of ticks * 8
2009-12-25 23:22:41 +00:00
smatz
6607dfdc68
(svn r18635) -Codechange: store TextEffects in a SmallVector
2009-12-25 23:15:08 +00:00
rubidium
dc58b1dfee
(svn r18602) -Codechange: unify the viewport sign and text effect drawing
...
-Fix [FS#3394]: signs could occasionally glitch
2009-12-22 12:50:41 +00:00
frosch
262d5fe642
(svn r18244) -Codechange: Make texteffects big font aware.
2009-11-22 20:23:41 +00:00
rubidium
982b8ee5fc
(svn r17693) -Cleanup: remove some unneeded includes
2009-10-04 17:16:41 +00:00
rubidium
99d46e0ad7
(svn r17248) -Fix: add GPL license notice where appropriate
2009-08-21 20:21:05 +00:00
rubidium
6670a92012
(svn r16691) -Codechange: what's the point of getting the fifth dparam and then using that as the second dparam later on? Especially when the fifth dparam is never set and the second dparam is never used.
2009-06-29 09:32:58 +00:00
smatz
9021c20b5e
(svn r15299) -Cleanup: remove many redundant includes
2009-01-31 20:16:06 +00:00
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.
2008-08-11 22:45:11 +00:00
frosch
cfdc710104
(svn r13649) -Codechange: Split the GfxFillRect() special flags from 'color' into their own parameter.
2008-06-28 15:44:24 +00:00
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.
2008-05-29 15:13:28 +00:00
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.
2008-05-25 19:17:03 +00:00
rubidium
bf3b61cfa3
(svn r13228) -Codechange: split console.h.
2008-05-24 10:15:06 +00:00
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.
2008-05-06 15:11:33 +00:00
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.
2008-04-20 08:22:59 +00:00
rubidium
9c0c798dd8
(svn r11834) -Codechange: only include settings_type.h if needed.
2008-01-13 14:37:30 +00:00
rubidium
90acd52f22
(svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h.
2008-01-13 01:21:35 +00:00
rubidium
285a4a106f
(svn r11788) -Fix (11787): makedepend doesn't mark delete files as changed...
2008-01-09 09:57:48 +00:00
rubidium
b09d957f31
(svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
2008-01-07 14:23:25 +00:00
rubidium
db73addb43
(svn r11702) -Codechange: move all date related stuff to date*.
2007-12-26 13:50:40 +00:00
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'
2007-12-25 11:26:07 +00:00
rubidium
00c9d3ef20
(svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed.
2007-12-25 09:48:53 +00:00
rubidium
1f6043458c
(svn r11682) -Codechange: move some 'generic' geometry related types into a single file and do not include gfx.h everywhere to get a Point type.
2007-12-22 23:30:28 +00:00
rubidium
3074bca136
(svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
2007-12-21 22:50:51 +00:00
rubidium
8427b8bad2
(svn r11675) -Codechange: split the string types from the string functions.
2007-12-21 19:49:27 +00:00
rubidium
8ebdfb258f
(svn r11674) -Codechange: refactor some functions out of macros.h into more logical locations.
2007-12-21 19:21:21 +00:00
rubidium
33cdfc71dc
(svn r11597) -Change: replace all remaining instances of (re|m|c)alloc with (Re|M|C)allocT and add a check for out-of-memory situations to the *allocT functions.
2007-12-08 14:50:41 +00:00
belugas
f26a591e6c
(svn r11399) -Feature(ette): transparency settings can now be saved and thus remembered.
...
-Codechange: Wrap all transparency settings in accessors, hiding the implementation
-Change: Clicking "transparent building" menu will toggle Houses And Trees only. The other options can be used in the transparency gui.
Initial patch by Smatz (FS#1349), with some rework by BigBB and your humble servant.
2007-11-10 01:17:15 +00:00
rubidium
20ee708744
(svn r11286) -Fix (r11228): NewGRF industries assume that the order of animation always stays the same. Patch by Csaboka.
2007-10-17 16:09:04 +00:00
rubidium
91ac131014
(svn r11228) -Codechange: implement the "moreanimation" feature of TTDP, so we can properly support newindustries.
2007-10-08 19:56:21 +00:00
rubidium
0ca9fd7dc2
(svn r11065) -Documentation [FS#1186]: of the dirty marking/repainting subsystem. Patch by Progman.
2007-09-09 10:13:17 +00:00
rubidium
36845f243a
(svn r11055) -Fix [FS#1214]: loading indicators would sometimes glitch due to a bounding box that was too small. Patch by frosch.
2007-09-07 21:15:32 +00:00
rubidium
4ef6e75609
(svn r10932) -Codechange: replace "text" with "chat" for the chat related function and variables.
2007-08-19 09:38:30 +00:00
peter1138
5e85e8c5e0
(svn r10444) -Codechange: switch to c++ classes and inheritance for sound/music/video drivers, using self-registration based on the blitter-model.
2007-07-05 12:23:54 +00:00
rubidium
328d369f64
(svn r10262) -Fix (r10258): some places that needed to be changed to uint64 were hidden/forgotten, which caused memory corruptions and that in caused all kinds of assertions to trigger.
2007-06-21 19:08:47 +00:00
truelight
66a136be09
(svn r10254) -Feature: loading indicator, which shows in % how full a vehicle is while loading/unloading (TheJosh)
2007-06-21 16:17:47 +00:00
truelight
2f0500a438
(svn r10244) -Fix: make sure to let 32bpp-anim report the increased buffer-size it needs
2007-06-21 13:31:41 +00:00
truelight
d614cec205
(svn r10241) -Codechange: CopyToBuffer now produces a buffer that is unreadable from outside the blitter, so the blitter can store anything he likes
...
-Codechange: added CopyImageToBuffer, which produces a readable buffer for screenshots
-Fix: 32bpp-anim now holds animation on transparent objects to avoid strange graphical effects
-Fix: 32bpp-anim now works correct on mouse-movement (it holds the palette animation correctly)
2007-06-21 12:36:46 +00:00
truelight
79cd3f5db0
(svn r10190) -Codechange: merged renderer and blitter to one single class API: blitter
...
-Codechange: introduced a hierachy of blitters to avoid a lot of code duplication
Note: this allows much easier adding other types of video-drivers, like OpenGL
2007-06-17 20:30:28 +00:00
truelight
0e53fd6d32
(svn r10121) -Codechange: split renderer from rest of code; no longer any code directly accesses the video-buffer
...
-Add: added NULL blitter and renderer, which are always used for -vnull
-Add: dedicated driver doesn't blit nor render by default. Can be overruled by user. (-D -b 8bpp-optimized)
-Remove: removed CTRL+D from win32, which is incompatible with above
-Add: extended screenshot support for PNG and BMP
-Codechange: remove all hardcoded 8bpp references and replace them with more dynamic ones
-Codechange: minor stuff in blitters
2007-06-12 20:24:12 +00:00
truelight
05e2bd2793
(svn r10093) -Revert: removed 16x zoom-out as it is broken beyond repair
2007-06-11 11:59:36 +00:00
truelight
d2c750b2c9
(svn r9884) -Feature: 2 new zoom-out levels: 8 times and 16 times
...
-Codechange: unified the blitter function so we have 1 function for all zoom-levels
-Codechange: make most of the label functions work with zoom-level instead of magic numbers and big switches per zoom-level
-Codechange: MakeXXXDirty() functions didn't take into account zoom-level, but just used the biggest possible value
-Codechange: simplified blitter functions to avoid code duplication
2007-05-19 22:48:04 +00:00
truelight
b605f68631
(svn r9846) -Codechange: introduced ZOOM_LVL_MIN and ZOOM_LVL_MAX for the obvious reasons
...
-Codechange: introduced ZOOM_LVL_DETAIL to show/remove details
-Codechange: changed << and >> operator with ZoomLevel to a simple wrapper (that in theory also allows zoom-in besides the current zoom-out)
-Fix r9845: missed some int -> ZoomLevel
2007-05-15 16:08:46 +00:00
truelight
dc191785db
(svn r9844) -Codechange: replace zoomlevel with an enum
...
-Codechange: use predefined enums for viewport zoomlevels
2007-05-15 14:08:39 +00:00
rubidium
2ce514284c
(svn r9673) -Cleanup: remove spaces before tabs and replace non-indenting tabs with spaces.
2007-04-18 22:41:53 +00:00
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.
2007-04-12 13:07:15 +00:00
belugas
4c4f2a34ef
(svn r9558) -Documentation: doxygen and comment changes: 'T' now. Almost done
2007-04-04 03:21:14 +00:00
rubidium
4a9dabe2c8
(svn r9437) -Fix (r9420): dedicated server crashed when the y part of the resolution was less than 10.
2007-03-25 00:13:22 +00:00