home · contact · privacy
plomrogue
9 years agoServer: Don't proliferate things on map cells inhabited by same type.
Christian Heller [Thu, 23 Oct 2014 21:54:39 +0000 (23:54 +0200)]
Server: Don't proliferate things on map cells inhabited by same type.

9 years agoServer: Skip redundant tests in try_thing_proliferation().
Christian Heller [Wed, 15 Oct 2014 08:44:42 +0000 (10:44 +0200)]
Server: Skip redundant tests in try_thing_proliferation().

9 years agoFix code line lengths.
Christian Heller [Wed, 15 Oct 2014 01:33:23 +0000 (03:33 +0200)]
Fix code line lengths.

9 years agoerlehmann's patch of his own redo system, yet another bug fix.
Christian Heller [Wed, 15 Oct 2014 01:25:35 +0000 (03:25 +0200)]
erlehmann's patch of his own redo system, yet another bug fix.

9 years agoServer: New command TT_PROLIFERATE sets chance for thing proliferation.
Christian Heller [Wed, 15 Oct 2014 01:14:50 +0000 (03:14 +0200)]
Server: New command TT_PROLIFERATE sets chance for thing proliferation.

9 years agoCopy bugfixed version of erlehmann's redo script.
Christian Heller [Fri, 10 Oct 2014 01:35:43 +0000 (03:35 +0200)]
Copy bugfixed version of erlehmann's redo script.

9 years agoServer/AI: Correct variable name.
Christian Heller [Thu, 9 Oct 2014 23:03:31 +0000 (01:03 +0200)]
Server/AI: Correct variable name.

9 years agoServer: Correct AI description.
Christian Heller [Thu, 9 Oct 2014 22:27:07 +0000 (00:27 +0200)]
Server: Correct AI description.

9 years agoUpdate erlehmann's redo scripts.
Christian Heller [Thu, 9 Oct 2014 22:16:55 +0000 (00:16 +0200)]
Update erlehmann's redo scripts.

9 years agoLicense everything (GPL).
Christian Heller [Thu, 9 Oct 2014 20:03:57 +0000 (22:03 +0200)]
License everything (GPL).

9 years agoUpgrade to newest version of erlehmann's redo scripts.
Christian Heller [Mon, 22 Sep 2014 12:08:50 +0000 (14:08 +0200)]
Upgrade to newest version of erlehmann's redo scripts.

9 years agoServer: Make code in build_fov_map() slightly less bizarre.
Christian Heller [Sat, 13 Sep 2014 16:31:24 +0000 (18:31 +0200)]
Server: Make code in build_fov_map() slightly less bizarre.

9 years agoServer: Minor simplifcation of mv_yx_in_dir_legal().
Christian Heller [Sat, 6 Sep 2014 02:37:21 +0000 (04:37 +0200)]
Server: Minor simplifcation of mv_yx_in_dir_legal().

9 years agoServer: Minor simplification of mv_yx_in_dir_legal().
Christian Heller [Sat, 6 Sep 2014 02:34:56 +0000 (04:34 +0200)]
Server: Minor simplification of mv_yx_in_dir_legal().

9 years agoServer: Minor optimization of mv_yx_in_dir_legal().
Christian Heller [Sat, 6 Sep 2014 01:29:36 +0000 (03:29 +0200)]
Server: Minor optimization of mv_yx_in_dir_legal().

9 years agoServer: Minor improvements to mv_yx_in_dir_legal().
Christian Heller [Sat, 6 Sep 2014 01:08:31 +0000 (03:08 +0200)]
Server: Minor improvements to mv_yx_in_dir_legal().

9 years agoServer: Minor refactoring.
Christian Heller [Sat, 6 Sep 2014 01:00:27 +0000 (03:00 +0200)]
Server: Minor refactoring.

9 years agoServer: Don't do two tests where one suffices.
Christian Heller [Wed, 3 Sep 2014 00:36:33 +0000 (02:36 +0200)]
Server: Don't do two tests where one suffices.

9 years agoServer: In mv_yx_in_dir_wrap(), test for excess wrapping.
Christian Heller [Wed, 3 Sep 2014 00:13:23 +0000 (02:13 +0200)]
Server: In mv_yx_in_dir_wrap(), test for excess wrapping.

9 years agoServer: Minor function renaming.
Christian Heller [Wed, 3 Sep 2014 00:05:01 +0000 (02:05 +0200)]
Server: Minor function renaming.

