Archived

This topic is now archived and is closed to further replies.

2.6, 3.0 API difference

This topic is 6390 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi. I''d like to ask a question. If I write a significant part of my code using the features of PR 2.6, and then buy PR 3, will I have to rewrite a lot of code to port the game to the new version?

Share this post


Link to post
Share on other sites
The API is mostly the same, except PR 3 has multitexturing capabilities.

I would not write ''a significant part'' of your code using older libraries because PR 3 may save you a lot of time. Some of the things like the PRO Edit utility, portal engine, BSP viewer, etc are available in PR 3.

There are now two versions of the landscape engine, so make sure you pick the right one for your project if you plan on doing terrain. One uses tiles and the other uses a large texture for the entire world.

If you''re just loading in .PRO files and manipulating them, you won''t have to change much of anything. When you get PR3 you will be able to load those files in and add more effects like multitexturing and bump mapping.

Chris

Share this post


Link to post
Share on other sites