[Freeciv-Dev] [Patch] Break dependency
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
The code currently has a dependency which prohibits inline
attempts.
- game.h includes player.h
- player.h includes city.h
- city.h includes city_inline.h
- city_inline.h needs function/data (like get_player or game from
game.h but these aren't defined yet) BOOM
With the attached patch player.h no longer needs city.h. This causes a
lot of other changes since some other files relied on this behavior.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
reality.sys corrupt. Reboot Universe? (y,n,q)
break_dep1.diff
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] [Patch] Break dependency,
Raimar Falke <=
|
|