Changes

Jump to navigation Jump to search
Line 66: Line 66:  
From Beta 1.7+ you can use define symbols for non-dll-based mods that are compiled by the game, e.g.
 
From Beta 1.7+ you can use define symbols for non-dll-based mods that are compiled by the game, e.g.
 
<pre class='language-cs'>#if !SWINCBETA && !SWINCRELEASE
 
<pre class='language-cs'>#if !SWINCBETA && !SWINCRELEASE
     (this is beta pre 1.7)
+
     //(this is beta pre 1.7)
 
#elif SWINCBETA1_7 || SWINCBETA1_8
 
#elif SWINCBETA1_7 || SWINCBETA1_8
     (Something broke in beta 1.9, so this is sectioned off)
+
     //(Something broke in beta 1.9, so this is sectioned off)
 
#elif SWINCBETA1_9 || SWINCBETA1_10
 
#elif SWINCBETA1_9 || SWINCBETA1_10
     (Something broke in beta 1.11, so this is sectioned off)
+
     //(Something broke in beta 1.11, so this is sectioned off)
 
#else
 
#else
     (This is for all future versions beta 1.11+)
+
     //(This is for all future versions beta 1.11+)
 
#endif</pre>
 
#endif</pre>
  

Navigation menu