Weather System Musings
< Newer Topic
:: Older Topic >
#21 Jun 9, 2009 11:58 am
Last edited Jun 9, 2009 11:58 am by Kayle
Off the Edge of the Map
GroupAdministrators
Posts1,200
JoinedMar 21, 2006
Work's calming down a bit, and we're getting moved the end of the week, so this weekend I should have time to sit down and take a crack at some of these weather related issues (also, I'll have net at home again starting this weekend).
#22 Jun 9, 2009 1:27 pm
Sorcerer
GroupMembers
Posts870
JoinedMay 8, 2005
Gratz on the return of the net at home at least.
#23 Oct 8, 2009 8:49 pm
Off the Edge of the Map
GroupAdministrators
Posts1,200
JoinedMar 21, 2006
Son of a.. I completely forgot about this thread until dbna2 brought up Weather questions. Ugh. C'est la vie. I'll try and get this stuff sorted out here soon.
Pinning this topic so I remember it. >.<
Pinning this topic so I remember it. >.<
#24 Mar 10, 2010 6:43 pm
Last edited Mar 10, 2010 6:44 pm by Kayle
Off the Edge of the Map
GroupAdministrators
Posts1,200
JoinedMar 21, 2006
Well, Finally managed to remember to look into these. And managed to squash 3 of them fairly easily.
I need to take a day at some point, and go through the helpfiles and clean out any that don't pertain to the base anymore, and update the ones that do and add any missing ones.
[Edit:] I also need to clean up that system, C++-ify it and what not.
I need to take a day at some point, and go through the helpfiles and clean out any that don't pertain to the base anymore, and update the ones that do and add any missing ones.
[Edit:] I also need to clean up that system, C++-ify it and what not.
#25 Mar 10, 2010 7:16 pm
Sorcerer
GroupMembers
Posts600
JoinedDec 3, 2008
putting the fixes in that you posted. I recieve this:
weather.c:2305: error: 'hemisphere_names' undeclared (first use in this function)
weather.c:2305: error: (Each undeclared identifier is reported only once
weather.c:2305: error: for each function it appears in.)
weather.c: In function 'fread_cell':
weather.c:2346: warning: passing argument 1 of 'one_argument' discards qualifiers from pointer target type
weather.c:2376: warning: passing argument 1 of 'one_argument' discards qualifiers from pointer target type
I am wondering if it's because I my mud isn't c++
weather.c:2305: error: 'hemisphere_names' undeclared (first use in this function)
weather.c:2305: error: (Each undeclared identifier is reported only once
weather.c:2305: error: for each function it appears in.)
weather.c: In function 'fread_cell':
weather.c:2346: warning: passing argument 1 of 'one_argument' discards qualifiers from pointer target type
weather.c:2376: warning: passing argument 1 of 'one_argument' discards qualifiers from pointer target type
I am wondering if it's because I my mud isn't c++
#26 Mar 10, 2010 10:32 pm
Off the Edge of the Map
GroupAdministrators
Posts1,200
JoinedMar 21, 2006
hemisphere_names should be hemisphere_name
I'll need you to show me the other two lines to know what the issue there is.
I'll need you to show me the other two lines to know what the issue there is.
#27 Mar 10, 2010 11:35 pm
Sorcerer
GroupMembers
Posts600
JoinedDec 3, 2008
weather.c: In function 'fread_cell':
weather.c:2345: warning: passing argument 1 of 'one_argument' discards qualifiers from pointer target type
The other one is the same line but for hemisphere.
weather.c:2345: warning: passing argument 1 of 'one_argument' discards qualifiers from pointer target type
climate = one_argument( climate, flag );
The other one is the same line but for hemisphere.
#28 Mar 11, 2010 1:32 pm
Off the Edge of the Map
GroupAdministrators
Posts1,200
JoinedMar 21, 2006
I'm guessing you're not putting this in a SmaugFUSS. So you're code probably isn't const correct then. You'll probably want to make sure flag is defined as char unless you've gone through and corrected the const-ness of your code. That should clear up that little issue. If not. Well, we'll have to take another look at things.