ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/define.h
Revision 1.59 - (view) (download) (annotate) - [select for diffs]
Sat May 19 00:08:11 2007 UTC (17 years ago) by root
Branch: MAIN
CVS Tags: rel-2_1
Changes since 1.58: +2 -0 lines
Diff to previous 1.58
- optimise invoke by using an inline check on a bitset (kind of a simplified
  bloom filter for all events).

Revision 1.58 - (view) (download) (annotate) - [select for diffs]
Thu May 17 20:27:01 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.57: +8 -8 lines
Diff to previous 1.57
- more rewrite:
  change_skill now only changes the chosen_skill, nothing else.
  new flag to suppress skill tool behaviour of readying the skill
  when applying the tool, for use in find_skill.

Revision 1.57 - (view) (download) (annotate) - [select for diffs]
Thu May 17 14:14:55 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.56: +1 -1 lines
Diff to previous 1.56
remove superfluous/broken settings and related code

- COZY_SERVER:
  enabled most msall adjustments, changed digestion formula to the original one,
  party member treament w.r.t. pets enforced.
- PROHIBIT_PLAYERKILL: default
- real_wiz: removed and enforced
- create_home_portals: removed and enforced
- casting_time: removed and forced to be off (was crashing anyways)
- was_wiz flag removed and treated as off usually unless it was used
  in place of flag_wiz.
- do not save or restore wiz, wizcast and wizpass flags.

Revision 1.56 - (view) (download) (annotate) - [select for diffs]
Sun May 13 15:13:57 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.55: +4 -4 lines
Diff to previous 1.55
lots of little changes:
- fix MIN/MAX_AC/WC and use them
- abstratc weapon speed into player->weapon_speed, as
  it is just way too confusing and probably needs frequent updates :)
- use ob_speed/weapon_sp * 0.5 as an arbitrary real attack speed
  .5 needs tuning, elsewhere, but ahs been put in as a stopgap measure.
- fix speed issues, properly use weapon_sp (if a bit lagged)
- clear current weapon when readying skills because a skill might already
  be readied implicitly.

Revision 1.55 - (view) (download) (annotate) - [select for diffs]
Sat May 12 19:49:24 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.54: +1 -1 lines
Diff to previous 1.54
*** empty log message ***

Revision 1.54 - (view) (download) (annotate) - [select for diffs]
Sat May 12 18:51:20 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.53: +8 -0 lines
Diff to previous 1.53
*** empty log message ***

Revision 1.53 - (view) (download) (annotate) - [select for diffs]
Thu May 3 09:26:45 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.52: +1 -1 lines
Diff to previous 1.52
only allow one range weapon to be applied at any one time, some dynbuf fixes

Revision 1.52 - (view) (download) (annotate) - [select for diffs]
Sat Apr 28 17:51:58 2007 UTC (17 years, 1 month ago) by root
Branch: MAIN
Changes since 1.51: +2 -2 lines
Diff to previous 1.51
implement two new flags and associated gadgets:

- FLAG_PRECIOUS: used to mark precious pet monsters. semantics
  are not fleshed out yet, but destroy_pets floors leave them be.
  ideas: save them to the player file, do not kill with killpets
  (but only with killpets all), try harder when following player on other
  maps.

- FLAG_TREASURE_ENV: put treasure into the environment instead of
  into the object, useful for terrain types on the worldmap.
  - bumped chance field in treasures to 16 bit (ideally float).

Revision 1.51 - (view) (download) (annotate) - [select for diffs]
Sat Apr 21 16:56:32 2007 UTC (17 years, 1 month ago) by root
Branch: MAIN
Changes since 1.50: +1 -1 lines
Diff to previous 1.50
having a) monsters as treasures b) multipart monsters as treasures
and c) multipart monsters as terasures on tiled maps... hit a big
pile of bugs again.

this change:

- implements a per-map active flag. when items are being inserted
  they are activated or deactivated according to that flag.
  this could get rid of most or even all of the explicit
  activate/deactivate calls.
- implement some glue to make instantiating multipart objects easier
  (this is used inside fix_multipart_objects and might make it possible
  to put multipart objects at map borders - those were winged before)
- do finer-grained locking as to not lead to deadlocks when insert
  recurses e.g. when loading tiled maps.

Revision 1.50 - (view) (download) (annotate) - [select for diffs]
Sat Apr 21 12:28:32 2007 UTC (17 years, 1 month ago) by root
Branch: MAIN
Changes since 1.49: +8 -6 lines
Diff to previous 1.49
add ship move type

Revision 1.49 - (view) (download) (annotate) - [select for diffs]
Sun Apr 15 14:15:15 2007 UTC (17 years, 1 month ago) by elmex
Branch: MAIN
Changes since 1.48: +0 -10 lines
Diff to previous 1.48
fixed placement problems in random map generator and removed MOVE_BLOCK_DEFAULT
and replaced it's uses with MOVE_WALK.

