1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-23 02:42:39 +01:00
Mirror of (now archived): https://github.com/rwengine/openrw
Go to file
Daniel Evans 3c665e7d2b Add many opcodes, implement some of them.
+ Fix thread-relative jumps
+ GameObject::setHeading(degrees) sets object rotation from a heading.
+ Add More GameState from opcodes.
+ Decouple game hours from the engine clock
+ Add VehicleObject::setRotation()
+ Add GameWorld::getGroundAtPosition(pos) for OpCodes
+ Fix Handling of fixed-point SCM parameters
+ Update IngameState to use GameState::player if it exists
+ Add skip-time button to skip opening cutscene (F12)
2014-07-27 00:44:21 +01:00
analyzer Fix compiler errors and test problems 2014-05-25 22:30:50 +01:00
datadump Fix compiler errors and test problems 2014-05-25 22:30:50 +01:00
rwengine Add many opcodes, implement some of them. 2014-07-27 00:44:21 +01:00
rwgame Add many opcodes, implement some of them. 2014-07-27 00:44:21 +01:00
rwviewer Improve material rendering, fix texture loading 2014-06-19 16:31:01 +01:00
scripttool Add more opcodes, implement some 2014-07-25 03:38:47 +01:00
tests Initial Script Machine implementation + some ops 2014-07-23 23:57:21 +01:00
.gitignore Initial documentation pass 2014-07-09 05:04:48 +01:00
CMakeLists.txt Add test tool for grokking SCM 2014-07-19 08:57:36 +01:00
COPYING Add Readme and Copying files 2014-02-13 09:51:42 +00:00
Doxyfile Initial documentation pass 2014-07-09 05:04:48 +01:00
README.markdown Initial documentation pass 2014-07-09 05:04:48 +01:00

OpenRW

A project to re-implement gta3.exe, adding support for more platforms and fixing all of the bugs that have piled up.

REQURIES A LEGITAMATE COPY OF GTA III PC TO RUN, this project only functions with the original game's data.

Building

Dependencies:

  • Bullet
  • GLM (0.9.5+)
  • SFML (2.0+)

Options:

  • BUILD_OLD_TOOLS Builds old, unmaintained tools (datadump & analyzer)

Running

rwgame

Implementation of the game itself.

  • Options:
    • env: OPENRW_GAME_PATH, must be set to the folder containing "gta3.exe"
    • -w n, -h n sets initial window size

rwviewer

File viewer for game data, open the folder containing "gta3.exe" and it will load the data.

Currently only supports viewing instance data, pending some rewriting.

Documentation

Run Doxygen on the included Doxyfile to generate documentation.

Things to do

  • Make it work on Windows (shouldn't be too difficult for anyone with CMake and C++ experience)
  • Write FindSFML and FindGLM scripts for cmake.
  • Improve the vehicle dynamics
  • Add more views to rwviewer
    • Handling data
    • Collision data
    • Animation scrubbing
  • Improve file loading
    • One-off loaders should be moved out of GameData into some DATLoader or something.
    • Some error mechanism that allows for useful error messages.

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/.