Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2001:
[Freeciv-Dev] annotated gui-stub
Home

[Freeciv-Dev] annotated gui-stub

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] annotated gui-stub
From: Brian Olson <locke@xxxxxxx>
Date: Wed, 10 Jan 2001 17:28:05 -0700

Attached is a patch against 1.11.4

I commented all of the functions in gui-stub, possibly with more attention paid 
to how the function is called that to what is expected of the function. My 
slant is for changing the calls and AI usage.

It looks like there could be made a layer under some of the functions, a more 
simple notification of unit_changed() and city_changed() that any client could 
use. For (temporary?) backwards compatibility these would feed the existing 
dialog update calls. Perhaps a new area gui_common is in order, with the common 
client base appropriate for AI or GUI.

If I'm feeling motivated tonight, maybe I'll document the functions and globals 
available to the client gui/ai.

Attachment: annotatestub.diff
Description: Binary data

[insert clever signoff here]
Brian Olson http://bolson.org/

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] annotated gui-stub, Brian Olson <=