This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu/*/
// Original code -- COMMENTED OUT
int a = 42;
float b = 3.14;
String c = "blah";
// ...
/*/ // don't mess with this ;)
// New code -- NOT COMMENTED
int a = 314;
float b = 5.7;
String c = "whatever";
// ...
/**/
/**/
// Original code -- NOT COMMENTED
int a = 42;
float b = 3.14;
String c = "blah";
// ...
/*/ // don't mess with this ;)
// New code -- COMMENTED OUT
int a = 314;
float b = 5.7;
String c = "whatever";
// ...
/**/
Quote from: Oldschool_Wolf on Thu 13/02/2014 14:02:35
Can't you just block his IP address?
Quote from: Monsieur OUXX on Tue 11/02/2014 10:59:34I'm about to release a module that can make the engine explode when used...
Quote from: Eric on Tue 04/02/2014 22:15:32It seems a fairly difficult thing to bring on oneself
Quote from: Wyz on Mon 03/02/2014 12:44:53There are two magic words for the import clauses that will have an effect on the autocompleter:
Quote from: Monsieur OUXX on Mon 03/02/2014 16:27:15Quote from: monkey_05_06 on Mon 03/02/2014 04:48:22You could use similarly named extender methods to specialize the returned output
That's what I'm currently doing, but in order to be sure of what I'm scripting, I need to be sure of the standard behaviour of each control (Label, Display, ListBox...). I think the differences that I've pointed out between Label and ListBox are correct.
import void AddSlashes(this Label*);
import void AddSlashes(this ListBox*);
Quote from: Monsieur OUXX on Tue 04/02/2014 10:39:41- in the editor, a string like String s = "aaa\bbb"; should raise an error at compiling time ("unfinished string")
Quote from: Monsieur OUXX on Tue 04/02/2014 10:39:41- in a Label or Display, "aaa\\\\\[bbb" should appear as:
aaa\\[bbb
and not as:
aaa[bbb
// GlobalScript.ash
import AudioChannel *bgm_channel;
import void SetBGM(AudioClip *bgm);
// GlobalScript.asc
AudioChannel *bgm_channel;
export bgm_channel;
void SetBGM(AudioClip *bgm)
{
if ((bgm_channel != null) && (bgm_channel.PlayingClip == bgm)) return;
if (bgm == null) bgm_channel = null; // added this so you can call SetBGM(null) to disable background music
else bgm_channel = bgm.Play(eAudioPriorityHigh, eRepeat);
}
Quote from: Alan v.Drake on Thu 30/01/2014 17:21:47
It enforces spaces over tabssssss!
- Alan
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 3.050 seconds with 15 queries.