Commit Graph

68 Commits (5ddc76afa6c21b6acb148383b31dd13a2ab0f722)

Author SHA1 Message Date
Peter Wortmann 638cb919d4 Fixed line drawing coordinate rounding 2011-11-08 16:22:39 +00:00
Armin Burgmeier b532e77872 Fix the build when building against libpng 1.5 2011-10-09 11:15:02 +02:00
Günther Brammer c2908d5bd5 Rename CStdDDraw to C4Draw 2011-10-03 16:34:08 +02:00
Günther Brammer 2b6f4432de Rename lpDDraw to pDraw 2011-10-03 16:30:18 +02:00
Günther Brammer ad89e12a2c Rename CTexMgr and CTexRef to C4TexMgr and C4TexRef 2011-10-03 16:16:38 +02:00
Günther Brammer 68d6b34f72 Replace SURFACE with C4Surface * 2011-10-03 16:07:07 +02:00
Günther Brammer 55f6bc8d0f Replace CSurface and C4Surface with just C4Surface
The methods that previously were on C4Surface still are in a separate
file.
2011-10-03 16:06:41 +02:00
Günther Brammer f4ff47239f Rename CBltTransform, CBltVertex, CBltData, CPattern and CGammaControl 2011-09-30 22:15:51 +02:00
Günther Brammer f055ed27e8 Draw PXS Sprites a little bit smoother 2011-05-26 15:03:51 +02:00
Günther Brammer 9bc61db360 copyright notices update 2011 2011-09-01 16:58:52 +02:00
Sven Eberhardt 3161904bf4 fix C4DrawTransform::IsIdentity 2011-09-01 15:35:12 +02:00
Tobias Zwick 532cea1abe removed Cursor graphics in different sizes 2011-08-18 19:06:49 +02:00
Benjamin Herr 29aa76dd19 fix loading of scaled graphics again 2011-08-06 20:22:55 +02:00
Sven Eberhardt 8c4e08531e fix loading of scaled graphics (Graphics.*.png) 2011-08-05 20:16:08 +02:00
Tobias Zwick 4a517e06b6 #394 - Separate graphic for "Mouse Over" for main-menu buttons and Icons 2011-08-05 14:24:41 +02:00
Tobias Zwick 221aae1bf5 fixed some ridiculous formatting of consts 2011-08-04 01:30:37 +02:00
Günther Brammer 5b808be269 Remove some unused variables
gcc 4.6 finds variables that are write-only.
2011-03-28 19:31:28 +02:00
Günther Brammer 16538864f6 win32: Remove unused function C4Facet::Draw 2011-03-13 22:11:04 +01:00
Armin Burgmeier 884809e8f2 Merge filename extension changes 2011-03-13 17:15:40 +01:00
Günther Brammer e56a5b0136 Correctly use the C4RGB macro
C4RGB sets the alpha channel to 0xFF instead of 0x00 like RGB did.
2011-03-13 17:09:47 +01:00
Armin Burgmeier 41a1b5867d Change .c4g extension to .ocg 2011-03-13 16:16:45 +01:00
Günther Brammer 506466ef2e Remove the jpeglib.h versus windows.h/rpcndr.h boolean workaround 2011-03-11 14:37:51 +01:00
Armin Burgmeier fd2b981547 Backed out changeset: b019ea52537e
Breaks build with more recent jpeglib such as used by nightly builds
2011-03-12 14:12:04 +01:00
Günther Brammer 81d64df737 Do not use Windows' RGB macros for BGR colors 2011-03-11 03:37:27 +01:00
Julius Michaelis 0d804cad50 Workaround a jpeglib 6b weirdness 2011-03-09 00:01:27 +01:00
Günther Brammer e250312c26 Move C4DefList class into from C4Def.cpp/h to new C4DefList.cpp/h 2011-03-03 17:10:22 +01:00
Günther Brammer 5151177d44 Move some BMP-loading helpers to C4Landscape.cpp 2011-01-19 23:52:46 +01:00
Armin Burgmeier 9f74506e9b Support loading game data from system path 2011-01-06 21:18:13 +01:00
Armin Burgmeier bf00eb276f Don't reset progress bar when starting to load definitions 2010-12-29 17:00:13 +01:00
Günther Brammer be342d4a51 copyright notices update 2010
This time with more manual checking and using git blame -M -C, so that
a few cases of copied code get a copyright notice corresponding to
their initial introduction.
2010-12-23 01:01:24 +01:00
Günther Brammer 5bb3e81f4f Physical: Remove Magic and associated other Magic 2010-12-12 01:25:58 +01:00
Tobias Zwick e0cb527c5d removed Score.png from resources 2010-10-03 14:31:26 +02:00
Günther Brammer 5dc10647e2 C4TargetFacet now also stores the Zoom factor 2010-09-24 20:17:07 +02:00
Sven Eberhardt 6512340382 Pass previous ActionTarget/ActionTarget2 to AbortCalls 2010-07-30 19:42:54 +02:00
Günther Brammer 9bae376055 Remove old style Cursor and other dead code 2010-07-06 02:10:54 +02:00
Günther Brammer e109df627c Remove a lot of old obsolete palette code
Hardcode the few remaining palette references instead. We might want to
include some method to customize some colors again, but not for debug
display and such things.
2010-06-29 01:02:16 +02:00
Günther Brammer 9a4c56fc10 More startup simplification 2010-06-29 01:02:14 +02:00
Günther Brammer 623cb9476c Fix scenario local Graphics.c4g 2010-06-29 01:02:14 +02:00
Günther Brammer 46aa12def4 Merge C4GUI::Resource into C4GraphicsResource
Both classes did the same thing at the same time, with the only difference
that C4GUI::Resource was vaguely more associated with GUI stuff. Some
time ago, C4GUI::Resource could be freed during the game, but not anymore.

