int i;
boolean was_string;
- params = g_strsplit_set(param, " ", -1);
+ params = getSplitStringArray(param, " ", -1);
paramcount = g_strv_length(params);
identifier_found = FALSE;
int i;
boolean result = TRUE;
- split = g_strsplit_set(param, " ", -1);
+ split = getSplitStringArray(param, " ", -1);
for (i = 0; split[i] != 0; i++)
result = result && replay_store_from_bdcff(replay, split[i]);
char **params;
boolean identifier_found;
- params = g_strsplit_set(param, " ", -1);
+ params = getSplitStringArray(param, " ", -1);
identifier_found = FALSE;
if (strcasecmp(attrib, "SnapExplosions") == 0)
replay_tags = g_hash_table_new_full(gd_str_case_hash, gd_str_case_equal, free, free);
/* split into lines */
- lines = g_strsplit_set (contents, "\n", 0);
+ lines = getSplitStringArray (contents, "\n", 0);
/* attributes read will be set in cave. if no [cave]; they are stored
in the default cave; like in a [game] */
/* CHECK IF IT IS AN EFFECT */
char **params;
- params = g_strsplit_set(param, " ", -1);
+ params = getSplitStringArray(param, " ", -1);
/* an effect command has two parameters */
if (g_strv_length(params) == 2)