Author Topic: Questions to better understand the structur of the source  (Read 932 times)

kaiserbert

  • Guest
Questions to better understand the structur of the source
« on: February 06, 2007, 12:34:36 am »
Hi All,

I wanna understand the structur of this source code,
therefor some Questions,

I will insert all answers into this body.

1.)Where is the main.cpp?
For the client it is in src/client/psengine.cpp
For the server it is in src/server/main.cpp


2.)Where is the main.cpp for the updater Program?


 
bye Bert
« Last Edit: February 14, 2007, 12:31:31 pm by kaiserbert »

acraig

  • Administrator
  • Veteran
  • *
  • Posts: 1562
    • View Profile
Re: Questions to better understand the structur of the source
« Reply #1 on: February 06, 2007, 01:17:32 am »
It depends on which application you are looking at. 

For the client it is in src/client/psengine.cpp
For the server it is in src/server/main.cpp
----------
Andrew
"For all I know, she's lying, everyone's lying; welcome to the Internet"

kaiserbert

  • Guest
Re: Questions to better understand the structur of the source
« Reply #2 on: February 15, 2007, 10:48:03 am »
Where is the main.cpp for the updater Program?

Bereror

  • Hydlaa Notable
  • *
  • Posts: 773
    • View Profile
    • Planeshift API
Re: Questions to better understand the structur of the source
« Reply #3 on: February 15, 2007, 11:00:47 am »
Where is the main.cpp for the updater Program?

There really aren't too many .cpp files in the updater directory. There was no main.cpp, so I checked updater.cpp and finally found it in psupdaterengine.cpp. It took me more time to write this message than to locate the main() function for the updater.
PlaneShift Sources
PlaneShift API
"Words never spoken
Are the strongest resounding"