Commit Graph

76 Commits (7154069dd0edea462da229159045e8ae80cf67ae)

Author SHA1 Message Date
rubidium 42d0500f40 (svn r13700) -Fix: possible buffer overflow in string truncation code. 16 years ago
rubidium f6ab930cc0 (svn r13699) -Fix: handle SETX(Y) properly when truncating a string instead of ignoring it and returning a too long string. 16 years ago
frosch cfdc710104 (svn r13649) -Codechange: Split the GfxFillRect() special flags from 'color' into their own parameter. 16 years ago
smatz e00df941fa (svn r13537) -Fix [FS#2090](r13523): QSortT won't work this way, use Dimension instead of uint16[2] for resolutions 16 years ago
skidd13 fc648a2b30 (svn r13523) -Codechange: replace qsort by the internal typesafe QSortT for resolution sorting 16 years ago
smatz 4298508918 (svn r13502) -Fix (r11212): drawing of zoomed out partial sprites could cause deadlocks or crashes 16 years ago
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. 16 years ago
rubidium d289464d69 (svn r13255) -Codechange: move _opt to _settings. 16 years ago
frosch 7f80552293 (svn r13206) -Feature(ette): Display all owners of a tile in the tile-info-window. 16 years ago
rubidium e0e1bf76a2 (svn r12986) -Codechange: move the landscape and transport related types from openttd.h to their own headers. 16 years ago
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. 16 years ago
rubidium 7e5639ccea (svn r12779) -Codechange: remove a few constants from openttd.h. 16 years ago
rubidium 36d3553b9b (svn r12773) -Codechange: replace some magic numbers with enums. 16 years ago
rubidium 1dc0af3248 (svn r12619) -Codechange: lots of documentation about window related stuff. Patch by Alberth. 16 years ago
rubidium a606fe9610 (svn r12425) -Feature [FS#1846]: On Screen Keyboard for input fields so someone without a keyboard can enter text too. Patch by Dominik. 16 years ago
peter1138 debabbbd9a (svn r12335) -Codechange: Don't stuff signed values into a unsigned variable when the variable can just be unsigned... 17 years ago
rubidium 9c0c798dd8 (svn r11834) -Codechange: only include settings_type.h if needed. 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
frosch 7d3ecec5b9 (svn r11813) -Fix [FS#1602]: Switch _screen to the output buffer and disable usage of 32bpp-anim animation buffer during giant screenshots. 17 years ago
rubidium b09d957f31 (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary. 17 years ago
belugas 61285721a4 (svn r11734) -Change: Allow ToggleFullScreen to return the result of the operation' attempt. Previously, only visual clues were available.
-Fix[FS#1519]: When you can not use this resolution at full screen, now you'll know that it failed.
As for the reason it did not work, each computer/OS has its reason.
17 years ago
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' 17 years ago
rubidium 507463e420 (svn r11684) -Codechange: split gfx.h in a type and functional header. 17 years ago
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. 17 years ago
rubidium 8427b8bad2 (svn r11675) -Codechange: split the string types from the string functions. 17 years ago
rubidium 8ebdfb258f (svn r11674) -Codechange: refactor some functions out of macros.h into more logical locations. 17 years ago
skidd13 c0a2c0c23e (svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style 17 years ago
skidd13 7a4d96f629 (svn r11480) -Codechange: Rename the function ALIGN fitting to the naming style
This fixes also FS#1450
17 years ago
belugas e2c0f1faf7 (svn r11374) -Codechange: Give meaning to the magical number that specifies the color of the text in a DrawString call.
Patch heavily based on BiBB's work (FS#1383)
17 years ago
rubidium d92dbbb029 (svn r11212) -Codechange: add support for drawing parts of sprites. Patch by frosch. 17 years ago
rubidium 6222597152 (svn r11182) -Fix [FS#1261] (r11174): bounding boxes caused crashes when zoomed out. Patch by SmatZ. 17 years ago
rubidium d464d7587d (svn r11174) -Codechange: add possibility to show the bounding boxes of sprites using CTRL-B so one can get a better understanding of the used bounding boxes to fix the glitches that still exist. Patch by frosch.
Note that this is not completely glitch free, bounding boxes sometimes aren't removed properly. This is due to the fact that the bounding boxes sometimes are larger than the sprite, which causes a smaller part than the bounding box to be redrawn. This is NOT a bug, but a known implementation limit as we do not want to slow down normal games so the debug graphics are always 100% correct.
17 years ago
rubidium 0ca9fd7dc2 (svn r11065) -Documentation [FS#1186]: of the dirty marking/repainting subsystem. Patch by Progman. 17 years ago
rubidium 4ef6e75609 (svn r10932) -Codechange: replace "text" with "chat" for the chat related function and variables. 17 years ago
rubidium 34545a381a (svn r10820) -Codechange: make negative currencies red and restore the colour from before the currency was printed; this removes the need to make two strings for printing currencies (one for positive currencies and one for negative currencies).
-Fix [FS#1036]: do not use green for currencies as it is practically unreadable on CRT monitors.
17 years ago
truelight 8ca03887b9 (svn r10781) -Fix: ported more pieces to WinCE, so it compiles a bit more
-Fix: WinCE doesn't support console
-Fix: Set debug lvl4 when running a debug WinCE build (as you can't give parameters any easy way)
17 years ago
glx f95df6bb61 (svn r10761) -Fix (FS#1101, r10216): _pal_last_dirty changed to _pal_count_dirty without updating, so it was of by one 17 years ago
rubidium 17370d5ae7 (svn r10725) -Codechange: move some window related code out of gfx.cpp to windows.cpp 17 years ago
peter1138 5e1cd09ea4 (svn r10724) -Fix (r10723): Toolbar spacing was off-by-one 17 years ago
rubidium 39a2f2f4a8 (svn r10723) -Codechange: dynamically sized (width) main toolbars and status bar for when the window becomes less than 640 pixels in width. 17 years ago
peter1138 5e85e8c5e0 (svn r10444) -Codechange: switch to c++ classes and inheritance for sound/music/video drivers, using self-registration based on the blitter-model. 17 years ago
truelight 7bfc7d19e8 (svn r10276) -Codechange: made a counter based on milliseconds and independent of the game-state to base double-click and TGP Generation Process on
-Codechange: renamed _timer_counter to _palette_animation_counter, as that is what it is
17 years ago
truelight f58ea51e2a (svn r10255) -Codechange: remove some old debug code nobody was using anymore 17 years ago
truelight 66a136be09 (svn r10254) -Feature: loading indicator, which shows in % how full a vehicle is while loading/unloading (TheJosh) 17 years ago
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)
17 years ago
truelight 766168ad43 (svn r10220) -Fix r10216: even more fuck-ups for non-SDL video backends 17 years ago
truelight cd10965a27 (svn r10216) -Fix: palette animation always redid all palette entries, where in fact only a few indexes were needed
-Codechange: allow blitters to handle palette animation internally or even disable it; 8bpp uses video-backend for palette animation
17 years ago
truelight 6785ea670f (svn r10206) -Codechange: more moving things to blitter-layer: ScrollBuffer 17 years ago
truelight d7736f6b83 (svn r10203) -Codechange: more moving things to blitter-layer: DrawLine 17 years ago
peter1138 704a67ff0b (svn r10201) -Codechange: Replace Blitter::SetHorizontalLine with Blitter::DrawRect, as the former was only used by the rectangle drawing code anyway. This lets us draw rectangles in one go. 17 years ago