Commit Graph

465 Commits

Author SHA1 Message Date
Oskar Wiksten
11c301a24c Content editor: Remember displayed columns in table editors when changing pages. 2013-03-16 12:29:53 +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
bea69f06bf Content editor: Only enable item's "has equip effects" if the item category is wearable. 2013-03-16 09:45:15 +01:00
Oskar Wiksten
626c558335 Content editor: Move reusable logic functions for calculating item cost & monster exp to separate js file. 2013-03-16 09:45:14 +01:00
Oskar Wiksten
73efe5e62b Content editor: Change name of js libraries folder "inc"->"lib". Add favicon image. Close icon selector dialog by pressing escape button. 2013-03-16 09:45:13 +01:00
Oskar Wiksten
7d09202329 Bugfix content editor: treat number fields as numbers (and not strings) when calculating monster experience. 2013-03-10 13:40:42 +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
eb3f3f989d Bugfix: When exporting strings that start with a number (such as "2hsword"), only do integer conversion in the resulting JSON if the whole value is a number. 2013-03-09 23:45:38 +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
Oskar Wiksten
2bc06041ad Remove trailing spaces in some conversation phrase texts. 2013-02-12 13:58:46 +00:00
Oskar Wiksten
fb45d7e372 Add support for "description" field on items, for lore/background text that should be displayed on the item. 2013-02-11 11:10:00 +00:00
Oskar Wiksten
48d93fbbd0 Only apply "more criticals" skill if the player has CS>0. (Thanks to TriangleGM for reporting it!) 2013-02-09 17:02:33 +01:00
Oskar Wiksten
a32595c645 Refactor content editor - Correct spelling on tooltips. 2013-02-09 12:42:01 +01:00
Oskar Wiksten
370c62dc65 Merge branch 'revamped_editor' 2013-02-09 12:35:30 +01:00
Oskar Wiksten
4476d77a73 Refactor content editor - Added hints for most editable fields. 2013-02-09 12:35:17 +01:00
Oskar Wiksten
cfeffe45f5 Refactor content editor - remove unused files. 2013-02-09 12:35:17 +01:00
Oskar Wiksten
dadf68da42 Refactor content editor - Updated description for "isStacking" on actor conditions. 2013-02-09 12:35:17 +01:00
Oskar Wiksten
059a68ddbe Refactor content editor - Minor layout issue on item table editor. 2013-02-09 12:35:17 +01:00
Oskar Wiksten
7dbbcc45d0 Refactor content editor - Minor layout issue on item table editor. 2013-02-09 12:35:17 +01:00
Oskar Wiksten
a3ff6fb722 Refactor content editor - Add table editor for items. 2013-02-09 12:35:17 +01:00
Oskar Wiksten
09d4d39fe5 Refactor content editor - Provide table-based editor for monsters. 2013-02-09 12:35:17 +01:00
Oskar Wiksten
7ef0152e4c Refactor content editor - Simplify item cost calculations. 2013-02-09 12:35:17 +01:00
Oskar Wiksten
9f9d1ae5d5 Refactor content editor - Simplify monster exp calculation. 2013-02-09 12:35:17 +01:00
Oskar Wiksten
d08af3a089 Refactor content editor - Removed old files. 2013-02-09 12:35:17 +01:00
Oskar Wiksten
4a4450d20d Refactor content editor - Remove conversation tree. Provide links to follow conversation topics. 2013-02-09 12:35:17 +01:00
Oskar Wiksten
8ec233096a Refactor content editor - Display (buggy) treeview for editing conversation phrases. 2013-02-09 12:35:17 +01:00
Oskar Wiksten
f2b9e6a9f3 Refactor content editor - Reorganized files into separate directories. 2013-02-09 12:35:17 +01:00
Oskar Wiksten
feb05838f8 Refactor content editor - work in progress on editor for dialogue. 2013-02-09 12:35:17 +01:00
Oskar Wiksten
30d8cb3a0d Refactor content editor - Allow loading resources from existing json files. 2013-02-09 12:35:17 +01:00
Oskar Wiksten
948bd2c215 Refactor content editor - Actually remove things from model when pressing "remove". 2013-02-09 12:35:17 +01:00
Oskar Wiksten
889c607f9a Refactor content editor - provide hovering hint on clickable icons. 2013-02-09 12:35:17 +01:00
Oskar Wiksten
bb33261d21 Refactor content editor - Enable popup to select icon for items, monsters and actor conditions. 2013-02-09 12:35:16 +01:00