100 Commits

Author SHA1 Message Date
Johannes Schickel
fc5ef58fff WINTERMUTE: Make GPL headers consistent in themselves. 2014-02-18 02:39:40 +01:00
Einar Johan Trøan Sømåen
2ad7625831 WINTERMUTE: Change the copyFrom-simplifications to depend on pitch instead of width. (Fix bug #6157) 2014-02-05 17:18:46 +01:00
Johannes Schickel
1fa74e355c WINTERMUTE: Two minor formatting fixes. 2014-01-22 17:33:04 +01:00
Einar Johan Trøan Sømåen
2dfbad8074 WINTERMUTE: Avoid using Graphics::copyFrom to copy FMV-frames.
copyFrom frees and reallocates the surface for every update, as long
as the dimensions and format stay the same, we can do with just a
memcpy.

This gives a tiny improvement in the update-part of the Theora-player
(on the order of a bit more than 1 second saved total in the 1:28 long
J.U.L.I.A.-intro)
2014-01-21 02:25:18 +01:00
Einar Johan Trøan Sømåen
cc33cf74ae WINTERMUTE: Transfer Common::Strings explicitly when saving/loading. 2013-11-05 13:59:55 +01:00
Einar Johan Trøan Sømåen
d07409def7 WINTERMUTE: Transfer Sint32s explicitly when saving/loading. 2013-11-05 13:48:11 +01:00
Einar Johan Trøan Sømåen
7892188bcf WINTERMUTE: Transfer Uint32s explicitly when saving/loading. 2013-11-05 13:31:13 +01:00
Einar Johan Trøan Sømåen
d6b9d7de8f WINTERMUTE: Remove BasePlatform::setRect (replace with member-call) 2013-10-29 02:59:53 +01:00
Einar Johan Trøan Sømåen
6b4adab654 WINTERMUTE: Transfer booleans explicitly when saving/loading. 2013-10-28 19:19:12 +01:00
Einar Johan Trøan Sømåen
ad58641242 WINTERMUTE: Fix compile errors in XCode 5 caused by nullptr-issues. 2013-10-28 18:23:05 +01:00
Matthew Hoops
821a7430da WINTERMUTE: Remove useless __inline 2013-10-17 23:39:05 -04:00
Einar Johan Trøan Sømåen
9ea315747e WINTERMUTE: Be explicit when storing Floats in savegames. 2013-08-13 19:09:08 +02:00
Einar Johan Trøan Sømåen
a1d02cbe97 WINTERMUTE: Avoid setting alpha-image when filename is "" 2013-08-09 18:20:04 +02:00
Johannes Schickel
7f8308e0eb Merge pull request #365 from lordhoto/protected-pixels
Make Graphics::Surface::pixels protected.
2013-08-07 12:24:59 -07:00
Johannes Schickel
1ce54c217a WINTERMUTE: Fix end of namespace comments. 2013-08-04 00:51:09 +02:00
Johannes Schickel
0ee407c44b WINTERMUTE: Take advantage of Surface::getPixels. 2013-08-03 04:02:53 +02:00
Sven Hesse
989ea7cb56 JANITORIAL: Remove trailing whitespace 2013-07-14 19:01:47 +02:00
Einar Johan Trøan Sømåen
72d0affe01 WINTERMUTE: Rename transfer(void *) to transferPtr(void *) to avoid overload-misses. 2013-04-19 17:17:53 +02:00
Einar Johan Trøan Sømåen
b6242d0ea5 WINTERMUTE: Use int32 instead of int in classes. 2013-04-18 17:45:50 +02:00
Einar Johan Trøan Sømåen
8f25b651e8 WINTERMUTE: Split the timers from BaseGame into a separate class. 2013-04-18 12:10:40 +02:00
Einar Johan Trøan Sømåen
b71570b4c8 WINTERMUTE: Improve const-usage in VideoTheoraPlayer. 2013-04-17 21:21:17 +02:00
Einar Johan Trøan Sømåen
3597f7596d WINTERMUTE: Constify _width and _height in BaseRenderer. 2013-04-17 21:21:17 +02:00
Einar Johan Trøan Sømåen
5be672a8f4 WINTERMUTE: Add sanity check to VideoTheoraPlayer 2013-04-17 16:40:38 +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
4aa1c63eb1 WINTERMUTE: Add a hack to allow videos to loop 2012-10-23 02:34:27 +02:00
Einar Johan Trøan Sømåen
f33884b020 WINTERMUTE: Remove a few more unused includes. 2012-09-11 03:40:56 +02:00
Einar Johan Trøan Sømåen
2a6e551695 WINTERMUTE: Only include base_renderer.h where needed 2012-09-11 02:51:33 +02:00
Einar Johan Trøan Sømåen
e067520bb9 WINTERMUTE: Use tabs in enums 2012-08-31 21:03:29 +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
10ca0f136d WINTERMUTE: Clear out some commented-out code. 2012-08-15 02:35:11 +02:00
Einar Johan Trøan Sømåen
f37e8fbdb1 WINTERMUTE: Clean out some comments in the theora player 2012-08-14 18:19:10 +02:00
Einar Johan Trøan Sømåen
fb566386c7 WINTERMUTE: Write alpha properly on big-endian platforms. 2012-08-13 22:33:35 +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
6330c1e5fd WINTERMUTE: Fix a few memory-leaks 2012-07-30 20:39:04 +02:00
Einar Johan Trøan Sømåen
6b07218eb2 WINTERMUTE: Remove statics and silence spam in debug console. 2012-07-29 18:24:08 +02:00
Einar Johan Trøan Sømåen
9b5cf8f1ba WINTERMUTE: Introduce a Singleton-class for holding registry/filemanager. 2012-07-29 02:34:44 +02:00
Einar Johan Trøan Sømåen
8ed71a99f6 WINTERMUTE: Constructor(args): SuperClass(args) -> Constructor(args) : SuperClass(args) 2012-07-27 19:37:14 +02:00
Einar Johan Trøan Sømåen
99d4c55e88 WINTERMUTE: Remove all unneccessary #if 0 blocks 2012-07-27 19:07:00 +02:00
Einar Johan Trøan Sømåen
bb131aaa07 WINTERMUTE: Clean up some TODOs. 2012-07-27 00:05:15 +02:00
Einar Johan Trøan Sømåen
3a49f2bad4 WINTERMUTE: More variable/function renaming VarName->varName 2012-07-26 22:20:55 +02:00
Einar Johan Trøan Sømåen
4eda234611 WINTERMUTE: Replace BaseArray with a templated subclass of Common::Array.
This needs additional cleanup, but compiles and runs at this point.
2012-07-26 19:41:18 +02:00
Einar Johan Trøan Sømåen
e9a847fb35 WINTERMUTE: Remove #if 0 - commented out code. 2012-07-26 18:20:58 +02:00
Einar Johan Trøan Sømåen
ef11f9d0c5 WINTERMUTE: Run Astyle with add-braces to break one-line statements into easier-to-read-code. 2012-07-26 15:59:26 +02:00
Einar Johan Trøan Sømåen
1ad859a468 WINTERMUTE: "if(" -> "if (" 2012-07-25 21:21:55 +02:00
Einar Johan Trøan Sømåen
fa96c9ea18 WINTERMUTE: "delete []" -> "delete[]" 2012-07-25 21:05:03 +02:00
Einar Johan Trøan Sømåen
c7eda9abc8 WINTERMUTE: Encapsulate and distance BasePersistenceManager from Base. 2012-07-23 03:42:27 +02:00
Einar Johan Trøan Sømåen
aedb0aea50 WINTERMUTE: Remove dcgf.h from almost all includes. 2012-07-23 03:22:49 +02:00
Einar Johan Trøan Sømåen
dd6d093cf3 WINTERMUTE: Remove 2 more unecessary includes. 2012-07-23 02:36:57 +02:00
Einar Johan Trøan Sømåen
93864d4e39 WINTERMUTE: Remove Base as superclass for BaseImage 2012-07-23 01:08:57 +02:00