mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-28 06:57:02 -04:00
Improving standard compiler compatibility (#2926)
* Adding explicit dolphin/ prefix & fix characters * Rename ShiftJIS to SJIS * Separate JASSeqReader read methods implementation between compilers. * Fix pointer.h * fix d_item_data typo * fix gcn matching issue
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
|
||||
s32 fpcLyIt_OnlyHere(layer_class* i_layer, fpcLyIt_OnlyHereFunc i_func, void* i_data) {
|
||||
layer_iter iter;
|
||||
iter.func = i_func;
|
||||
iter.func = (void*)i_func;
|
||||
iter.data = i_data;
|
||||
return cTrIt_Method(&i_layer->node_tree, (cNdIt_MethodFunc)cTgIt_MethodCall, &iter);
|
||||
}
|
||||
@@ -31,7 +31,7 @@ s32 fpcLyIt_All(fpcLyIt_OnlyHereFunc i_func, void* i_data) {
|
||||
|
||||
layer_iter iter;
|
||||
layer_class* layer;
|
||||
iter.func = i_func;
|
||||
iter.func = (void*)i_func;
|
||||
iter.data = i_data;
|
||||
|
||||
for (layer = fpcLy_RootLayer(); layer != NULL; layer = (layer_class*)layer->node.mpNextNode) {
|
||||
@@ -45,7 +45,7 @@ s32 fpcLyIt_All(fpcLyIt_OnlyHereFunc i_func, void* i_data) {
|
||||
|
||||
void* fpcLyIt_Judge(layer_class* i_layer, fpcLyIt_JudgeFunc i_func, void* i_data) {
|
||||
layer_iter iter;
|
||||
iter.func = i_func;
|
||||
iter.func = (void*)i_func;
|
||||
iter.data = i_data;
|
||||
return cTrIt_Judge(&i_layer->node_tree, (cNdIt_JudgeFunc)cTgIt_JudgeFilter, &iter);
|
||||
}
|
||||
@@ -55,7 +55,7 @@ void* fpcLyIt_AllJudge(fpcLyIt_JudgeFunc i_func, void* i_data) {
|
||||
|
||||
layer_iter iter;
|
||||
layer_class* layer;
|
||||
iter.func = i_func;
|
||||
iter.func = (void*)i_func;
|
||||
iter.data = i_data;
|
||||
|
||||
for (layer = fpcLy_RootLayer(); layer != NULL; layer = (layer_class*)layer->node.mpNextNode) {
|
||||
|
||||
Reference in New Issue
Block a user