9 years agoServer: Add explanatory comments to build_fov_map().
Christian Heller [Tue, 2 Sep 2014 23:00:19 +0000 (01:00 +0200)]
Server: Add explanatory comments to build_fov_map().

9 years agoServer: Improve readability of build_fov_map() code.
Christian Heller [Tue, 2 Sep 2014 22:37:03 +0000 (00:37 +0200)]
Server: Improve readability of build_fov_map() code.

9 years agoServer: Some refactoring.
Christian Heller [Fri, 22 Aug 2014 02:01:40 +0000 (04:01 +0200)]
Server: Some refactoring.

9 years agoServer: In actor_move() avoid illegal world.map.cells access.
Christian Heller [Fri, 22 Aug 2014 01:19:17 +0000 (03:19 +0200)]
Server: In actor_move() avoid illegal world.map.cells access.

9 years agoServer: Refactor, remove yx_uint8 module.
Christian Heller [Fri, 22 Aug 2014 01:00:13 +0000 (03:00 +0200)]
Server: Refactor, remove yx_uint8 module.

9 years agoServer: Remove unneeded library includes.
Christian Heller [Fri, 22 Aug 2014 00:01:01 +0000 (02:01 +0200)]
Server: Remove unneeded library includes.

9 years agoServer: Remove unneeded yx_uint8_cmp() function.
Christian Heller [Thu, 21 Aug 2014 23:53:08 +0000 (01:53 +0200)]
Server: Remove unneeded yx_uint8_cmp() function.

9 years agoServer: Minor refactoring, removal of unneeded is_passable().
Christian Heller [Thu, 21 Aug 2014 23:35:41 +0000 (01:35 +0200)]
Server: Minor refactoring, removal of unneeded is_passable().

9 years agoServer: Refactor yx_uint8 moving; handle actors hitting the map edge.
Christian Heller [Thu, 21 Aug 2014 23:19:51 +0000 (01:19 +0200)]
Server: Refactor yx_uint8 moving; handle actors hitting the map edge.

9 years agoAdd to TODO.
Christian Heller [Thu, 21 Aug 2014 11:54:13 +0000 (13:54 +0200)]
Add to TODO.

9 years agoServer: Remove superfluous variable in build_fov_map().
Christian Heller [Thu, 21 Aug 2014 00:29:55 +0000 (02:29 +0200)]
Server: Remove superfluous variable in build_fov_map().

9 years agoServer: Free memorized things on map upon actor death.
Christian Heller [Sun, 17 Aug 2014 03:15:51 +0000 (05:15 +0200)]
Server: Free memorized things on map upon actor death.

9 years agoUpdate erlehmann's redo scripts.
Christian Heller [Sun, 17 Aug 2014 02:44:40 +0000 (04:44 +0200)]
Update erlehmann's redo scripts.

9 years agoServer: Fix typo in T_MEMTHING string.
Christian Heller [Sun, 17 Aug 2014 02:40:17 +0000 (04:40 +0200)]
Server: Fix typo in T_MEMTHING string.

9 years agoUpdate README.
Christian Heller [Sun, 17 Aug 2014 02:34:27 +0000 (04:34 +0200)]
Update README.

9 years agoRemove redundant uses of NULL.
Christian Heller [Sun, 17 Aug 2014 02:26:47 +0000 (04:26 +0200)]
Remove redundant uses of NULL.

9 years agoServer: Add inanimate things to map memory, integrate into AI searches.
Christian Heller [Sun, 17 Aug 2014 01:58:06 +0000 (03:58 +0200)]
Server: Add inanimate things to map memory, integrate into AI searches.

9 years agoServer: Minor code-stylistic corrections.
Christian Heller [Sat, 16 Aug 2014 18:17:49 +0000 (20:17 +0200)]
Server: Minor code-stylistic corrections.

9 years agoServer: Always display consumables on top of stack of inanimate objects.
Christian Heller [Sat, 16 Aug 2014 18:14:31 +0000 (20:14 +0200)]
Server: Always display consumables on top of stack of inanimate objects.

9 years agoAdd to TODO.
Christian Heller [Sat, 16 Aug 2014 04:45:29 +0000 (06:45 +0200)]
Add to TODO.

9 years agoServer/AI: Search for consumables if no urgent enemy matters.
Christian Heller [Sat, 16 Aug 2014 04:35:45 +0000 (06:35 +0200)]
Server/AI: Search for consumables if no urgent enemy matters.

