Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mirage Source 4
#35
DFA Wrote:Data path consistency

I'm really unsatisfied with the way we are doing our data paths in MSE...

For example, server-side LoadShops contains

FileName = App.Path & "\Data\shops\shop" & i & ".dat"


and CheckShops has

FileExist("\Data\shops\shop" & i & ".dat")

its a minor inconsistency that can be found all over the source..what do you guys think?
we need data paths
example..
GamePath = App.Path
MapPath = GamePath & "/maps/"



========================================

Dave, i added that in for MSE2.32

thanks again everyone
FileExist() function, imo, should already add the app.path.
All paths used on the game should be relative.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)