Revision 1.48 - (view) (download) (annotate) - [select for diffs]
Sun Mar 11 02:12:44 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
Changes since 1.47: +0 -3 lines
Diff to previous 1.47
- MAJOR CHANGE
- you now need to use cfutil to install arches.
- former bigfaces are broken in the server
- bigfaces are no longer supported. at all.
- use face numbers instead of pointers
  * saves lotsa space
  * saves lotsa indirections
  * saves lots(?) cpu cycles
- completely rewrote face handling
- faces can now be added at runtime
- reload will add new faces
- this does not apply to animations
- use a hastable instead of binary search (faster) for faces
- face caching is broken
- facesets are gone
- server always reports MAX_FACES to any client who asks

Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Sun Mar 4 19:36:12 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
CVS Tags: rel-2_0
Changes since 1.46: +0 -1 lines
Diff to previous 1.46
remove default_smoothed images - unused.
remove references to mythical sdefault.001 / default_smoothed.111 image
from server code.

Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Fri Feb 2 21:50:43 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.45: +2 -1 lines
Diff to previous 1.45
- 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

Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Sat Jan 27 02:19:37 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.44: +2 -14 lines
Diff to previous 1.44
- 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

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Sat Jan 20 22:09:52 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.43: +3 -15 lines
Diff to previous 1.43
- 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

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Thu Jan 18 22:20:00 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.42: +1 -1 lines
Diff to previous 1.42
RANDOM was broken due to signedness issues, also rewrote random_roll, no longer uses luck, but should

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Thu Jan 18 19:32:37 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.41: +2 -2 lines
Diff to previous 1.41
just experimenting

Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Wed Jan 17 12:36:31 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.40: +14 -62 lines
Diff to previous 1.40
fix possibly uninitialised kx,ky because find_free_spot does not seem to guarentee a result

Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Mon Jan 15 21:06:19 2007 UTC (17 years, 4 months ago) by pippijn
Branch: MAIN
Changes since 1.39: +22 -22 lines
Diff to previous 1.39
comments

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Mon Jan 15 00:40:49 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.38: +1 -1 lines
Diff to previous 1.38
- 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).

Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Thu Jan 11 01:10:01 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.37: +9 -8 lines
Diff to previous 1.37
implement new flag_no_save to avoid saving

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Sun Jan 7 23:10:43 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.36: +2 -3 lines
Diff to previous 1.36
- more improvements/fixes
- timestamp with millisecond accuracy, horrible code

Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Sat Jan 6 14:42:30 2007 UTC (17 years, 4 months ago) by pippijn
Branch: MAIN
Changes since 1.35: +1 -0 lines
Diff to previous 1.35
added some copyrights

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Tue Jan 2 22:26:27 2007 UTC (17 years, 4 months ago) by pippijn
Branch: MAIN
Changes since 1.34: +5 -5 lines
Diff to previous 1.34
.111 -> .x11

Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Sat Dec 30 21:07:46 2006 UTC (17 years, 4 months ago) by elmex
Branch: MAIN
Changes since 1.33: +1 -1 lines
Diff to previous 1.33
fixed the problem where objects with speed=0 were on the active object list.
extended debug_desc a bit. implemented object::has_active_speed ().

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Sat Dec 30 10:16:10 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.32: +2 -0 lines
Diff to previous 1.32
preliminary snapshot check-in, DO NOT USE IN PRODUCTION SYSTEMS
See the Changes file for details

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Sat Dec 23 15:49:40 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.31: +2 -2 lines
Diff to previous 1.31
- 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)

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Sat Dec 23 06:41:39 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.30: +3 -3 lines
Diff to previous 1.30
- rename flags => flag (because its rpedominantly used singular),
- remove remaining use of the flags array semantics

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Thu Dec 21 23:37:05 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.29: +0 -18 lines
Diff to previous 1.29
- 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".

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Thu Dec 21 06:12:36 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.28: +13 -10 lines
Diff to previous 1.28
- 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

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Wed Dec 20 14:48:10 2006 UTC (17 years, 5 months ago) by elmex
Branch: MAIN
Changes since 1.27: +2 -2 lines
Diff to previous 1.27
changed the type 0 description to reflect the realworld a little bit
more reasonably...

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Wed Dec 20 14:38:50 2006 UTC (17 years, 5 months ago) by elmex
Branch: MAIN
Changes since 1.26: +52 -56 lines
Diff to previous 1.26
removed TOOL and BUILDFAC which were also dead types.

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Wed Dec 20 14:11:42 2006 UTC (17 years, 5 months ago) by elmex
Branch: MAIN
Changes since 1.25: +4 -2 lines
Diff to previous 1.25
removed dead types: FIREHOLES and POISONCLOUD.

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Wed Dec 20 13:07:13 2006 UTC (17 years, 5 months ago) by elmex
Branch: MAIN
Changes since 1.24: +18 -9 lines
Diff to previous 1.24
removed LIGHT_SOURCE, MONSTER and SPAWN_GENERATOR types.

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Wed Dec 20 12:13:48 2006 UTC (17 years, 5 months ago) by elmex
Branch: MAIN
Changes since 1.23: +3 -2 lines
Diff to previous 1.23
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).

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Wed Dec 20 11:20:50 2006 UTC (17 years, 5 months ago) by elmex
Branch: MAIN
Changes since 1.22: +4 -2 lines
Diff to previous 1.22
removed QUEST and LIGHTNING types.

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Wed Dec 20 10:30:59 2006 UTC (17 years, 5 months ago) by elmex
Branch: MAIN
Changes since 1.21: +6 -4 lines
Diff to previous 1.21
removed EXPERIENCE type.

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Wed Dec 20 03:57:01 2006 UTC (17 years, 5 months ago) by elmex
Branch: MAIN
Changes since 1.20: +188 -180 lines
Diff to previous 1.20
reformatted definitions

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Mon Dec 18 17:10:07 2006 UTC (17 years, 5 months ago) by elmex
Branch: MAIN
Changes since 1.19: +1 -1 lines
Diff to previous 1.19
removed FLAG_TREASURE as it is not used by the code and not by the archetypes
or in maps.

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Mon Dec 18 03:00:02 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.18: +2 -51 lines
Diff to previous 1.18
ooification

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Mon Dec 18 02:35:01 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.17: +3 -13 lines
Diff to previous 1.17
- 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...

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Fri Dec 15 20:08:45 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.16: +1 -1 lines
Diff to previous 1.16
I goofed.

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Fri Dec 15 20:07:02 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.15: +1 -1 lines
Diff to previous 1.15
more slight copyright adjustments

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Thu Dec 14 22:45:40 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.14: +2 -16 lines
Diff to previous 1.14
- 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

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Mon Dec 11 19:46:46 2006 UTC (17 years, 5 months ago) by pippijn
Branch: MAIN
Changes since 1.13: +1 -3 lines
Diff to previous 1.13
removed #ifn?def WIN32 from all files

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Sun Dec 3 00:59:58 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.12: +1 -0 lines
Diff to previous 1.12
updated and applied newpickup flesh patch by benoƮt <bencha1969@yahoo.fr>

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Fri Sep 29 11:53:08 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.11: +0 -1 lines
Diff to previous 1.11
enlarge killer and other fields, do not use silly BIG_NAME with no meaning.

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Sat Sep 16 22:06:17 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.10: +538 -537 lines
Diff to previous 1.10
indent

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Tue Sep 12 18:32:37 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.9: +704 -633 lines
Diff to previous 1.9
indent

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Mon Sep 11 12:08:01 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.8: +0 -11 lines
Diff to previous 1.8
indent

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Tue Aug 29 08:01:36 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.7: +50 -50 lines
Diff to previous 1.7
expand initial tabs to spaces

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Sun Aug 27 13:02:03 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.6: +2 -0 lines
Diff to previous 1.6
some more fixes and refinements

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Tue Aug 15 18:12:20 2006 UTC (17 years, 9 months ago) by elmex
Branch: MAIN
Changes since 1.5: +1 -1 lines
Diff to previous 1.5
renamed SAFE_FLOOR to SAFE_GROUND

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Tue Aug 15 17:35:50 2006 UTC (17 years, 9 months ago) by elmex
Branch: MAIN
Changes since 1.4: +2 -1 lines
Diff to previous 1.4
removed P_SAFE_MAP and added P_SAFE as map flag set by an item with type SAFE_FLOOR (165)

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Wed Mar 15 15:35:50 2006 UTC (18 years, 2 months ago) by elmex
Branch: MAIN
CVS Tags: LAST_C_VERSION, difficulty_fix_merge_060810_2300
Branch point for: difficulty_fix
Changes since 1.3: +1 -1 lines
Diff to previous 1.3
UPSTREAM merge from 15.03.2006

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Wed Feb 22 18:53:48 2006 UTC (18 years, 3 months ago) by elmex
Branch: MAIN
Changes since 1.2: +4 -3 lines
Diff to previous 1.2
UPSTREAM_2006-02-22 merge

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Fri Feb 3 07:25:25 2006 UTC (18 years, 3 months ago) by root
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1
initial cfperl/cf.schmorp.de import

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Fri Feb 3 07:12:48 2006 UTC (18 years, 3 months ago) by root
Branch: MAIN
Branch point for: UPSTREAM
Initial revision

Convenience Links

Links to HEAD: (view) (download) (annotate) Links to rel-2_1: (view) (download) (annotate)

Compare Revisions

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.

  Diffs between and
  Type of Diff should be a