Commit Graph

28 Commits

Author SHA1 Message Date
Einar Johan Trøan Sømåen
6ccfac7e33 WINTERMUTE: Avoid dereferncing null-pointer in TransparentSurface 2013-04-17 17:08:58 +02:00
Einar Johan Trøan Sømåen
980dc4a456 WINTERMUTE: Replace all NULLs with nullptr. 2013-01-26 18:07:07 +01:00
Einar Johan Trøan Sømåen
426dda70e1 WINTERMUTE: Don't scale 2Bpp images with code aimed at 4Bpp 2013-01-24 17:14:51 +01:00
Einar Johan Trøan Sømåen
2c2fe9e941 WINTERMUTE: Correct a delete/delete[]-mismatch pointed out by valgrind 2013-01-22 23:38:00 +01:00
Johannes Schickel
89abab97e3 JANITORIAL: Remove trailing whitespaces.
Powered by:
git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:17:55 +02:00
Einar Johan Trøan Sømåen
2039ea6b8d WINTERMUTE: Fix g++ warnings listed by LordHoto 2012-08-31 14:01:18 +02:00
Einar Johan Trøan Sømåen
16b27090b1 WINTERMUTE: Update to use new TGA-decoder and new Video-system 2012-08-31 13:49:38 +02:00
Einar Johan Trøan Sømåen
fed19cb66a WINTERMUTE: WinterMute -> Wintermute 2012-08-13 03:42:30 +02:00
Einar Johan Trøan Sømåen
ddfa227b93 WINTERMUTE: Cleanup in TransparentSurface. 2012-08-13 02:24:15 +02:00
Einar Johan Trøan Sømåen
30f35c4c3f WINTERMUTE: Use 64k-tables for alpha-blitting. 2012-08-13 01:13:16 +02:00
Einar Johan Trøan Sømåen
d95a2ddef8 WINTERMUTE: Use only one scaler for blitting, the faster one. 2012-08-07 16:49:20 +02:00
Einar Johan Trøan Sømåen
8883a9ffd5 WINTERMUTE: Optimize blitting (Do opaque blits for opaque images, and do fill with memcpy) 2012-08-07 16:05:36 +02:00
Einar Johan Trøan Sømåen
3abccb2e33 WINTERMUTE: Change PixelFormat to ARGB (same as Sword25)
Mainly a workaround for the OpenGL-backend.
2012-08-07 14:56:06 +02:00
Einar Johan Trøan Sømåen
6262a2ac87 WINTERMUTE: Use an arbitrary size nearest neighbour scaler for save thumbnails. Thanks to clone2727 2012-07-27 17:43:17 +02:00
Einar Johan Trøan Sømåen
2c530bc6ed WINTERMUTE: var_name -> varName 2012-07-26 20:49:59 +02:00
Einar Johan Trøan Sømåen
5683f07633 WINTERMUTE: Rename CamelCased filenames to prefixed_under_score-filenames
This is mostly a lead-up to namespacing the Ad/Base folders, and then
possibly removing the prefixes from the files, it also has the added
benefit of getting rid of the odd case-typos that makes for issues
on platforms that don't ignore case.
2012-07-21 19:15:33 +02:00
Einar Johan Trøan Sømåen
0622b2c5b8 WINTERMUTE: Readd the endian-independence for blitting. 2012-07-20 20:39:21 +02:00
Einar Johan Trøan Sømåen
958cb16f9e WINTERMUTE: Silence a few signed/unsigned warnings. 2012-07-20 02:44:15 +02:00
Einar Johan Trøan Sømåen
9bc7fa7376 WINTERMUTE: Fix a regression with sprite-mirroring. 2012-07-16 23:30:40 +02:00
Einar Johan Trøan Sømåen
e12bfeef75 WINTERMUTE: Readd const to transparentSurface-shifts, and remove branches for mask-less blit. 2012-07-16 13:57:43 +02:00
Einar Johan Trøan Sømåen
d4c57e6d98 WINTERMUTE: Rename FuncName/VarName -> funcName/varName in BFont and BFontBitmap. Also adjust a few "byte *" to "byte *" 2012-07-06 19:14:17 +02:00
Einar Johan Trøan Sømåen
4e33b8ea75 WINTERMUTE: Run astyle on the source-files. 2012-06-22 14:10:08 +02:00
Einar Johan Trøan Sømåen
e3a7921dff WINTERMUTE: Make sure the TGA-decoder returns false on error 2012-06-19 03:11:57 +02:00
Einar Johan Trøan Sømåen
e7a802700c WINTERMUTE: Add color-keying for BSurfaceSDL BMPs 2012-06-02 13:48:26 +02:00
Einar Johan Trøan Sømåen
b94c379263 WINTERMUTE: Let blitting of non 32bpp surfaces fail with a warning instead of an error for now. 2012-06-02 13:07:42 +02:00
Einar Johan Trøan Sømåen
0cee403067 WINTERMUTE: Fix a few warnings. 2012-06-02 13:07:18 +02:00
Einar Johan Trøan Sømåen
03284a3f88 WINTERMUTE: Add TGA-support to BSurfaceSDL 2012-06-02 13:07:08 +02:00
Einar Johan Trøan Sømåen
ae48c3f7e1 WINTERMUTE: Add transparentSurface internally for now, to allow alpha-blended blits. 2012-06-02 13:05:42 +02:00