This saves some lines of code and one redundant class, but shouldn't change
anything besides progress bar being textured a little earlier during
startup.
2010-06-27 02:42:48 +02:00
Günther Brammer c0ce4d613b Make the startup progress bar more accurate
This should also simplify the startup code a bit. Not enough,
but it's a start.
2010-06-27 02:42:48 +02:00
Günther Brammer db6f4f502a Remove GDI font renderer, simplify font loader
Instead of having a list of fonts, simply look up the font file if
necessary, and cache the freetype library state for one font.
2010-06-27 02:30:47 +02:00
Günther Brammer 08b4858bd9 Fonts: Move the FontLoader into the global namespace
This speeds up recompilation when C4Fonts.h changes.
2010-06-27 02:21:23 +02:00
Sven Eberhardt 470e6043a2 WIN32 warning fix 2010-06-22 22:19:31 +02:00
Nicolas Hake 9d672997bf Work around jpeglib weirdness 2010-04-24 14:35:37 +02:00
Armin Burgmeier c6ca0bb2d8 Make sure to use same boolean size in Clonk and libjpeg 2010-04-23 20:50:15 +02:00
Armin Burgmeier a17bc1536e Add CMake check for HAVE_BOOLEAN 2010-04-18 23:12:49 +02:00
Armin Burgmeier 70ac17c040 Mingw64 build fixes 2010-04-18 22:02:01 +02:00
Armin Burgmeier c2924041c9 Fix seperate->separate everywhere 2010-04-01 23:08:06 +02:00
Benjamin Herr 4378de147c Rerun astyle with missing \ added 2010-03-28 20:58:01 +02:00
Benjamin Herr 27287b981f Reformat everything according to style guidelines
as per http://forum.openclonk.org/topic_show.pl?tid=208
and http://wiki.openclonk.org/w/Style_Guidelines
via astyle
  --brackets=break
  --indent=tab=2
  --keep-one-line-statements
  --keep-one-line-blocks
  --indent-namespaces
  --convert-tabs
  --recursive
  --exclude=zlib
  --exclude=tinyxml
  src/\*.h src/*.cpp
2010-03-28 19:58:21 +02:00