Where to Start

Asked by Dargus Kelen

I'm new to the programming community, and would like to help with this project, however I'm not sure which files I need to start looking at first. Is there a Main program file that branches off to other files I can look at?

Question information

Language:
English Edit question
Status:
Answered
For:
Riven X Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jean-Francois Roy (jeanfrancois.roy) said :
#1

Sorry for the late reply.

The Riven X project is for Mac OS X only, so if you're a Linux or Windows developer, this may not be for you. If you are very enterprising, you could consider a Linux port.

If you are a Mac OS X developer, then by all means, get a copy of the main branch and have a look. Riven X uses a standard Cocoa scaffold (MainMenu.xib), which contains an application delegate.

RXApplicationDelegate is the class of the application delegate. One of the main things it does when it receives applicationDidFinishLaunching is initialize RXWorld.

RXWorld is a singleton class that basically represents the game. It is responsible for loading all the base resources and data archives, starting the core threads of Riven X and initializing audio and graphic rendering.

RXWorldView, RXStateCompositor and RXRenderState and its subclasses form the backbone of the graphic rendering and event handling cluster. RXCardState is the render state responsible for rendering cards and as such is the most important piece of rendering code.

RXCard represents a Riven card and contains all the necessary card loading code, as well as the implementation of the Riven script interpreter.

I you have any further questions, feel free to ask.

Can you help with this problem?

Provide an answer of your own, or ask Dargus Kelen for more information if necessary.

To post a message you must log in.