Protocol: | pserver | User: | anonymous |
Machine: | crossfire.cvs.sourceforge.net | CVSROOT: | /cvsroot/crossfire |
Filename: random_map.h | |||
Revision 1.17 | ryo_saeba | 2006/06/03 16:56:27 | +17 -14 |
Implement feature request #815622 | |||
Show difference between Revision 1.16 and 1.17 | |||
Revision 1.16 | ryo_saeba | 2005/08/12 08:46:34 | +2 -2 |
Fields changed from char* to const char*, cleanup. | |||
Show difference between Revision 1.15 and 1.16 | |||
Revision 1.15 | cavesomething | 2005/08/11 10:42:35 | +2 -1 |
Make random maps take the region of the map creates them. | |||
Show difference between Revision 1.14 and 1.15 | |||
Revision 1.14 | akirschbaum | 2005/07/20 03:38:11 | +3 -1 |
random_maps/random_map.h: Add prototype for set_random_map_variable(). server/main.c: Remove prototype for set_random_map_variable(). | |||
Show difference between Revision 1.13 and 1.14 | |||
Revision 1.13 | mwedel | 2005/04/14 01:57:02 | +2 -1 |
Random map code improvements - add support for subdirectories in the style maps for random maps. Add difficulty_increase parameter for random maps to control how fast they get harder. doc/Developers/random-maps: Add notes about difficulty_increase parameter. random_maps/Makefile.am: Update proto directive to use cproto, not cextract. random_maps/random_map.c: Update to use difficulty_increase when figuring difficulty of maps. Add code to save it in list of parameters. random_maps/random_map.h: Add difficulty_increase field to structure. random_maps/reader.l, reader.c: Add code to find difficulty_increase parameter. random_maps/rproto.h: rebuilt. random_maps/special.c: Pass in difficulty increase to write_parameters_to_string() random_maps/style.c: Remove old scandir - replaced by our own load_dir() - necessary because we need to check type of files, which scandir doesn't easily let us do. Since it is now our own routine, just return array of file names instead of dirent structures. MSW 2005-04-13 | |||
Show difference between Revision 1.12 and 1.13 | |||
Revision 1.12 | mwedel | 2004/12/28 19:08:49 | +1 -2 |
Applied patch 1001079 - make alchemy books say what skill & equipment is needed - by Kevin Rudat. common/readable.c: Update code that generates book title, contents to denote what skill and equipment is needed. random_maps/{random_map.c, random_map.h, reader.l, reader.c, standalone.c}, server/main.c: Remove generate_treasure_now as an option for random maps - none are using delayed treasure, and IMO, if someone did, it would horribly break things, so it should never be used - given that, no reason to leave the code there. server/main.c: Add additional debugging for process events on removed objects - trying to track down occasional disease crash. server/time.c: Fix crash in move_player_mover() - it was never map tile aware, but even more so, appears to have always been broken if the player move tried to push the player off the edge of a map. Check for out of map condition, as well as make it map tile aware. MSW 2004-12-28 | |||
Show difference between Revision 1.11 and 1.12 | |||
Revision 1.11 | temitchell | 2004/08/07 18:24:13 | +3 -2 |
added fix for random maps with single arch walls, added level indicator on random map signs added new parameter 'exit_on_final_map'- see documentation addresses patches 983780 and 983716 | |||
Show difference between Revision 1.10 and 1.11 | |||
Revision 1.10 | mwedel | 2003/03/07 01:33:13 | +2 -1 |
Various bug fixes. crossedit/Attr.c: Minor cleanup to eliminate some compile time warnings. plugin/plugin_python.c: Remove some unused variables, thus fixing up some compiler warnings. random_maps/random_map.c, random_maps/random_map.h, random_maps/special.c: Add MIN_RANDOM_MAP_SIZE values instead of hardcode constants. server/monster.c: Fix communicate - odd bug can be map gets swapped out just after player is transferred to another map, causing crashes as map that was originally spoken on is no longer in memory. server/rune.c: add missing free_object call when erasing runes. server/skills.c: Change write_on_item to determine type of writing based on content of mesage, or lack thereof, and not the marked object. Fix problem of buf not being initalized. MSW 2003-03-06 | |||
Show difference between Revision 1.9 and 1.10 | |||
Revision 1.9 | mwedel | 2001/10/07 01:45:40 | +52 -0 |
common/map.c: Add INS_ON_TOP flag to insert_ob_in_map calls to preserve stacking order. Modify update_position to generate map spaces with more proper order. common/object.c: Modify insert_ob_in_map so that it preserves stacking if INS_ON_TOP is set. crossedit/CrEdit.c: Add missing code that would draw third face on a space. include/object.h: Add INS_ON_TOP flag/define. random_maps/exit.c: Modify code so that if the random maps leading to a special map are reset, they will properly link in with an already loaded final map (and update exit from final map back up) as needed. Also fix bug in that if the final map has been reset, a new one will now be properly loaded. random_maps/random_map.c:Update minimum size to be 7 (up from 6) - fixes bug which caused crashes when square_spiral maps of 6x6 would fail to generate. random_maps/random_map.h,random_maps/room_gen_onion.c: move OPT_values from room_gen_onion to random_map.h since the square_spiral code uses them. random_maps/square_spiral.c: Update call to map_gen_onion to use OPT_.. values instead of constant integer. random_maps/treasure.c: Add some casts to sprintf statements to eliminate some compiler warnings. server/main.c: Modify enter_exit code such that a random map has reset, we generate a new random map. This can happen when the random_map resets before the map that leads to them resets. MSW 2001-10-06 | |||
Show difference between Revision 1.8 and 1.9 | |||
Revision 1.8 | mardahl | 2001/05/14 23:30:04 | +1 -0 |
Activated BehTong's expand2x code for random maps. Option "expand2x 1" in the parameter file turns it on. random_map.c random_map.h reader.c reader.l --PeterM 5/14/2001 | |||
Show difference between Revision 1.7 and 1.8 | |||
Revision 1.7 | peterm | 2001/02/11 02:17:06 | +2 -1 |
Added a square spiral type of layout. | |||
Show difference between Revision 1.6 and 1.7 | |||
Revision 1.6 | peterm | 2001/02/08 23:00:48 | +2 -1 |
Added a snake-like layout. With no symmetry, it's just a progression back-and-forth. | |||
Show difference between Revision 1.5 and 1.6 | |||
Revision 1.5 | peterm | 2001/01/16 01:46:04 | +2 -1 |
New layout style "nethack" or "rogue" like. | |||
Show difference between Revision 1.4 and 1.5 | |||
Revision 1.4 | peterm | 2000/12/15 04:06:06 | +2 -1 |
Implemented a new sort of random map: the spiral. | |||
Show difference between Revision 1.3 and 1.4 | |||
Revision 1.3 | peterm | 2000/12/14 21:09:19 | +40 -34 |
PeterM: Fixed up random map code. Used a lot of global variables for stuff. Always meant to fix it and just got 'round to it. | |||
Show difference between Revision 1.2 and 1.3 | |||
Revision 1.2 | cvs | 2000/06/07 19:34:33 | +2 -0 |
Fixed a problem in monster.c which would lead to crashes due to multipart objects not being done right. | |||
Show difference between Revision 1.1 and 1.2 | |||
Revision 1.1 | uid200 | 1999/04/02 13:10:03 | None |
Initial revision | |||
First version | |||
Revision 1.1.1.1 | uid200 | 1999/04/02 13:10:03 | +0 -0 |
First CVS revsion: crossfire-0.95.3 | |||
Show difference between Revision 1.1 and 1.1.1.1 |