Go to file
aap 555b70a0b6 Merge branch 'master' of github.com:GTAmodding/re3 2019-05-22 20:58:38 +02:00
rwsdk/include/d3d8 more work on CPhysical 2019-05-18 12:39:39 +02:00
src added CFont 2019-05-22 20:28:53 +02:00
.appveyor.yml Store artifacts 2019-05-19 23:34:09 +02:00
README.md first commit 2019-05-15 16:52:37 +02:00
premake5.cmd first commit 2019-05-15 16:52:37 +02:00
premake5.exe first commit 2019-05-15 16:52:37 +02:00
premake5.lua AppVeyor 2019-05-19 23:28:35 +02:00

README.md

Intro

The aim of this project is to reverse GTA III for PC by replacing parts of the game one by one such that we have a working game at all times.

Strategy

A good approach is to start at the fringes of the code base, i.e. classes that don't depend on code that we don't have reversed yet. If a function uses only few unreversed functions that would be inconvenient to reverse at the time, calling the original functions is acceptable.

Progress

This is a list of some things that have been reversed to some non-trivial extent. Not everything is listed, check the code.

CPool
CTxdStore
CVector
CVector2D
CMatrix
CModelInfo
CBaseModelInfo
CSimpleModelInfo
CTimeModelInfo
CClumpModelInfo
CPedModelInfo
CVehicleModelInfo
CVisibilityPlugins
CRenderer
CEntity
CPhysical
CCollision
CCullZones
CTheZones
CPathFind

Low hanging fruit

There are a couple of things that have been reversed for other projects already that could probably be put into this project without too much effort. Again, the list is not complete:

Coding style

I started writing in Plan 9 style, but realize that this is not the most popular style, so I'm willing to compromise. Try not to deviate too much so the code will look similar across the whole project.

To give examples, these two styles (or anything in between) are fine:

type
functionname(args)
{
	if(a == b){
		s1;
		s2;
	}
	if(x != y)
		s3;
}

type functionname(args)
{
	if (a == b) {
		s1;
		s2;
	}
	if (x != y)
		s3;
}

This one (or anything more extreme) is heavily discouraged:

type functionname ( args )
{
  if ( a == b )
  {
    s1;
    s2;
  }
  if ( x != y )
  {
    s3;
  }
}

Indentation is done with TABS.