Commit Graph

156 Commits

Author SHA1 Message Date
oskar.wiksten@gmail.com
4887f984ee Bugfix: Enable menu button after using other keyboard actions.
Reduce number of redraws when engaging combat.
Bump version number for release.

git-svn-id: https://andors-trail.googlecode.com/svn/trunk@191 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-10-21 18:07:35 +00:00
oskar.wiksten
688afd5ff6 Make sure to not use APs when player attacks unless the attack is actually going to happen.
git-svn-id: https://andors-trail.googlecode.com/svn/trunk@190 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-10-20 17:05:03 +00:00
oskar.wiksten
67482082b9 Additional safeguards to stop movementhandler when movement should be aborted.
git-svn-id: https://andors-trail.googlecode.com/svn/trunk@189 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-10-20 16:27:07 +00:00
oskar.wiksten@gmail.com
411454683d Allow selection of conversation replies with keyboard.
Prevent FC when changing maps while animations are running (such as regeneration)


git-svn-id: https://andors-trail.googlecode.com/svn/trunk@188 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-10-19 22:26:38 +00:00
oskar.wiksten@gmail.com
67f1442d7d Even smoother combat animations.
Allow multiple animations to run concurrently.

git-svn-id: https://andors-trail.googlecode.com/svn/trunk@187 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-10-18 20:56:08 +00:00
oskar.wiksten@gmail.com
58c89023de Update monster HP before running the attack animation.
Spelling corrections to conversations.
Prevent FC when running maploader on maps that have exits that do not specify a destination map (such as south of Prim).
Reuse loaded graphics tiles in shopactivity.
Do not use android.util.Pair (since it's not available in Android v1.6)
Updated German translation (thanks Samuel)

git-svn-id: https://andors-trail.googlecode.com/svn/trunk@186 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-10-18 18:02:21 +00:00
oskar.wiksten
2a46837b2c Smoother combat animations.
Load maps resources of adjacent maps in the background while on a map (reduces load times when changing maps)
Bugfix: Shop max hp and max ap on player overview screen.
Bump version number to beta3.

git-svn-id: https://andors-trail.googlecode.com/svn/trunk@185 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-10-17 22:39:05 +00:00
oskar.wiksten
1554aa95c1 Bump version number for beta2.
git-svn-id: https://andors-trail.googlecode.com/svn/trunk@184 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-10-16 15:55:11 +00:00
oskar.wiksten
2a8924b9d0 Prevent FC when changing maps after death.
git-svn-id: https://andors-trail.googlecode.com/svn/trunk@183 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-10-16 15:44:12 +00:00
oskar.wiksten
a2ddfac83d Spelling corrections.
git-svn-id: https://andors-trail.googlecode.com/svn/trunk@182 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-10-16 14:38:41 +00:00
oskar.wiksten
ebc9c9998b Major refactoring of resourceloader. This version loads graphical resources when they are first required, instead of loading them all when the game starts. Resources are cached using SoftReference<> and reclaimed by the Android OS whenever needed.
Refactored resourceloader of conversationcollection. Now the game only loads conversations when they are used in the ConversationActivity, instead of loading them all when the game starts.
These two changes drastically reduces the memory footprint of the game, thus allowing devices with lower maximum heap size to run the game.

Changed link to forums (http://andorstrail.com/)

git-svn-id: https://andors-trail.googlecode.com/svn/trunk@181 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-10-16 07:08:52 +00:00
oskar.wiksten
5c6d69b895 Added setting "Optimized drawing" to change the behaviour of how the map is redrawn (redraw everything vs. redraw only changed tiles).
git-svn-id: https://andors-trail.googlecode.com/svn/trunk@180 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-10-14 17:24:24 +00:00
oskar.wiksten
1ad18b5b19 Conversation spelling corrections.
Fixed FC when producing savegames containing actors with null combattraits (such as NPCs).

git-svn-id: https://andors-trail.googlecode.com/svn/trunk@179 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-10-13 18:56:57 +00:00
oskar.wiksten@gmail.com
4713945458 Recalculate monster stats after actor conditions have worn off.
git-svn-id: https://andors-trail.googlecode.com/svn/trunk@178 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-10-12 22:16:44 +00:00
oskar.wiksten@gmail.com
49eb55cbf0 Structural refactoring: moved CombatTraits from being a superclass of ActorTraits into being a property of Actor (for issue 251 & issue 253).
Save active monster conditions in savegame file (issue 253).
Save individual monster combat stats in savegame file (issue 251).
Display active monster conditions on monster info dialog. (issue 252).
Renamed "unequipped stats" to "Base combat statistics (without equipment and skills)".
Bumped version number.

git-svn-id: https://andors-trail.googlecode.com/svn/trunk@177 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-10-12 22:04:46 +00:00
oskar.wiksten
6af1b95e89 Slight performance improvement to TMX file reader.
Added Android application description.
Conversation correction to Buceth.
Tweaked droplists that contains potions.

git-svn-id: https://andors-trail.googlecode.com/svn/trunk@176 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-10-10 20:48:48 +00:00
oskar.wiksten@gmail.com
af48a1cdf0 Updated screenshots for projectpage.
Added "featured" and "promotional" images that are used in Android market.
Updated svg and high-resolution logo.

git-svn-id: https://andors-trail.googlecode.com/svn/trunk@175 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-10-09 13:09:11 +00:00
oskar.wiksten@gmail.com
8fe499095b Updated German translation. (Thanks Samuel and Gottkaiser).
git-svn-id: https://andors-trail.googlecode.com/svn/trunk@174 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-10-09 11:48:18 +00:00
oskar.wiksten@gmail.com
6aedc946c5 Updated to version v0.6.10a3.
Updated dialog of Oluag, Unnmir and Gaela for when the player has already talked to them.
Updated conversation of guard in Prim main hall.
Sort skills according to id.
Renamed old healing potions to differentiate them from the new healing potions.
Spelling corrections to v0.6.10 conversation content.
Removed overScrollFooter for conversation listview (for issue 205)

git-svn-id: https://andors-trail.googlecode.com/svn/trunk@173 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-10-09 11:14:38 +00:00
oskar.wiksten@gmail.com
a114d5c1ca Fixed issue with automatic calculation of item store prices that have a use effect (such as potions).
git-svn-id: https://andors-trail.googlecode.com/svn/trunk@172 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-10-08 13:42:40 +00:00
oskar.wiksten@gmail.com
e6813a430e Added resourceloader for additional weapons and armours.
git-svn-id: https://andors-trail.googlecode.com/svn/trunk@171 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-10-08 10:32:31 +00:00
oskar.wiksten@gmail.com
e65768c816 Updated unbalanced droplists for Izthiels.
Added additional selftests for unbalanced monster drops.

git-svn-id: https://andors-trail.googlecode.com/svn/trunk@170 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-10-08 09:56:19 +00:00
oskar.wiksten@gmail.com
8de34493f7 Updated version number.
Updated welcome text when starting a new version of the game.

git-svn-id: https://andors-trail.googlecode.com/svn/trunk@169 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-10-07 21:14:53 +00:00
oskar.wiksten@gmail.com
8cab1ecdda Fixed tileset naming on waterway- and pwcave maps.
Applied patch from issue 246. (Thanks Samuel)
Added start of Hebrew translation. (Thanks eitanbm)

git-svn-id: https://andors-trail.googlecode.com/svn/trunk@168 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-10-07 20:52:12 +00:00
oskar.wiksten@gmail.com
d20f9ccccc Re-worked shop droplists to reflect the merchant's position in the item quality available.
Updated French translation (thanks Misty Soul)
Removed unused items and monsters.

git-svn-id: https://andors-trail.googlecode.com/svn/trunk@167 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-10-06 21:28:02 +00:00
oskar.wiksten@gmail.com
229331f38a Minor spelling corrections to v0.6.10 quests (from Issue 245).
git-svn-id: https://andors-trail.googlecode.com/svn/trunk@166 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-10-05 22:15:11 +00:00
oskar.wiksten@gmail.com
1a9c903ad2 Added additional monster icons.
Populated waterway- and pwcave maps with monsters.
Added selftests to verify that all defined monsters are being used.
Disabled manual saving while in combat (issue 241).

git-svn-id: https://andors-trail.googlecode.com/svn/trunk@165 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-10-05 22:08:54 +00:00
oskar.wiksten
ba2cd2a8b4 275 new lines of dialogue for the new Loneford quest. The Loneford quest is now completable.
Populated most of the quest droplists (shop droplists still left to do).
Fixed issues with the Prim and Blackwater quests, that were never marked as completed under some circumstances in v0.6.9.
Moved tiles on a lot of maps to their correct layer (from "Objects" to "Above" for example)
Added deterministic sort order to quest list.

git-svn-id: https://andors-trail.googlecode.com/svn/trunk@164 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-10-02 19:27:46 +00:00
oskar.wiksten@gmail.com
a31a359c3e 500 more lines of dialogue for v0.6.10.
Contents of 3 new quests.
Updated monsters for v0.6.10.

git-svn-id: https://andors-trail.googlecode.com/svn/trunk@163 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-09-25 19:31:54 +00:00
oskar.wiksten
dd3f53bbaa Start of 3 new quests for Crossroads and Loneford.
git-svn-id: https://andors-trail.googlecode.com/svn/trunk@162 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-09-19 22:42:16 +00:00
oskar.wiksten
8fdc8b41df Bugfixes to the 4 new quests in crossroads- and fields maps.
git-svn-id: https://andors-trail.googlecode.com/svn/trunk@161 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-09-19 17:52:06 +00:00
oskar.wiksten@gmail.com
7b35217f24 4 new quests for v0.6.10.
Made new weapons and armor icons slightly lighter.

git-svn-id: https://andors-trail.googlecode.com/svn/trunk@160 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-09-18 17:12:51 +00:00
oskar.wiksten
bedc7df087 Refactor: Moved all code that does parsing of resource files into separate namespace, and into specialized reusable parser classes.
Refactor: Changed property "searchTag" if objects of type ItemType into property "id", because that is what it is used for.

git-svn-id: https://andors-trail.googlecode.com/svn/trunk@159 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-09-14 17:20:45 +00:00
oskar.wiksten
972fff006a Monsters will now copy all data from the monstertype instead of directly referencing the monstertype (in preparation for personalized monsters).
Refactor: Separated debug interface to a separate class, reduces clutter in MainActivity.


git-svn-id: https://andors-trail.googlecode.com/svn/trunk@158 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-09-14 12:46:52 +00:00
oskar.wiksten
6f4f466c1f Refactor: Made sure that IDs are used where applicable, instead of names (in particular with regards to MonsterType)
Refactor: Reduce dependencies from Phrase object (changed Droplist property into id instead of actual object)
Refactor: Renamed some images to maintain filename naming scheme.
Bugfix: Conversation editor did not guess new phrase ids correctly.

git-svn-id: https://andors-trail.googlecode.com/svn/trunk@157 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-09-14 11:52:19 +00:00
oskar.wiksten
0bc622b7a3 Refactor: removed integer id from item types (should use the real string id instead).
Changed some ArrayList:s in the maploader into using HashMap:s (should speed up the loading process).
Added graphical tiles for more weapons, armours, rings and amulets.

git-svn-id: https://andors-trail.googlecode.com/svn/trunk@156 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-09-12 15:22:26 +00:00
oskar.wiksten
d83a420be2 Added "clear" button to content editor.
Added accordion to import/export dialogs in content editor.
Fixed bug in content editor when changing an id of a phrase.
Made editor tabs closable with escape key.
Split the item tileset image into several smaller parts.
Added more images for some armours, weapons and monsters.


git-svn-id: https://andors-trail.googlecode.com/svn/trunk@155 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-09-12 12:23:29 +00:00
oskar.wiksten
65664d5c47 Corrections to horizontal alignment issues on Samsung Galaxy S2. (Issue 242)
Updated authors list.

git-svn-id: https://andors-trail.googlecode.com/svn/trunk@154 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-09-09 19:03:27 +00:00
oskar.wiksten
475d330dde Changed all "fill_parent" to "match_parent" in layouts.
git-svn-id: https://andors-trail.googlecode.com/svn/trunk@153 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-09-07 18:37:04 +00:00
oskar.wiksten
e4f7797dca Populated crossroads indoor maps with NPCs (though not defined yet).
git-svn-id: https://andors-trail.googlecode.com/svn/trunk@152 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-09-06 19:19:53 +00:00
oskar.wiksten
205dfce837 Updated list of authors.
git-svn-id: https://andors-trail.googlecode.com/svn/trunk@151 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-09-05 20:24:43 +00:00
oskar.wiksten
db65f3a145 Updated TMX worldmap with Waterway and Brightport maps.
git-svn-id: https://andors-trail.googlecode.com/svn/trunk@150 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-09-05 19:45:18 +00:00
oskar.wiksten
941208377a Added the first waterway maps, including pwcave.
Added monsters to fields* and loneford* maps (monsters not defined yet).

git-svn-id: https://andors-trail.googlecode.com/svn/trunk@149 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-09-05 19:43:46 +00:00
oskar.wiksten
0c75fbbac1 Only do critical attacks if the attacker both has a non-zero critical chance and a non-zero critical modifier (resolves issue 235)
git-svn-id: https://andors-trail.googlecode.com/svn/trunk@148 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-08-30 21:25:29 +00:00
oskar.wiksten
2e7b49c2b4 Fixed monster info HP bug (issue 117) - thanks Scott Lund.
Added items for v0.6.10, changed stats for a lot of items.
Smaller changes to maps in preparation for v0.6.10.
Added selftests to find items and droplists that are not used.

git-svn-id: https://andors-trail.googlecode.com/svn/trunk@147 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-08-30 20:58:51 +00:00
oskar.wiksten
bebabbb2aa Introduced a setting for whether d-pad should be minimizable or not.
Added skills for resistance of actor conditions. (thanks Samuel)
Remove duplicate items (but give back gold) whose store price has increased, to prevent exploiting the newer item prices.
Changes to code comments, display texts. (thanks Samuel)

git-svn-id: https://andors-trail.googlecode.com/svn/trunk@146 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-07-30 19:50:53 +00:00
oskar.wiksten
c15fc2a5ff Updated content editor to display automatic price calculation.
git-svn-id: https://andors-trail.googlecode.com/svn/trunk@145 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-07-30 12:17:20 +00:00
oskar.wiksten
8f907ac3fa Added automatic price calculation (issue 38)
Updated Italian translation (thanks k6blue)
Added confirmation dialog box when selling non-ordinary items (thanks ejwessel).

git-svn-id: https://andors-trail.googlecode.com/svn/trunk@144 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-07-30 12:12:58 +00:00
oskar.wiksten
d5f75659f8 Updated French translation by Misty Soul.
Updated Italian translation by Joker.

git-svn-id: https://andors-trail.googlecode.com/svn/trunk@143 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-07-26 15:18:48 +00:00
oskar.wiksten
9730afade8 Display unequipped base stats on player info screen.
Add "All" button to bulk selection interface.
Do not show bulk selection interface when dropping just one item.
Confirmation dialog when overwriting savegames with a new player name (thanks ejwessel)
Hide critical multiplier if equal to 0 or 1.
Do not trigger map events if the player moves to another tile on the same mapevent.
Add LayoutParams to all dynamically generated views (reduces graphical artifacts on Motorola devices)
Use wrap_content instead of match_parent as height on listviews (reduces graphical artifacts on Motorola devices)

git-svn-id: https://andors-trail.googlecode.com/svn/trunk@142 08aca716-68be-ccc6-4d58-36f5abd142ac
2011-07-24 11:24:45 +00:00