array test_colors_r585 array test_colors_g143 array test_colors_b183 array Test_nextFree550 integer Test_firstFree756 integer Test_maxIndex124 array Test_typeId381 array Test_col470 integer Test_firstFree756 = 0 integer Test_maxIndex124 = 0 function initGlobals135() { Test_firstFree_756 = 0; Test_maxIndex_124 = 0; } function main131() { initGlobals135(); init_test498(); } function config194() { } function init_test498() { local integer t522 t_522 = new_Test140(); dispatch_Test_test_Test_colorize201(t_522); } function Test_colorize814(integer this856) { if (Test_col_470[this_856] == 0) { } else { if (Test_col_470[this_856] == 1) { } else { }; }; } function Test_init100(integer this228) { } function new_Test140() returns integer { local integer this146 this_146 = alloc_Test147(); construct_Test413(this_146); return this_146; } function construct_Test413(integer this644) { Test_init100(this_644); } function alloc_Test147() returns integer { local integer this175 if (Test_firstFree_756 == 0) { if (Test_maxIndex_124 < 32768) { Test_maxIndex_124 = (Test_maxIndex_124 + 1); this_175 = Test_maxIndex_124; Test_typeId_381[this_175] = 1; } else { error120("Out of memory: Could not create Test."); this_175 = 0; }; } else { Test_firstFree_756 = (Test_firstFree_756 - 1); this_175 = Test_nextFree_550[Test_firstFree_756]; Test_typeId_381[this_175] = 1; }; return this_175; } function error120(string msg117) { $debugPrint200((msg_117 + (" " + #getStackTrace()))); } function dispatch_Test_test_Test_colorize201(integer this926) { if (Test_typeId_381[this_926] == 0) { if (this_926 == 0) { error120("Nullpointer exception when calling Test.colorize"); } else { error120("Called Test.colorize on invalid object."); }; } else { }; Test_colorize814(this_926); }