- Basic minimap implemented.
- Added net.lugdunon.input.keybind.MinimapToggleKeybinding to the client-side code base. Default key is the '-' key on the main keyboard.
- Added net.lugdunon.ui.minimap.Minimap to the client-side codebase.
- Added isOnScreen flag to both net.lugdunon.states.tiledGame.chunk. Chunk and net.lugdunon.world.placeables. PlaceableItemInstance.
- Chunk loading underwent a complete overhaul. The client is now only aware of the chunks that occupy the area comprising the minimap. The minimap area surrounds the main player, with the magnitude of that area dictated by the side of the client's screen. net.lugdunon.states.tiledGame.chunk. ChunkManager has been practically rewritten to accomodate these changes.
- Environment moved from the net.lugdunon.states.tiledGame. TiledGame instance to game.environment.
- Environment now updates the lightmap for the entire region covered by the minimap.
- Added net.lugdunon.util.Math. tileToMinimapCoords(loc,sLoc) to the client-side API.
- Added Number.padLeft(length) to the client-side API. Left pads a number with 0s.
- Added net.lugdunon.state.item.manifestation.IManifestationHandler. drawForegroundOnMinimap(placeableItemInstance,mmCtxt,mmRect,mmRes) to the client-side API.
- Added net.lugdunon.state.item.manifestation.IManifestationHandler. drawBackgroundOnMinimap(placeableItemInstance,mmCtxt,mmRect,mmRes) to the client-side API.
- Added net.lugdunon.world.placeables.PlaceableItemInstance. drawForegroundOnMinimap(mmCtxt,mmRect,mmRes) to the client-side API.
- Added net.lugdunon.world.placeables.PlaceableItemInstance. drawBackgroundOnMinimap(mmCtxt,mmRect,mmRes) to the client-side API.
- Fixed an issue with the set time of day command not properly setting the minutes portion.
- Load character command now exports the time of day.
- Added net.lugdunon.state.character.PlayerCharacter. setMinMaxForCurrentMiniMapView(Point tl, Point br) to the server-side API.
- Added net.lugdunon.state.character.PlayerCharacter. getTopLeftVisibleCoordForCurrentMiniMapView() to the server-side API.
- Added net.lugdunon.state.character.PlayerCharacter. getBottomRightVisibleCoordForCurrentMiniMapView() to the server-side API.
- Added net.lugdunon.state.character.PlayerCharacter. getChunksVisibleOnMinimap() to the server-side API.
- Added net.lugdunon.state.character.PlayerCharacter. placeablesVisibleOnMinimap(Collection placeables) to the server-side API.
- Removed net.lugdunon.state.Account. setScreenW(int screenW) from the server-side API.
- Removed net.lugdunon.state.Account. setScreenH(int screenH) from the server-side API.
- Added net.lugdunon.state.Account. setScreenDimensions(int screenW, int screenH) to the server-side API.
- Added net.lugdunon.state.Account. ScreenResolutionPrefs to the server-side API. Contains the settings used to form the minimap size, the distance a player needs to travel towards a boundary before update, and the number of iterations required to update the chunk data for a given range of screen sizes.
- Added net.lugdunon.state.Account. updateScreenResolutionPrefs(int d) to the server-side API.
- Added net.lugdunon.state.Account. getScreenResolutionPreference() to the server-side API.
- Added net.lugdunon.world.terrain.Chunk. topLeftTileLoc() to the server-side API.
- Rewrote net.lugdunon.world.terrain.Terrain. getTerrainChunks(Account account) to implement the new chunk loading scheme.
- Added net.lugdunon.math.Point.add(int i) to the server-side API.
- Added net.lugdunon.math.Point.sub(int i) to the server-side API.
|