From: <dd...@us...> - 2007-12-06 23:50:43
|
Revision: 105 http://nitsloch.svn.sourceforge.net/nitsloch/?rev=105&view=rev Author: ddwatts Date: 2007-12-06 15:50:47 -0800 (Thu, 06 Dec 2007) Log Message: ----------- More complex hard coded map for testing. Modified Paths: -------------- trunk/src/game/GameWorld.java trunk/src/gui/Controller.java trunk/src/land/Shop.java Modified: trunk/src/game/GameWorld.java =================================================================== --- trunk/src/game/GameWorld.java 2007-12-06 23:41:23 UTC (rev 104) +++ trunk/src/game/GameWorld.java 2007-12-06 23:50:47 UTC (rev 105) @@ -27,6 +27,7 @@ import src.land.Land; import src.land.Exit; import src.land.Obstruction; +import src.land.Shop; import src.land.Street; /** @@ -61,7 +62,7 @@ } private void debugAddCity(){ - Land[][] newCity = new Land[4][6]; + Land[][] newCity = new Land[6][6]; newCity[0][0] = new Obstruction(ObstructionLandType.WALL, false); newCity[0][1] = new Obstruction(ObstructionLandType.WALL, false); newCity[0][2] = new Obstruction(ObstructionLandType.WALL, false); @@ -81,11 +82,23 @@ newCity[2][4] = new Street(StreetType.REGULAR_STREET, -1, null, null, null); newCity[2][5] = new Obstruction(ObstructionLandType.WALL, false); newCity[3][0] = new Obstruction(ObstructionLandType.WALL, false); - newCity[3][1] = new Obstruction(ObstructionLandType.WALL, false); + newCity[3][1] = new Shop(Shops.AMMO_L); newCity[3][2] = new Obstruction(ObstructionLandType.WALL, false); newCity[3][3] = new Obstruction(ObstructionLandType.WALL, false); newCity[3][4] = new Obstruction(ObstructionLandType.WALL, false); newCity[3][5] = new Obstruction(ObstructionLandType.WALL, false); + newCity[4][0] = new Obstruction(ObstructionLandType.WALL, false); + newCity[4][1] = new Obstruction(ObstructionLandType.WALL, false); + newCity[4][2] = new Obstruction(ObstructionLandType.WALL, false); + newCity[4][3] = new Obstruction(ObstructionLandType.WALL, false); + newCity[4][4] = new Obstruction(ObstructionLandType.WALL, false); + newCity[4][5] = new Obstruction(ObstructionLandType.WALL, false); + newCity[5][0] = new Obstruction(ObstructionLandType.WALL, false); + newCity[5][1] = new Obstruction(ObstructionLandType.WALL, false); + newCity[5][2] = new Obstruction(ObstructionLandType.WALL, false); + newCity[5][3] = new Obstruction(ObstructionLandType.WALL, false); + newCity[5][4] = new Obstruction(ObstructionLandType.WALL, false); + newCity[5][5] = new Obstruction(ObstructionLandType.WALL, false); //newCity[2][2].setEnemy(new Enemy(Enemies.E_000, 2, 2, 1)); newCity[2][4].setEnemy(new Enemy(Enemies.E_000, 2, 4, 1)); Modified: trunk/src/gui/Controller.java =================================================================== --- trunk/src/gui/Controller.java 2007-12-06 23:41:23 UTC (rev 104) +++ trunk/src/gui/Controller.java 2007-12-06 23:50:47 UTC (rev 105) @@ -39,8 +39,6 @@ public class Controller { private GameFrame gf; - //private int explodeRow; - //private int explodeCol; /** * Sets the game frame for this controller. Modified: trunk/src/land/Shop.java =================================================================== --- trunk/src/land/Shop.java 2007-12-06 23:41:23 UTC (rev 104) +++ trunk/src/land/Shop.java 2007-12-06 23:50:47 UTC (rev 105) @@ -42,6 +42,14 @@ private Shops type; /** + * Constructor sets up type of shop. + * @param type Shops : type + */ + public Shop(Shops type){ + this.type = type; + } + + /** * Not possible for shops * @param item Item : the item */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dd...@us...> - 2007-12-08 05:44:21
|
Revision: 110 http://nitsloch.svn.sourceforge.net/nitsloch/?rev=110&view=rev Author: ddwatts Date: 2007-12-07 21:44:25 -0800 (Fri, 07 Dec 2007) Log Message: ----------- Implement shooting. Add a stopsProjectiles method to the land interface Modified Paths: -------------- trunk/src/game/Battles.java trunk/src/game/GameWorld.java trunk/src/game/Player.java trunk/src/land/Exit.java trunk/src/land/Land.java trunk/src/land/Obstruction.java trunk/src/land/Shop.java trunk/src/land/Street.java trunk/src/land/Water.java This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dd...@us...> - 2007-12-08 07:47:43
|
Revision: 112 http://nitsloch.svn.sourceforge.net/nitsloch/?rev=112&view=rev Author: ddwatts Date: 2007-12-07 23:47:48 -0800 (Fri, 07 Dec 2007) Log Message: ----------- NPC stuff working Modified Paths: -------------- trunk/src/Constants.java trunk/src/enums/NPCs.java trunk/src/game/GameWorld.java trunk/src/game/NPC.java trunk/src/game/Player.java trunk/src/gui/GameFrame.java trunk/src/land/Street.java This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dd...@us...> - 2007-12-08 23:35:45
|
Revision: 113 http://nitsloch.svn.sourceforge.net/nitsloch/?rev=113&view=rev Author: ddwatts Date: 2007-12-08 15:35:49 -0800 (Sat, 08 Dec 2007) Log Message: ----------- Add a dungeon to hard coded map file. Modified Paths: -------------- trunk/src/game/GameWorld.java trunk/src/gui/Controller.java trunk/src/land/Exit.java This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dd...@us...> - 2007-12-09 05:46:29
|
Revision: 115 http://nitsloch.svn.sourceforge.net/nitsloch/?rev=115&view=rev Author: ddwatts Date: 2007-12-08 21:46:33 -0800 (Sat, 08 Dec 2007) Log Message: ----------- Fix amount of money enemies give you. Fix thieving for enemies Modified Paths: -------------- trunk/src/enums/Enemies.java trunk/src/game/Battles.java trunk/src/game/Player.java This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dd...@us...> - 2007-12-12 03:31:56
|
Revision: 116 http://nitsloch.svn.sourceforge.net/nitsloch/?rev=116&view=rev Author: ddwatts Date: 2007-12-11 19:32:00 -0800 (Tue, 11 Dec 2007) Log Message: ----------- Add use frame. Fix bug when player clicks the shoot button with no marksman weapon Modified Paths: -------------- trunk/src/game/GameWorld.java trunk/src/game/Player.java trunk/src/gui/Controller.java trunk/src/gui/GameFrame.java trunk/src/gui/UseFrame.java This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dd...@us...> - 2008-01-08 23:52:52
|
Revision: 121 http://nitsloch.svn.sourceforge.net/nitsloch/?rev=121&view=rev Author: ddwatts Date: 2008-01-08 15:52:57 -0800 (Tue, 08 Jan 2008) Log Message: ----------- Layouts with UseFrame.java. Modified Paths: -------------- trunk/src/game/Player.java trunk/src/gui/GameFrame.java trunk/src/gui/UseFrame.java This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dd...@us...> - 2008-01-09 00:30:11
|
Revision: 122 http://nitsloch.svn.sourceforge.net/nitsloch/?rev=122&view=rev Author: ddwatts Date: 2008-01-08 16:30:05 -0800 (Tue, 08 Jan 2008) Log Message: ----------- Start BarShop GUI frame. Modified Paths: -------------- trunk/src/game/GameWorld.java trunk/src/gui/BarShop.java trunk/src/land/Shop.java This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dd...@us...> - 2008-01-09 04:22:52
|
Revision: 123 http://nitsloch.svn.sourceforge.net/nitsloch/?rev=123&view=rev Author: ddwatts Date: 2008-01-08 20:22:58 -0800 (Tue, 08 Jan 2008) Log Message: ----------- Start HospitalShop.java. Modified Paths: -------------- trunk/src/game/GameWorld.java trunk/src/gui/BarShop.java trunk/src/gui/GameFrame.java trunk/src/gui/HospitalShop.java trunk/src/land/Shop.java This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dd...@us...> - 2008-01-10 21:03:16
|
Revision: 127 http://nitsloch.svn.sourceforge.net/nitsloch/?rev=127&view=rev Author: ddwatts Date: 2008-01-10 13:03:21 -0800 (Thu, 10 Jan 2008) Log Message: ----------- Add ability to buy drinks. Todo: Drinks loader for reading cost information from scenario file. Modified Paths: -------------- trunk/src/enums/Bars.java trunk/src/enums/Drinks.java trunk/src/gui/BarShop.java This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dd...@us...> - 2008-01-12 01:14:01
|
Revision: 134 http://nitsloch.svn.sourceforge.net/nitsloch/?rev=134&view=rev Author: ddwatts Date: 2008-01-11 17:14:03 -0800 (Fri, 11 Jan 2008) Log Message: ----------- Add proper word wrapping to Messages when the message is too long to fit on one line. Modified Paths: -------------- trunk/src/enums/NPCs.java trunk/src/game/GameWorld.java trunk/src/game/Messages.java This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dd...@us...> - 2008-01-12 03:23:47
|
Revision: 136 http://nitsloch.svn.sourceforge.net/nitsloch/?rev=136&view=rev Author: ddwatts Date: 2008-01-11 19:23:49 -0800 (Fri, 11 Jan 2008) Log Message: ----------- Fix size of About frame and remove minor compiler warning. Modified Paths: -------------- trunk/src/enums/NPCs.java trunk/src/gui/AboutFrame.java This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dd...@us...> - 2008-01-13 06:59:04
|
Revision: 139 http://nitsloch.svn.sourceforge.net/nitsloch/?rev=139&view=rev Author: ddwatts Date: 2008-01-12 22:59:10 -0800 (Sat, 12 Jan 2008) Log Message: ----------- Add code for reading in ammo presets Modified Paths: -------------- trunk/src/enums/AmmoPresets.java trunk/src/scenario/AmmoPresetLoader.java trunk/src/scenario/ScenarioLoader.java This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dd...@us...> - 2008-01-13 07:44:17
|
Revision: 140 http://nitsloch.svn.sourceforge.net/nitsloch/?rev=140&view=rev Author: ddwatts Date: 2008-01-12 23:44:21 -0800 (Sat, 12 Jan 2008) Log Message: ----------- Add code for armor preset loading Modified Paths: -------------- trunk/src/enums/ArmorPresets.java trunk/src/scenario/ArmorPresetLoader.java trunk/src/scenario/ScenarioLoader.java This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dd...@us...> - 2008-01-13 07:48:26
|
Revision: 141 http://nitsloch.svn.sourceforge.net/nitsloch/?rev=141&view=rev Author: ddwatts Date: 2008-01-12 23:48:31 -0800 (Sat, 12 Jan 2008) Log Message: ----------- Add code for generic item presets Modified Paths: -------------- trunk/src/enums/GenericPresets.java trunk/src/scenario/GenericPresetLoader.java trunk/src/scenario/ScenarioLoader.java This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dd...@us...> - 2008-01-13 07:55:11
|
Revision: 142 http://nitsloch.svn.sourceforge.net/nitsloch/?rev=142&view=rev Author: ddwatts Date: 2008-01-12 23:55:17 -0800 (Sat, 12 Jan 2008) Log Message: ----------- Add code for magic presets Modified Paths: -------------- trunk/src/enums/MagicPresets.java trunk/src/scenario/MagicPresetLoader.java trunk/src/scenario/ScenarioLoader.java This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dd...@us...> - 2008-01-13 08:36:44
|
Revision: 143 http://nitsloch.svn.sourceforge.net/nitsloch/?rev=143&view=rev Author: ddwatts Date: 2008-01-13 00:36:48 -0800 (Sun, 13 Jan 2008) Log Message: ----------- Add code for weapon presets Modified Paths: -------------- trunk/src/enums/WeaponPresets.java trunk/src/scenario/ScenarioLoader.java trunk/src/scenario/WeaponPresetLoader.java This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dd...@us...> - 2008-01-13 21:19:03
|
Revision: 146 http://nitsloch.svn.sourceforge.net/nitsloch/?rev=146&view=rev Author: ddwatts Date: 2008-01-13 13:19:09 -0800 (Sun, 13 Jan 2008) Log Message: ----------- Start on regular shop GUI stuff. Radio buttons are now showing up properly based on the items in the shop. Modified Paths: -------------- trunk/src/enums/Shops.java trunk/src/enums/StoreItems.java trunk/src/game/GameWorld.java trunk/src/gui/ItemShop.java trunk/src/gui/ShopWindow.java trunk/src/land/Shop.java This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dd...@us...> - 2008-01-13 23:02:32
|
Revision: 147 http://nitsloch.svn.sourceforge.net/nitsloch/?rev=147&view=rev Author: ddwatts Date: 2008-01-13 15:02:38 -0800 (Sun, 13 Jan 2008) Log Message: ----------- Buying items now works Modified Paths: -------------- trunk/src/enums/StoreItems.java trunk/src/gui/ItemShop.java This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dd...@us...> - 2008-01-13 23:08:16
|
Revision: 148 http://nitsloch.svn.sourceforge.net/nitsloch/?rev=148&view=rev Author: ddwatts Date: 2008-01-13 15:08:20 -0800 (Sun, 13 Jan 2008) Log Message: ----------- Add some comments and fix compile warnings Modified Paths: -------------- trunk/src/gui/ItemShop.java trunk/src/land/Shop.java This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dd...@us...> - 2008-01-14 01:46:12
|
Revision: 149 http://nitsloch.svn.sourceforge.net/nitsloch/?rev=149&view=rev Author: ddwatts Date: 2008-01-13 17:46:14 -0800 (Sun, 13 Jan 2008) Log Message: ----------- Shops now almost completely work. You can buy and steal items. The only thing that still needs to be done is the chance to spawn a shopkeeper when none are around. Modified Paths: -------------- trunk/src/enums/StoreItems.java trunk/src/game/Enemy.java trunk/src/game/EnemyMovement.java trunk/src/gui/Controller.java trunk/src/gui/ItemShop.java trunk/src/gui/ShopWindow.java trunk/src/land/Shop.java This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dd...@us...> - 2008-01-20 06:42:12
|
Revision: 152 http://nitsloch.svn.sourceforge.net/nitsloch/?rev=152&view=rev Author: ddwatts Date: 2008-01-19 22:42:18 -0800 (Sat, 19 Jan 2008) Log Message: ----------- Genade/dynamite explosions redraw bug fixed. Other bug fixes. Modified Paths: -------------- trunk/src/game/OutsideView.java trunk/src/gui/ItemShop.java This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dd...@us...> - 2008-01-20 07:30:35
|
Revision: 155 http://nitsloch.svn.sourceforge.net/nitsloch/?rev=155&view=rev Author: ddwatts Date: 2008-01-19 23:30:41 -0800 (Sat, 19 Jan 2008) Log Message: ----------- New Game option now works Modified Paths: -------------- trunk/src/enums/AmmoPresets.java trunk/src/enums/ArmorPresets.java trunk/src/enums/GenericPresets.java trunk/src/enums/MagicPresets.java trunk/src/enums/StreetType.java trunk/src/enums/WeaponPresets.java trunk/src/game/CitySpawns.java trunk/src/game/DungeonSpawns.java trunk/src/game/GameWorld.java trunk/src/game/Messages.java trunk/src/game/ShopkeeperSpawns.java trunk/src/game/TheGame.java trunk/src/gui/Controller.java trunk/src/gui/GameFrame.java trunk/src/scenario/Images.java This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dd...@us...> - 2008-01-27 06:12:20
|
Revision: 160 http://nitsloch.svn.sourceforge.net/nitsloch/?rev=160&view=rev Author: ddwatts Date: 2008-01-26 22:12:25 -0800 (Sat, 26 Jan 2008) Log Message: ----------- Loading games from the initial window now works Modified Paths: -------------- trunk/src/game/GameWorld.java trunk/src/game/TheGame.java trunk/src/gui/Controller.java trunk/src/gui/CreatePlayerFrame.java This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dd...@us...> - 2008-01-28 07:45:41
|
Revision: 162 http://nitsloch.svn.sourceforge.net/nitsloch/?rev=162&view=rev Author: ddwatts Date: 2008-01-27 23:45:45 -0800 (Sun, 27 Jan 2008) Log Message: ----------- Start on the editor. Main editor window appears with an initialized map with specified dimensions Modified Paths: -------------- trunk/src/Constants.java trunk/src/RoofNotifier.java trunk/src/game/GameWorld.java trunk/src/game/TheEditor.java trunk/src/gui/EditorWindow.java trunk/src/gui/InitEditorFrame.java This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |