Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-09-06 | PLUGINS: Use the C++ ABI to call dtors when unloading a plugin. | Andre Heider | |
Avoid linking all plugins against libstdc++ to free up some memory (about ~40kb on Wii per plugin). Enable it on GameCube, Wii, DS and PSP (PS2 doesn't have __cxa_atexit support in its libc). svn-id: r52607 | |||
2010-09-06 | PLUGINS: used variation of ScopedPtr to clean up load() function | Yotam Barnoy | |
svn-id: r52592 | |||
2010-09-06 | PLUGINS: fixed MIPS plugin loader | Yotam Barnoy | |
Adjusted to new VMA handling and fixed a few errors which caused crashes. Also removed unneeded expansion of alignment value. svn-id: r52589 | |||
2010-09-06 | PLUGINS: added missing call in destructor which caused crashing | Yotam Barnoy | |
svn-id: r52588 | |||
2010-09-05 | MERGE: Merge trunk to branch again to test r52579. | Andre Heider | |
svn-id: r52580 | |||
2010-09-05 | KYRA: Get rid of local static non-POD object. | Johannes Schickel | |
This fixes crashes with the plugins branch for dhewg. svn-id: r52579 | |||
2010-09-05 | KYRA: Constify some tables. | Johannes Schickel | |
svn-id: r52578 | |||
2010-09-05 | PLUGINS: Added _segmentVMA to the MIPS loader. | Andre Heider | |
Also added 2 TODOs for all loaders not respection that offset. svn-id: r52577 | |||
2010-09-05 | PLUGINS: Remove spurious extra allocation. | Andre Heider | |
Elf32_Phdr.p_align is to align the memory location of the loaded segment, not to extend its size. The size of the scratch area (like .bss and .sbss) is p_memsz-p_filesz, which has to be set to zero by the loader. svn-id: r52576 | |||
2010-09-05 | PLUGINS: Plug some memleaks. | Andre Heider | |
svn-id: r52575 | |||
2010-09-05 | PLUGINS: Move doxygen to the base class header. | Andre Heider | |
No point in documenting it on every derived class. svn-id: r52574 | |||
2010-09-05 | PLUGINS: Add missing variable initialization. | Andre Heider | |
svn-id: r52573 | |||
2010-09-05 | PLUGINS: Formatting. | Andre Heider | |
Misformatted casts in an earier commit, oops. svn-id: r52572 | |||
2010-09-05 | HUGO: Add support for multiple scenery files | Arnaud Boutonné | |
This is used by H3Dos only. svn-id: r52571 | |||
2010-09-05 | SCI: adding patch for script bug in pharkas/cd | Martin Kiewitz | |
patches out bad code that would dispose score sound immediately, "score" sound plays now for pharkas/cd - finally fixes bug #3037161 svn-id: r52570 | |||
2010-09-05 | SCI: ignore kDoSound volume changes on samples | Martin Kiewitz | |
svn-id: r52569 | |||
2010-09-05 | SCI: sierra sci ignores vol for kDoSound samples | Martin Kiewitz | |
now "score" is halfway playing, but it's cut so only "s" is played. Needs to get further investigated svn-id: r52568 | |||
2010-09-05 | SAVES: Revert whitespace changes to minimize the diff to trunk. | Andre Heider | |
svn-id: r52567 | |||
2010-09-05 | PLUGINS: Set svn:keywords property on all new files. | Andre Heider | |
svn-id: r52566 | |||
2010-09-05 | SCI: kClone cleanup | Martin Kiewitz | |
and fixing possible crash & typo svn-id: r52565 | |||
2010-09-05 | MERGE: Merge trunk to branch. | Andre Heider | |
svn-id: r52564 | |||
2010-09-05 | SCI: adjusting comment on kClone change | Martin Kiewitz | |
svn-id: r52563 | |||
2010-09-05 | SCI: merging -info- stuff in Clone/DisposeClone | Martin Kiewitz | |
svn-id: r52562 | |||
2010-09-05 | SCI: Fix bugs #3035650 and #3039566, crash in PEPPER demo and LAURABOW2. | Johannes Schickel | |
The actual names for the bug reports are: #3035650 "PEPPER non-interactive demo: Crash" #3039566 "LAURABOW2: Crash during introduction" Those crashes were caused by an invalid memory dereference in kClone. This in turn was happening, because the parent object pointer might have been invalidated in cases where the parent object is also a clone. svn-id: r52561 | |||
2010-09-05 | SCI: reuse kGetAngle from kDoAvoider | Martin Kiewitz | |
svn-id: r52560 | |||
2010-09-05 | SCI: dont do global scaling on non-scaleable views | Martin Kiewitz | |
lb2floppy: scripts get confused in the rat scene, when scaleX/Y are set with applied global scaling. This results in kInitBresen to get called almost endlessly, which results in ego slowing down to a crawl and not being able to reach the upper right exit - fixes bug #3050606 svn-id: r52559 | |||
2010-09-05 | PLUGINS: Make the file stream a member of DLObject. | Andre Heider | |
No point in passing it to functions all over the place. Release the stream when it's not required anymore. svn-id: r52558 | |||
2010-09-05 | PLUGINS: Type cleanup. | Andre Heider | |
Use our types, get rid of some casts. svn-id: r52557 | |||
2010-09-05 | PLUGINS: Move platform specific code out of the generic ELF loader. | Andre Heider | |
Instead overwrite pure virtual functions in a backend specific class. svn-id: r52556 | |||
2010-09-05 | PLUGINS: Move all ELF loader related files to its own directory. | Andre Heider | |
svn-id: r52555 | |||
2010-09-05 | WII: Add plugins to the distribution. | Andre Heider | |
svn-id: r52554 | |||
2010-09-05 | PLUGINS: Plugin support for the GameCube/Wii backend. | Andre Heider | |
svn-id: r52553 | |||
2010-09-05 | PLUGINS: Formatting. | Andre Heider | |
svn-id: r52552 | |||
2010-09-05 | PLUGINS: Respect the VMA when relocating. | Andre Heider | |
Plugins do not have to be linked at 0x0. Some platforms have limited relocation jump offsets, which makes 0x0 unusable. svn-id: r52551 | |||
2010-09-05 | PLUGINS: Properly check the ELF header. | Andre Heider | |
The ELFMAG is only 4 bytes, not 6. Properly check for endianess. svn-id: r52550 | |||
2010-09-05 | PLUGINS: The VMA doesn't get added to any PHDR. | Andre Heider | |
svn-id: r52549 | |||
2010-09-05 | PLUGINS: Fix warnings. | Andre Heider | |
svn-id: r52548 | |||
2010-09-05 | PLUGINS: Cleanup includes and debug output. | Andre Heider | |
Use the common debug functions instead of spamming #defines. svn-id: r52547 | |||
2010-09-05 | PLUGINS: Flush only memory ranges, not everything | Andre Heider | |
svn-id: r52546 | |||
2010-09-05 | DS: Enable debug level 2 when DISABLE_TEXT_CONSOLE is not set. | Andre Heider | |
svn-id: r52545 | |||
2010-09-05 | SCI: initialize members of the Object class when it's constructed | Filippos Karapetis | |
svn-id: r52544 | |||
2010-09-05 | SCI: Changed consecutive ifs to a switch | Filippos Karapetis | |
A table would be better, but the switch will do for now svn-id: r52543 | |||
2010-09-05 | SCI: Fix for alignment exception issue, reported by Bluddy | Filippos Karapetis | |
svn-id: r52542 | |||
2010-09-05 | SCI: Some cleanup of the static selector code | Filippos Karapetis | |
- Added more static selectors, for debugging - Added some needed selectors for the non-interactive demo of Pepper svn-id: r52541 | |||
2010-09-05 | SCI: Added a workaround for the non-interactive demo of Pepper | Filippos Karapetis | |
svn-id: r52540 | |||
2010-09-05 | SCI: Fixed script bug #3059544 - "KQ6CD: Error when looking at rotten tomato" | Filippos Karapetis | |
svn-id: r52539 | |||
2010-09-05 | MOHAWK: Cleanup | Matthew Hoops | |
- Split the main Riven event loop into a separate function for readability and for use in the sunner external functions eventually - Some minor function signature changes (const!) - Rename matchVarToString() to getVar() (I have no idea where that original name came from, considering it takes a string and returns a variable - Use solely Common::String in getVar() svn-id: r52538 | |||
2010-09-05 | WII: Merge r52536 from trunk. | Andre Heider | |
svn-id: r52537 | |||
2010-09-05 | WII: New disttarget 'wiiloaddist' | Andre Heider | |
Uploads a .zip file to HBC to unpack to the used storage media. svn-id: r52536 | |||
2010-09-04 | COMMON: Fix Rational::operator!=(int) | Matthew Hoops | |
svn-id: r52535 |