8e98cf2311
The CharacterObject should remove the CharacterController upon destruction. Should fix this memory leak: ==31441== 480 (360 direct, 120 indirect) bytes in 5 blocks are definitely lost in loss record 2,038 of 2,723 ==31441== at 0x4C2F1CA: operator new(unsigned long) (vg_replace_malloc.c:334) ==31441== by 0x7E2370: GameWorld::createPedestrian(unsigned short, glm::tvec3<float, (glm::precision)0> const&, glm::tquat<float, (glm::precision)0> const&, unsigned int) (GameWorld.cpp:334) ==31441== by 0x8E2F01: TrafficDirector::populateNearby(ViewCamera const&, float, int) (TrafficDirector.cpp:164) ==31441== by 0x7E1170: GameWorld::createTraffic(ViewCamera const&) (GameWorld.cpp:176) ==31441== by 0x75C616: RWGame::tick(float) (RWGame.cpp:531) ==31441== by 0x75BF18: RWGame::run() (RWGame.cpp:420) ==31441== by 0x749184: main (main.cpp:15) |
||
---|---|---|
benchmarks | ||
cmake | ||
rwengine | ||
rwgame | ||
rwlib | ||
rwviewer | ||
scripts | ||
tests | ||
.clang-format | ||
.gitignore | ||
.gitmodules | ||
.travis.yml | ||
CMakeLists.txt | ||
CONTRIBUTING.md | ||
COPYING | ||
Doxyfile | ||
README.md |
OpenRW
OpenRW is a cross-platform, open source re-implementation of Rockstar Games' Grand Theft Auto III, a classic 3D action game first published in 2001. OpenRW has been ported to Linux, macOS, Windows, and several variants of BSD.
A legitimate copy of the original PC game is required to run OpenRW. Without this it will not be possible to play.
Links
- FAQ
- Getting Started
- Completable Missions
- Contributing
- IRC: #openrw @ chat.freenode.net
Screenshots
License
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Third Party Licenses
FFmpeg is licensed under the GNU Lesser General Public License (LGPL) version 2.1 or later
Bullet Physics is licensed under the zlib license
SDL 2.0 is licensed under the zlib license