Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-03-21 | SWORD25: Reduce code duplication; formatting | Max Horn | |
2011-03-19 | SWORD25: Fix MSVC Compilation. | D G Turner | |
2011-03-19 | SWORD25: Init volume levels on startup | dhewg | |
2011-03-19 | ALL: s/PI/M_PI/ | dhewg | |
Tip of the day: git grep -w PI | |||
2011-03-18 | SWORD25: C++ify some code, remove obsolete stuff | Max Horn | |
2011-02-09 | AUDIO: Rename sound/ dir to audio/ | Max Horn | |
svn-id: r55850 | |||
2011-02-09 | VIDEO: In overloaded methods, invoke correct parent implementation | Max Horn | |
This should not cause any code behavior changes at this time, but if any of the intermediate VideoDecoder classes ever starts to overload stuff, this would become important. svn-id: r55841 | |||
2011-02-07 | VIDEO: Rename VideoDecoder::load() to loadStream() | Max Horn | |
svn-id: r55810 | |||
2011-02-02 | SWORD25: Cache related changes | Filippos Karapetis | |
- Increase the resource cache limits - Added a check before forcing resources to be freed - Only force free image and animation resources, with a warning. It seems like there is a bug in the resource reference code and several bitmap resources are not freed - added a FIXME - Clarify that initializeAnimationResource() is used with XML resources svn-id: r55736 | |||
2011-02-02 | GRAPHICS: Implemented a PNG decoder, and set it as default for the sword25 ↵ | Filippos Karapetis | |
engine libpng is still needed for PNG encoding (for thumbnails in saved games of sword25), but since we'll probably drop support for the original saved games anyway, the PNG encoding code will ultimately be removed svn-id: r55723 | |||
2011-02-02 | SWORD25: Added a cache minimum and maximum limit, so that the resources ↵ | Filippos Karapetis | |
loaded will always be inside these limits. Resources can now be forcefully unlocked when the upper limit is reached svn-id: r55722 | |||
2011-01-30 | SWORD25: Disabled the video save/load code, and made it error out instead. | Filippos Karapetis | |
Videos are never saved or loaded, thus when this happens, it probably indicates a game bug or a corrupted saved game svn-id: r55667 | |||
2011-01-30 | SWORD25: Some optimizations to the Theora decoder | Filippos Karapetis | |
- Optimized and cleaned up translateYUVtoRGBA() - Disabled a lot of seeking-related functionality - Replaced some calloc() calls, used for audio buffer creation with malloc() svn-id: r55666 | |||
2011-01-30 | SWORD25: Added alternative code for video frame blitting (currently disabled) | Filippos Karapetis | |
svn-id: r55664 | |||
2011-01-30 | SWORD25: Some translations, and a bugfix. Disabled a hack. | Filippos Karapetis | |
Translated some comments, and pushed the indirect rendering define to the header file, so that the engine won't try and update the screen with direct movie rendering. Also, the thumbnail hack has been disabled, as it doesn't really work (at least not for me: all the thumbnails are gray) svn-id: r55663 | |||
2011-01-29 | SWORD25: Translated some comments, and removed some superfluous ones | Filippos Karapetis | |
svn-id: r55613 | |||
2011-01-28 | SWORD25: Removed a lot of debug/unimplemented/unused functions | Filippos Karapetis | |
svn-id: r55600 | |||
2011-01-28 | SWORD25: Marked several unused LUA callbacks as dummy functions. Some cleanup. | Filippos Karapetis | |
svn-id: r55597 | |||
2011-01-28 | SWORD25: Removed some now unused variables | Filippos Karapetis | |
svn-id: r55596 | |||
2011-01-28 | SWORD25: Removed some more unused/unimplemented debug code | Filippos Karapetis | |
svn-id: r55595 | |||
2011-01-28 | SWORD25: Resources are now cleaned up correctly | Filippos Karapetis | |
The original checked the total amount of memory occupied by all resources. This has been changed to a maximum number of simultaneous resources instead, so the game resources are no longer leaked. Also disabled the unused or debug functions getUsedMemory(), setMaxMemoryUsage(), setMaxMemoryUsage(), isLogCacheMiss(), setLogCacheMiss(). Performed some cleanup on code related to the above. svn-id: r55594 | |||
2011-01-28 | SWORD25: Disabled the mechanism which precaches all of the game's resources ↵ | Filippos Karapetis | |
on startup. This reduced the initial memory used by 100MB for me, though the game keeps allocating new resources in each scene without deleting them, because of the missing functionality in getUsedMemory(). This change also slightly reduces the loading time on game startup. svn-id: r55593 | |||
2011-01-24 | SWORD25: Fix some invalid writes / crashes | Sven Hesse | |
On my system, sizeof(png_uint_32) == 8, while sizeof(int) == 4. svn-id: r55504 | |||
2011-01-24 | SWORD25: Cleanup | Filippos Karapetis | |
svn-id: r55501 | |||
2011-01-24 | SWORD25: Fix linker breakage from DECLARE_SINGLETON() in renderObjectRegistry.h. | David Turner | |
svn-id: r55490 | |||
2011-01-24 | SWORD25: Documented a FIXME | Filippos Karapetis | |
svn-id: r55489 | |||
2011-01-24 | SWORD25: Removed the logErrorLn and logWarningLn wrappers | Filippos Karapetis | |
svn-id: r55488 | |||
2011-01-23 | SWORD25: Fix GCC Compilation Warnings. | David Turner | |
svn-id: r55482 | |||
2011-01-23 | VIDEO: Move video classes to Video:: namespace | Eugene Sandulenko | |
svn-id: r55479 | |||
2011-01-23 | SWORD25: Removed several unused methods of the Vertex class, and made a ↵ | Filippos Karapetis | |
subclass of the Common::Point class svn-id: r55478 | |||
2011-01-23 | SWORD25: Removed several unused methods from the Polygon class | Filippos Karapetis | |
svn-id: r55477 | |||
2011-01-23 | SWORD25: Remove unused yuvtorgba.h file | Torbjörn Andersson | |
svn-id: r55475 | |||
2011-01-23 | GRAPHICS: Move graphics/video/ to video/. Step 1/2 | Eugene Sandulenko | |
svn-id: r55473 | |||
2011-01-23 | SWORD25: Fixed compilation (oops...) | Filippos Karapetis | |
svn-id: r55472 | |||
2011-01-23 | SWORD25: Simplified the YUV->RGBA conversion code | Filippos Karapetis | |
svn-id: r55469 | |||
2011-01-23 | SWORD25: Fix format string warnings. | Torbjörn Andersson | |
svn-id: r55465 | |||
2011-01-23 | SWORD25: Replaced BS_ASSERT() with assert() | Filippos Karapetis | |
svn-id: r55464 | |||
2011-01-23 | SWORD25: Fixed compilation | Filippos Karapetis | |
svn-id: r55463 | |||
2011-01-23 | SWORD25: Removed the custom log class and replaced it with ↵ | Filippos Karapetis | |
warning/error/debugC calls svn-id: r55462 | |||
2011-01-19 | SWORD25: getSoundTime() is not used. Remove it. | Eugene Sandulenko | |
svn-id: r55320 | |||
2011-01-19 | SWORD25: Strip off unportable functions | Eugene Sandulenko | |
svn-id: r55319 | |||
2011-01-16 | SWORD25: Fix main menu button text colour | Torbjörn Andersson | |
In the other cases I've found in the code, the colour components are stored in the order B, G, R and A. Assume that's the case here too. I hope that is correct. It doesn't seem to break anything obvious. svn-id: r55255 | |||
2010-12-31 | JANITORIAL: Remove unnecessary semicolon. | Torbjörn Andersson | |
svn-id: r55077 | |||
2010-12-16 | VIDEO: Make VideoDecoder::decodeNextFrame() return a const Surface pointer | Matthew Hoops | |
svn-id: r54927 | |||
2010-12-07 | DEBUG: Let GUI::Debugger::preEnter and postEnter (un)pause the engine | Max Horn | |
svn-id: r54815 | |||
2010-11-28 | SWORD25: Fix warning about uninitialized DijkstraNode::parentIter | Max Horn | |
svn-id: r54551 | |||
2010-11-28 | SWORD25: Fix warning: deref type-punned pointer breaks strict-aliasing rules | Max Horn | |
svn-id: r54550 | |||
2010-11-19 | COMMON: Split common/stream.h into several headers | Max Horn | |
svn-id: r54385 | |||
2010-11-17 | ENGINES: Change 'colour' to 'color' | Max Horn | |
Only changed this in engines where 'color' was/is already used almost exclusively svn-id: r54288 | |||
2010-11-16 | COMMON: Simplify DECLARE_SINGLETON macro | Max Horn | |
This makes it possible to write DECLARE_SINGLETON(foo); instead of DECLARE_SINGLETON(foo) without causing a warning about an extra semicolon. The extra semicolon helps some editors at parsing the C++ code. svn-id: r54258 |