Synapse Lightining pack code changes
by Ryan Nguyen · in Torque Game Engine · 05/04/2004 (9:31 am) · 5 replies
Hi All
I've recently purchase Synapse lighting pack and in the documentation for installation it requires me to change some codes around for Torque release 1_2_2 (fxLight.cc, tsStatic.cc...etc) in order to make it work. My question is that if I make this change and when Torque team release the next version of Torque, for example 1_2_3 or whatever, my change will probably be lost due to synchronization by WinCVS with the repository, this means that I will have to repeat my change again...seem like a hassle to me....anybody got a good idea how to handle this? Thanks all
I've recently purchase Synapse lighting pack and in the documentation for installation it requires me to change some codes around for Torque release 1_2_2 (fxLight.cc, tsStatic.cc...etc) in order to make it work. My question is that if I make this change and when Torque team release the next version of Torque, for example 1_2_3 or whatever, my change will probably be lost due to synchronization by WinCVS with the repository, this means that I will have to repeat my change again...seem like a hassle to me....anybody got a good idea how to handle this? Thanks all
About the author
#2
I suggest using WinMerge, it will allow you to merge your 1.2.2 changes into a later Torque version with minimal effort.
If you've kept an original 'fresh' copy of 1.2.2 you can test WinMerge out by comparing the original 1.2.2 code with the Lighting Pack integrated code. This will help you become familiar with the interface.
-John
05/04/2004 (9:54 am)
Hi Ryan,I suggest using WinMerge, it will allow you to merge your 1.2.2 changes into a later Torque version with minimal effort.
If you've kept an original 'fresh' copy of 1.2.2 you can test WinMerge out by comparing the original 1.2.2 code with the Lighting Pack integrated code. This will help you become familiar with the interface.
-John
#3
05/04/2004 (1:18 pm)
Ok..thanks all...I think that there is no other "clean" method except manually making change..
#4
Take a moment to run WinMerge against 1.2.2 and your Lighting Pack integrated 1.2.2, and become familiar with the Lighting Pack changes. The code changes are very clear and there are very few of them.
-John
05/04/2004 (1:41 pm)
Although it's technically manual, merging with WinMerge is very fast and efficient. Also the Lighting Pack code that's integrated into your Torque tree is very easy to identify, which makes merging very simple.Take a moment to run WinMerge against 1.2.2 and your Lighting Pack integrated 1.2.2, and become familiar with the Lighting Pack changes. The code changes are very clear and there are very few of them.
-John
#5
05/04/2004 (3:36 pm)
Yeah...I will do that..it's not a problem..I just want to see if there are any other method floating out there that I am not aware of yet..Thanks
Torque Owner Stefan Lundmark
But if you want to REALLY make sure you know what you're doing, I would manually or with abit aid do what you describe at each new release. It's safest.