9 years agoServer/AI: Fix bug in standing-on-consumable test.
Christian Heller [Sat, 16 Aug 2014 02:31:10 +0000 (04:31 +0200)]
Server/AI: Fix bug in standing-on-consumable test.

9 years agoServer/AI: Pick up consumable if standing on it and no enemies in FOV.
Christian Heller [Sat, 16 Aug 2014 01:41:45 +0000 (03:41 +0200)]
Server/AI: Pick up consumable if standing on it and no enemies in FOV.

9 years agoServer/AI: Consume nutritious items if no enemies are visible.
Christian Heller [Sat, 16 Aug 2014 01:26:59 +0000 (03:26 +0200)]
Server/AI: Consume nutritious items if no enemies are visible.

9 years agoServer/AI: Check for visibility of enemies before building Djikstra map.
Christian Heller [Sat, 16 Aug 2014 01:00:52 +0000 (03:00 +0200)]
Server/AI: Check for visibility of enemies before building Djikstra map.

9 years agoServer: Minor field of view code simplifications.
Christian Heller [Wed, 13 Aug 2014 23:56:18 +0000 (01:56 +0200)]
Server: Minor field of view code simplifications.

9 years agoServer: Replace unnecessary bitwise operations with simple == tests.
Christian Heller [Wed, 13 Aug 2014 23:40:47 +0000 (01:40 +0200)]
Server: Replace unnecessary bitwise operations with simple == tests.

9 years agoServer: Make FOV algorithm symmetrical.
Christian Heller [Wed, 6 Aug 2014 03:44:21 +0000 (05:44 +0200)]
Server: Make FOV algorithm symmetrical.

9 years agoServer: Ensure that AI does not move towards enemies outside its FOV.
Christian Heller [Sun, 3 Aug 2014 21:29:12 +0000 (23:29 +0200)]
Server: Ensure that AI does not move towards enemies outside its FOV.

9 years agoServer: Improve comment description on dijkstra_map().
Christian Heller [Sun, 3 Aug 2014 19:20:02 +0000 (21:20 +0200)]
Server: Improve comment description on dijkstra_map().

9 years agoClient: Scrolling toggles player auto-focus off.
Christian Heller [Sun, 3 Aug 2014 03:59:15 +0000 (05:59 +0200)]
Client: Scrolling toggles player auto-focus off.

9 years agoAdd command to let the AI decide player's next move.
Christian Heller [Sun, 3 Aug 2014 03:49:23 +0000 (05:49 +0200)]
Add command to let the AI decide player's next move.

9 years agoUse newest versions of erlehmann's redo scripts.
Christian Heller [Sun, 3 Aug 2014 02:37:53 +0000 (04:37 +0200)]
Use newest versions of erlehmann's redo scripts.

9 years agoFix some inconsistencies in files README and SERVER_COMMANDS.
Christian Heller [Sun, 3 Aug 2014 02:33:16 +0000 (04:33 +0200)]
Fix some inconsistencies in files README and SERVER_COMMANDS.

9 years agoClient: Fix memory leak.
Christian Heller [Sun, 3 Aug 2014 02:20:52 +0000 (04:20 +0200)]
Client: Fix memory leak.

9 years agoUpdate README.
Christian Heller [Sun, 3 Aug 2014 02:07:31 +0000 (04:07 +0200)]
Update README.

9 years agoUpdate comment info on macros needed for snprintf().
Christian Heller [Sun, 3 Aug 2014 01:58:50 +0000 (03:58 +0200)]
Update comment info on macros needed for snprintf().

9 years agoServer: Only write record and save file if 15 seconds have passed.
Christian Heller [Sun, 3 Aug 2014 01:56:09 +0000 (03:56 +0200)]
Server: Only write record and save file if 15 seconds have passed.

9 years agoServer: Fix minor dependency issue.
Christian Heller [Sat, 2 Aug 2014 19:54:49 +0000 (21:54 +0200)]
Server: Fix minor dependency issue.

9 years agoAdd auto-mapping / map memory.
Christian Heller [Sat, 2 Aug 2014 03:20:05 +0000 (05:20 +0200)]
Add auto-mapping / map memory.

9 years agoServer: Reduce malloc() calls in FOV generation.
Christian Heller [Fri, 1 Aug 2014 00:34:33 +0000 (02:34 +0200)]
Server: Reduce malloc() calls in FOV generation.

