Oskar Wiksten
4d80f1b41d
Minor refactoring: Move code that happens after loading a game into Savegames.onWorldLoaded.
2013-06-24 21:08:29 +02:00
Oskar Wiksten
3688cb0914
Minor fixes to dynamic map tiles.
2013-06-22 17:48:02 +02:00
Oskar Wiksten
95c4ba9396
Only store first 4 bytes of map hashes (instead of the full 16byte md5sum)
...
* To keep savegame sizes smaller.
2013-06-22 16:31:39 +02:00
Oskar Wiksten
6c03b40262
Updated template.tmx - added "Replace" layer.
2013-06-22 16:21:25 +02:00
Oskar Wiksten
e65492c837
Worldmap: PNG file names now contain the hash of the tiles that the map contains.
...
* This way, when a map has some replacements applied, the hash will change, thus making it possible to have several different PNG files for each map, each with its own combination of replacements.
* Only display maps on worldmap that are visited by the current player.
* Update worldmap after replacements have been applied.
2013-06-22 16:21:25 +02:00
Oskar Wiksten
c34614f09b
First attempt at dynamic map tiles that change based on quest progress.
2013-06-22 16:21:25 +02:00
Oskar Wiksten
0a9da53930
Revamped looks of crossglen.tmx
2013-06-18 19:59:35 +02:00
Oskar Wiksten
f861529564
When entering map, move ground loot bags on unwalkable tiles.
2013-06-16 10:43:56 +02:00
Oskar Wiksten
b455bf2dbe
Speed up game start by not loading map layers
...
* This can be done by making the assumption that all tiles from the maps tilesets will be used.
2013-06-16 10:43:56 +02:00
Oskar Wiksten
cab1185f14
Move isWalkable from PredefinedMap to LayeredTileMap
...
* In effect, this will lower the amount of memory being used while running the game.
* The walkable bitmap will now be loaded at the same time that the image tiles are loaded for maps, and not when starting the game.
2013-06-16 10:43:56 +02:00
Oskar Wiksten
25fe0441c6
Minor map fixes
2013-06-15 20:18:41 +02:00
Oskar Wiksten
4148ff46be
Moved spawn areas away from map edges and mapchange areas.
2013-06-15 11:26:53 +02:00
Oskar Wiksten
fac19a1561
Remove "respawn: false" from all tmx files (it's replaced by a property on the monstertype instead).
2013-06-15 11:25:44 +02:00
Oskar Wiksten
f9979f32dc
Show quest progress updates in conversation.
2013-06-15 10:16:27 +02:00
Oskar Wiksten
9b7c5207d0
Add toolbox button for displaying combat log.
2013-06-15 09:40:53 +02:00
Oskar Wiksten
52cec01ed2
Remove in-game menu.
...
* Move Save from menu to toolbox
* Move preferences to startscreen
* Remove exit on startscreen
2013-06-14 21:41:49 +02:00
Oskar Wiksten
540ac0e87f
Correct sizes on map tiles map_wall_2 and map_wall_3.
2013-06-12 00:18:08 +02:00
Oskar Wiksten
21fe350280
Better error messages when reading malformed conversations.
2013-06-05 22:12:39 +02:00
Oskar Wiksten
a8b0d5dc49
Add monsters_demon2 to resourceloader.
2013-06-05 22:12:02 +02:00
Oskar Wiksten
bb953f9512
Minor fixes for reading slightly borked resource files.
2013-05-29 22:04:39 +02:00
Oskar Wiksten
fa8c31e695
Store list of maps in savegames as map<string> instead of indexed list.
...
* Do not store maps that have been visited or that have been reset.
* Reduces savegame filesize from ~83k to ~30k.
* Removes dependency on loading maps in a certain order (better for future refactorings).
2013-05-26 13:40:57 +02:00
Oskar Wiksten
cb6f84d2df
Bugfix: Allow conversation options for "Feygard errands" in Vilegard even when the Vilegard quest has not been completed.
2013-05-19 18:16:23 +02:00
Oskar Wiksten
1df5d183dc
Bugfix: Apply checks for whether the player can select replies on single "next" replies as well.
2013-05-12 13:14:08 +02:00
Oskar Wiksten
348b74ad7b
Added worldmap alignment maps (thanks to Tomcat!)
2013-05-06 23:34:53 +02:00
Oskar Wiksten
53e10680fa
Teleports in Throdna's throne room are only accessible by one way.
...
* Force the player to step on the sign tile before accessing the teleporters in the BWM throne room.
2013-04-21 21:05:34 +02:00
Oskar Wiksten
a29ebb466b
Bugfix: change combat selection when a monster dies from a condition in combat. (thanks to Fala from the forums for finding it!)
2013-03-29 22:55:53 +01:00
Oskar Wiksten
bb314eea66
Raise taunt chance to 75%.
2013-03-29 22:44:27 +01:00
Oskar Wiksten
c8de0c8f77
Minor bugfixes to resource loaders
...
* Fail harder when TileManager hasn't allocated enough tiles for the preloaded icons.
* Minor tweak to misplaced tile on hauntedhouse3
* Weaken "strength" condition (prefer to control effect through magnitude instead)
* Load icons for "items_weapons_2".
* Do not require items to have "base market cost" (for example, when they are automatically priced)
2013-03-29 20:03:33 +01:00
Oskar Wiksten
5cb762113d
Added more monster icons from the TomeTik set.
2013-03-17 14:28:16 +01:00
Oskar Wiksten
9a5cf33108
Add automatic cost calculations for items that have hit- or kill-stats that affect HP or AP.
2013-03-16 10:38:19 +01:00
Oskar Wiksten
c2de054cf5
Add automatic cost calculations for items that have "increase use item cost" or "increase reequip cost"-stats.
2013-03-16 10:00:28 +01:00
Oskar Wiksten
24c15a798a
Bugfix: Read critical multiplier for weapons as float instead of int.
2013-03-10 13:18:18 +01:00
Oskar Wiksten
1cc20839ff
Added some tiles for crates and stairs, from opengameart.org.
2013-02-24 18:18:37 +01:00
Oskar Wiksten
07bbe7dd9e
Added lots of new tiles for monsters, items and effects from opengameart.org.
2013-02-24 17:25:23 +01:00
Oskar Wiksten
cc4827b1bd
Refactor conversations to state machine - Move responsibility for starting combat & removing npcs from map from MainActivity into the ConversationController.
2013-02-22 14:10:05 +01:00
Oskar Wiksten
9fd5508070
Refactor conversations to state machine - minor bugfixes for "next" button disabling.
2013-02-22 14:09:31 +01:00
Oskar Wiksten
2da410118e
Only notify rewards in conversation if there actually are any.
2013-02-22 12:14:59 +01:00
Oskar Wiksten
e965afc699
WIP move conversation logic to ConversationStatemachine - bugfix for selecting replies with requirements.
2013-02-21 14:29:25 +00:00
Oskar Wiksten
37ae3b6c69
WIP moving conversation flow logic from Activity to testable state machine.
2013-02-20 16:07:01 +00:00
Oskar Wiksten
6261c499ff
Renamed "ViewContext" -> "ControllerContext" to better reflect its responsibility.
2013-02-20 15:30:53 +00:00
Oskar Wiksten
f5ff29a0fe
Refactored results of phrase rewards, in preparation of displaying more results when gaining rewards.
2013-02-18 07:43:38 +00:00
Oskar Wiksten
24ab3b95f0
Updated IntelliJ Idea project file to work with any Android API version.
2013-02-15 15:14:49 +00:00
Oskar Wiksten
8575e89dee
Update R.layout.inventoryitemview to a single TextView instead of a combined ImageView & TextView.
2013-02-15 12:04:05 +00:00
Oskar Wiksten
9bb1e73f07
Reduce compilation warnings from code inspection rules.
...
(Reduce visibilities to private, add final where applicable)
2013-02-15 09:59:57 +00:00
Oskar Wiksten
59df54f1bb
Remove compilation warnings about showDialog() and removeDialog() being deprecated.
2013-02-15 07:50:45 +00:00
Oskar Wiksten
a8b21461de
Minor refactoring CombatController.
2013-02-14 14:57:40 +00:00
Oskar Wiksten
f16cfa3ab0
Remove compilation warnings about "new BitmapDrawable(Bitmap)" being deprecated.
2013-02-14 14:57:00 +00:00
Oskar Wiksten
d2428ad36c
Add IntelliJ Idea project file.
...
Add Android v4 support library.
2013-02-14 14:47:46 +00:00
Oskar Wiksten
91015e5ea7
Rearrange .gitignore.
2013-02-14 14:47:09 +00:00
Oskar Wiksten
668993c01b
Add clear() method to event listener queues.
2013-02-13 15:31:11 +00:00