remove default_smoothed images - unused. remove references to mythical sdefault.001 / default_smoothed.111 image from server code.
- remove google sparsehash dependency again, its actually slower than gcc's current std::tr1::unordered_hash. - remove hardcoded archtable code - the archetypes table is now no longer limited by an hardcoded constant but can grow dynamically at runtime. - removed some cruft
- experimentall.y determine minimum random map size (12) - harden random map generator by stresstesting - reduced codesize while increasing readability (RANDOM => rndm) - fixed a likely unimportant bug in random_roll64 - possibly broke lots of code
- move util/world.png to server/lib/ (should go to maps/world.png, but I will not fiddle around with that now) - compile worldmap to world.pst and install it. - rename FLAG_NO_SAVE to FLAG_NO_MAP_SAVE - define FABS to fabs, as intended - fix all(?) the FABS(int) calls
RANDOM was broken due to signedness issues, also rewrote random_roll, no longer uses luck, but should
just experimenting
fix possibly uninitialised kx,ky because find_free_spot does not seem to guarentee a result
comments
- micro-optimised hit_map and ok_to_put_more, this immensely helped reduce load on dense maps. - introduced xy_normalise, which is imho a saner interface and much faster than get_map_flags so should be used in new code (and time-critical code).
implement new flag_no_save to avoid saving
- more improvements/fixes - timestamp with millisecond accuracy, horrible code
added some copyrights
.111 -> .x11
fixed the problem where objects with speed=0 were on the active object list. extended debug_desc a bit. implemented object::has_active_speed ().
preliminary snapshot check-in, DO NOT USE IN PRODUCTION SYSTEMS See the Changes file for details
- implement (mostly untested) array member support for genacc - make some arrays and other members available to perl - redefined meaning of NUM_FLAGS (really meaning number of flags now, as the code assumed anyway). - moved afk flag to client, where it belongs (make sno sense to save it, is also true for wiz &c). - updated extensions to reflect all that (Jewler.pm should be tested w.r.t. resistances)
- rename flags => flag (because its rpedominantly used singular), - remove remaining use of the flags array semantics
- made state a per-client variable (that does not magically make state a per-client thing!) - rename player->socket to player->ns. its not a good name for "client", but it is an historical artifact, and better than "socket".
- made client a first-class crossfire-perl object (its attachable), but perl support is missing. - added some client events - fixed reply not working after logout
changed the type 0 description to reflect the realworld a little bit more reasonably...
removed TOOL and BUILDFAC which were also dead types.
removed dead types: FIREHOLES and POISONCLOUD.
removed LIGHT_SOURCE, MONSTER and SPAWN_GENERATOR types.
removed TRAP_PART, renamed WALL to BUILDABLE_WALL to reflect the usage of this type these days and fixed generic destroyer not to remove players and other objects that can crash the server (hopefully).
removed QUEST and LIGHTNING types.
removed EXPERIENCE type.
reformatted definitions
removed FLAG_TREASURE as it is not used by the code and not by the archetypes or in maps.
ooification
- remove recycle_tmp_maps setting (hardwired to true) - replace object->flags by std::bitset, seems to be way more efficient, for some unexplainable and not looked-into reason. its way cleaner, too...
I goofed.
more slight copyright adjustments
- implement event watcher autoncancellation on reload - used it everywhere - removed lots of compatibility cruft - configure does no longer check for mandatory unix functionality/headers - confgiure now runs much faster
removed #ifn?def WIN32 from all files
updated and applied newpickup flesh patch by benoƮt <bencha1969@yahoo.fr>
enlarge killer and other fields, do not use silly BIG_NAME with no meaning.
indent
indent
indent
expand initial tabs to spaces
some more fixes and refinements
renamed SAFE_FLOOR to SAFE_GROUND
removed P_SAFE_MAP and added P_SAFE as map flag set by an item with type SAFE_FLOOR (165)
UPSTREAM merge from 15.03.2006
UPSTREAM_2006-02-22 merge
initial cfperl/cf.schmorp.de import
Initial revision
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.