9 years agoServer: Minor optimization of pathfinding algorithm.
Christian Heller [Fri, 1 Aug 2014 00:16:15 +0000 (02:16 +0200)]
Server: Minor optimization of pathfinding algorithm.

9 years agoServer: Refactor writing of field of view to Thing struct.
Christian Heller [Wed, 30 Jul 2014 04:38:31 +0000 (06:38 +0200)]
Server: Refactor writing of field of view to Thing struct.

9 years agoServer: Slightly simplify command parsing.
Christian Heller [Wed, 30 Jul 2014 03:27:46 +0000 (05:27 +0200)]
Server: Slightly simplify command parsing.

9 years agoServer: Remove some weird debugging code leftovers.
Christian Heller [Wed, 30 Jul 2014 02:26:00 +0000 (04:26 +0200)]
Server: Remove some weird debugging code leftovers.

9 years agoServer: Remove superfluous empty line in code.
Christian Heller [Tue, 29 Jul 2014 04:16:01 +0000 (06:16 +0200)]
Server: Remove superfluous empty line in code.

9 years agoServer: Make actors enemy-pathfinding travel around actors of own type.
Christian Heller [Tue, 29 Jul 2014 04:12:57 +0000 (06:12 +0200)]
Server: Make actors enemy-pathfinding travel around actors of own type.

9 years agoFixed typo in SERVER_COMMANDS.
Christian Heller [Thu, 24 Jul 2014 04:25:29 +0000 (06:25 +0200)]
Fixed typo in SERVER_COMMANDS.

9 years agoIn SERVER_COMMANDS file, fix description of TA_NAME command.
Christian Heller [Thu, 24 Jul 2014 04:13:14 +0000 (06:13 +0200)]
In SERVER_COMMANDS file, fix description of TA_NAME command.

9 years agoFix wrong language in SERVER_COMMANDS file.
Christian Heller [Thu, 24 Jul 2014 04:01:46 +0000 (06:01 +0200)]
Fix wrong language in SERVER_COMMANDS file.

9 years agoRemove tasks from TODO considered of no need.
Christian Heller [Thu, 24 Jul 2014 03:52:23 +0000 (05:52 +0200)]
Remove tasks from TODO considered of no need.

9 years agoAdd documentation on server commands.
Christian Heller [Thu, 24 Jul 2014 03:51:21 +0000 (05:51 +0200)]
Add documentation on server commands.

9 years agoServer: Fix buggy handling of ID sizes in TT_ID/TA_ID/T_ID commands.
Christian Heller [Thu, 24 Jul 2014 02:35:46 +0000 (04:35 +0200)]
Server: Fix buggy handling of ID sizes in TT_ID/TA_ID/T_ID commands.

9 years agoServer: Rename thing, thing type and thing action selection commands.
Christian Heller [Thu, 24 Jul 2014 02:33:06 +0000 (04:33 +0200)]
Server: Rename thing, thing type and thing action selection commands.

9 years agoServer: Fix buggy initialization of new thing types.
Christian Heller [Thu, 24 Jul 2014 01:16:35 +0000 (03:16 +0200)]
Server: Fix buggy initialization of new thing types.

9 years agoServer: Fix buggy evaluation of THING_ACTION id argument.
Christian Heller [Thu, 24 Jul 2014 00:39:13 +0000 (02:39 +0200)]
Server: Fix buggy evaluation of THING_ACTION id argument.

9 years agoServer: Ensure THING_ACTION command fails on argument 0.
Christian Heller [Wed, 23 Jul 2014 05:34:22 +0000 (07:34 +0200)]
Server: Ensure THING_ACTION command fails on argument 0.

9 years agoServer: Always delete worldstate file when world is set inactive.
Christian Heller [Wed, 23 Jul 2014 05:10:44 +0000 (07:10 +0200)]
Server: Always delete worldstate file when world is set inactive.

9 years agoServer: Remove barely used and not very useful yx_to_map_pos().
Christian Heller [Wed, 23 Jul 2014 03:25:46 +0000 (05:25 +0200)]
Server: Remove barely used and not very useful yx_to_map_pos().

9 years agoUse not f_name variable but __func__, standardize function name writing.
Christian Heller [Wed, 23 Jul 2014 03:16:12 +0000 (05:16 +0200)]
Use not f_name variable but __func__, standardize function name writing.

