Ticket #21 (new defect)
api standardisation
| Reported by: | genjix | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | blxml | Version: | |
| Keywords: | Cc: |
Description
Hi,
Some standardisation for interfaces should be made somewhere. For instance:
1. When loading something from vfs, sometimes path and filename are used and sometimes not. Imo only filename should exist and it should be clever enough to split them internally (via a cs helper function).
2. Directional movement- except in special cases, this should use the same kind of format.
iPcActorMove: RotateLeft (bool) iPcWheeled: SteerLeft ()/SteerStraight () iPcCraftController: StartTurnLeft ()/StopTurnLeft ()
The last 2 examples there are more or less the same. I think the first one simplifies the method list and looks most intuitive.
Please add more examples :)
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
