Hi,
I'm entertaining the possibility of porting to Windows Phone and I'm trying to get over some challenges without making significant changes to the source.
I think it would be really helpful for porting to other platforms if the main engine can be compiled as a static lib or dll and then referenced in a UI layer as opposed to having it all mashed together with multiple makes/.c files in the root.
Following that thought, I've attempted to do just that.
Right now the two biggest challenges I'm facing are:
1) using the property name of "class" on player and getting it to compile without redefining the keyword "class"
2) C99 designated initializers (primary used in declaring static structs of test data. visual studio and several other compilers don't support C99).
I really think it would be ideal to be able to maintain everything in one solution/workspace in an IDE for organization but it looks like as it stands I'd have to compile an angband source dll using a separate compiler and then reference the assembly in my main app.
Thoughts?
I'm entertaining the possibility of porting to Windows Phone and I'm trying to get over some challenges without making significant changes to the source.
I think it would be really helpful for porting to other platforms if the main engine can be compiled as a static lib or dll and then referenced in a UI layer as opposed to having it all mashed together with multiple makes/.c files in the root.
Following that thought, I've attempted to do just that.
Right now the two biggest challenges I'm facing are:
1) using the property name of "class" on player and getting it to compile without redefining the keyword "class"
2) C99 designated initializers (primary used in declaring static structs of test data. visual studio and several other compilers don't support C99).
I really think it would be ideal to be able to maintain everything in one solution/workspace in an IDE for organization but it looks like as it stands I'd have to compile an angband source dll using a separate compiler and then reference the assembly in my main app.
Thoughts?
Comment