9 years agoAdd to TODO.
Christian Heller [Tue, 22 Jul 2014 05:09:26 +0000 (07:09 +0200)]
Add to TODO.

9 years agoReplace make build system with redo, serve erlehmann's redo as fallback.
Christian Heller [Tue, 22 Jul 2014 04:13:00 +0000 (06:13 +0200)]
Replace make build system with redo, serve erlehmann's redo as fallback.

9 years agoRemove from TODO consideration of 2D map arrays.
Christian Heller [Sun, 20 Jul 2014 03:26:50 +0000 (05:26 +0200)]
Remove from TODO consideration of 2D map arrays.

For details, see:
<http://www.plomlompom.de/PlomRogue/plomwiki.php?title=ArraysFor2DMaps1DOr2D>

9 years agoUpdate README.
Christian Heller [Mon, 14 Jul 2014 14:05:52 +0000 (16:05 +0200)]
Update README.

9 years agoMinor code beautifications.
Christian Heller [Sun, 13 Jul 2014 21:56:47 +0000 (23:56 +0200)]
Minor code beautifications.

9 years agoTODO list: Eliminate what's accomplished in previous commit.
Christian Heller [Sun, 13 Jul 2014 21:54:24 +0000 (23:54 +0200)]
TODO list: Eliminate what's accomplished in previous commit.

9 years agoServer: Read in former "config" data as normal server god commands.
Christian Heller [Sun, 13 Jul 2014 21:49:13 +0000 (23:49 +0200)]
Server: Read in former "config" data as normal server god commands.

Re-wrote and re-factored lots of stuff to facilitate this.

9 years agoAdd to TODO.
Christian Heller [Sat, 12 Jul 2014 03:49:20 +0000 (05:49 +0200)]
Add to TODO.

9 years agoUse direction names instead of numbers in player move communication.
Christian Heller [Fri, 11 Jul 2014 23:25:06 +0000 (01:25 +0200)]
Use direction names instead of numbers in player move communication.

9 years agoClient: Send no arguments for commands where the server expects none.
Christian Heller [Thu, 10 Jul 2014 04:38:14 +0000 (06:38 +0200)]
Client: Send no arguments for commands where the server expects none.

9 years agoAdd to TODO.
Christian Heller [Thu, 10 Jul 2014 04:25:55 +0000 (06:25 +0200)]
Add to TODO.

9 years agoServer: Expect (but don't force) some player commands as sans argument.
Christian Heller [Thu, 10 Jul 2014 04:23:19 +0000 (06:23 +0200)]
Server: Expect (but don't force) some player commands as sans argument.

9 years agoServer: Simplify rule for when to update worldstate file.
Christian Heller [Thu, 10 Jul 2014 01:28:18 +0000 (03:28 +0200)]
Server: Simplify rule for when to update worldstate file.

9 years agoHandle (non-existence) of log file smarter in start / wrapper scripts.
Christian Heller [Wed, 9 Jul 2014 23:50:49 +0000 (01:50 +0200)]
Handle (non-existence) of log file smarter in start / wrapper scripts.

9 years agoIn start script, give helpful advice to players not having compiled yet.
Christian Heller [Wed, 9 Jul 2014 23:45:23 +0000 (01:45 +0200)]
In start script, give helpful advice to players not having compiled yet.

9 years agoRemove alleged bug from TODO list, can't reproduce it.
Christian Heller [Wed, 9 Jul 2014 23:41:12 +0000 (01:41 +0200)]
Remove alleged bug from TODO list, can't reproduce it.

9 years agoAdd wrapper script over wrapper script so log messages get read on exit.
Christian Heller [Wed, 9 Jul 2014 23:31:17 +0000 (01:31 +0200)]
Add wrapper script over wrapper script so log messages get read on exit.

9 years agoAlarm about / don't start on finding temp file filesaving leftovers.
Christian Heller [Wed, 9 Jul 2014 23:04:31 +0000 (01:04 +0200)]
Alarm about / don't start on finding temp file filesaving leftovers.

9 years agoRefactor atomic writing to atomic_write_start() + atomic_write_finish().
Christian Heller [Wed, 9 Jul 2014 22:13:23 +0000 (00:13 +0200)]
Refactor atomic writing to atomic_write_start() + atomic_write_finish().

9 years agoServer: Remove memory leak in save_world().
Christian Heller [Wed, 9 Jul 2014 21:31:58 +0000 (23:31 +0200)]
Server: Remove memory leak in save_world().