View Single Post
  #33  
Old March 6th, 2009, 11:16 PM

chrispedersen chrispedersen is offline
BANNED USER
 
Join Date: May 2004
Posts: 4,075
Thanks: 203
Thanked 121 Times in 91 Posts
chrispedersen is on a distinguished road
Default Re: ChrisCBM1.482

Llama, Qm.

I have started modularizing this. But I run into a problem, I don't know the answers to.

I have a bunch of changes grouped into what I call CBMChanges.dm
However, is there anyway to make sure it gets applied.

In other words, suppose

CBM.dm
#select... Scorpion King
#descr "This hsa a tpyo"
#gcost 10
#end

CBMfix.dm
#descr "This has a typo"
#gcost 15
#end


Does this work...? Isn't it fairly subject to load order? And how would dominions determine?

Idea: Lch has written a module that reports on module numbers. Is there any way someone could make a .dm patcher or compiler?

What the compiler would do is assemble one .dm file from several components. So for example, if you wanted to use CBM with my ABM[Age] - the compiler would have you load the first module, and then apply the patches to make a CBM+Age.dm.

Last edited by chrispedersen; March 6th, 2009 at 11:37 PM..
Reply With Quote