ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/player.h
Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Thu Mar 1 12:28:16 2007 UTC (17 years, 2 months ago) by pippijn
Branch: MAIN
CVS Tags: rel-2_0
Changes since 1.46: +1 -1 lines
Diff to previous 1.46
nano-cleanups

Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Mon Jan 29 16:11:48 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.45: +4 -0 lines
Diff to previous 1.45
- add visibility_at to players (only), might/should be an object method
- mood spells only affect visible spaces now.

Revision 1.45 - (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.44: +22 -22 lines
Diff to previous 1.44
comments

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Mon Jan 8 18:18:35 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.43: +1 -16 lines
Diff to previous 1.43
- move most last_* values into socket, where they belong
- this actually saved a lot of space in the text segment,
  which might mean less complicated pointer accesses, because
  the data is no where it belongs, mostly.

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Sun Jan 7 02:39:14 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.42: +35 -22 lines
Diff to previous 1.42
""

Revision 1.42 - (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.41: +1 -0 lines
Diff to previous 1.41
added some copyrights

Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Thu Jan 4 00:08:07 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.40: +0 -1 lines
Diff to previous 1.40
- save before testing the map on swap_out, as save cedes and players
  might hop on the map while the map saves, changing its status.

Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Sun Dec 31 21:26:18 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.39: +9 -9 lines
Diff to previous 1.39
use thawer for player loading: all objects are now being loaded through the thawer,
although not everything uses the kv syntax.

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Sun Dec 31 21:02:04 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.38: +2 -2 lines
Diff to previous 1.38
more use of shstr where it makes sense naturally

Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Sun Dec 31 10:28:36 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.37: +8 -8 lines
Diff to previous 1.37
different interface design for c++/perl map handling, some random map framework

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Sat Dec 30 21:15:59 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.36: +3 -0 lines
Diff to previous 1.36
get rid of annoying enter_exit (0)

Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Tue Dec 26 05:44:15 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.35: +5 -5 lines
Diff to previous 1.35
formatting

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Mon Dec 25 11:25:49 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.34: +6 -3 lines
Diff to previous 1.34
- small, but subtle, rewrite of object management
- perl will now keep attachable objects alive
- objects are now refcounted
- refcouts need to be tested explicitly (refcnt_chk)
- explicit destroy is required current
- explicit destroy asks "nicely" for the object to self destruct, if possible
- refcounts will be used during mortal killing
- minor bugfixes, optimisations etc.
- some former hacks removed.

Revision 1.34 - (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.33: +10 -10 lines
Diff to previous 1.33
- 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.33 - (view) (download) (annotate) - [select for diffs]
Sat Dec 23 13:56:25 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.32: +2 -1 lines
Diff to previous 1.32
an experiment

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Sat Dec 23 06:21:02 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.31: +5 -20 lines
Diff to previous 1.31
- improved login code
- removed some cruft code and (finally), the player_pod hack

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Fri Dec 22 16:34:00 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.30: +16 -5 lines
Diff to previous 1.30
- preliminary check in, stuff is rudimentarily working
- moved most of the player creation process into a perl coroutine
- changed internal design of player management to not reuse
  and morph the object in funny ways. should be safer and much
  nicer to handle.
- got rid of some annoying hacks, such as clear()
  (TODO: get rid of player_pod and other stuff now unnecessary?)

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: +1 -2 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]
Wed Dec 20 09:14:22 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.28: +0 -1 lines
Diff to previous 1.28
- minor cleanups
- minor optimisations (in_player vs. is_player_inv)
- added P_PLAYER map flag
- some (dead) concept code

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Sat Dec 16 17:16:51 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.27: +0 -1 lines
Diff to previous 1.27
- remove no_shout
- serialise command execution somewhat again :(
- avoid exceptions

Revision 1.27 - (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.26: +1 -1 lines
Diff to previous 1.26
I goofed.

Revision 1.26 - (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.25: +1 -1 lines
Diff to previous 1.25
more slight copyright adjustments

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Fri Dec 15 19:59:20 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.24: +1 -1 lines
Diff to previous 1.24
the rename for sanity campaign hits
you died
- renamed stuff
- partially updated copyrights
- some cleanups

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Fri Dec 15 00:14:12 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.23: +1 -1 lines
Diff to previous 1.23
- make client_socket accessible to perl
- on linux, record rtt and rttvar
- who shows rtt/rttvar

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Thu Dec 14 04:30:32 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.22: +1 -1 lines
Diff to previous 1.22
- rewrote most of the socket loop code
- moved connection accept into tcp.ext
- no evil socket copying anymore,
  needs more cleanups

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Thu Dec 14 02:37:37 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.21: +1 -1 lines
Diff to previous 1.21
moar\! rewrite\!

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Wed Dec 13 01:39:32 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.20: +0 -1 lines
Diff to previous 1.20
no generation counters anymore

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Sat Dec 9 16:11:09 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.19: +2 -3 lines
Diff to previous 1.19
remove golem_count, likely golems are destroyed late now

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

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Wed Sep 20 21:53:50 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.17: +59 -62 lines
Diff to previous 1.17
added many accessors and mutators to struct player, including *title* and (hint, hint) *own_title*

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Tue Sep 19 22:05:55 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.16: +5 -5 lines
Diff to previous 1.16
add mapcell flags support and define #0 to be has_dialogue

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Sat Sep 16 22:24:12 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.15: +178 -170 lines
Diff to previous 1.15
mapstruct => maptile
removed many ytypedefs in favor of structure tags

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Fri Sep 8 16:51:44 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.14: +0 -1 lines
Diff to previous 1.14
generic accessors, take one

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Tue Sep 5 18:59:18 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.13: +2 -1 lines
Diff to previous 1.13
*** empty log message ***

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Tue Sep 5 18:18:09 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.12: +13 -4 lines
Diff to previous 1.12
*** empty log message ***

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Mon Sep 4 11:07:59 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.11: +2 -4 lines
Diff to previous 1.11
Changes...

- alternative shstr representation, saves code
- use glibs splice memory allocator (seems slower)
- use simpler memory/lifetime management for objects, no recycling

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Sun Sep 3 00:18:41 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.10: +3 -8 lines
Diff to previous 1.10
THIS CODE WILL NOT COMPILE
use the STABLE tag instead.

- major changes in object lifetime and memory management
- replaced manual refcounting by shstr class
- removed quest system
- many optimisations
- major changes

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

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Tue Aug 29 07:33:58 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.8: +0 -1 lines
Diff to previous 1.8
nuke transports

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Sun Aug 27 17:59:26 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.7: +1 -1 lines
Diff to previous 1.7
fixes, objects on maps get instantiated properly

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Sun Aug 27 16:15:12 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6
first, untested persistent objetc storage for players and objects, not yte for maps

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Sat Aug 26 08:44:06 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.5: +11 -6 lines
Diff to previous 1.5
many, many cleanups

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Fri Aug 25 17:11:53 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.4: +2 -0 lines
Diff to previous 1.4
converted more events, broken per-object events (needs map support), lots of fixes

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Sun Aug 13 17:16:02 2006 UTC (17 years, 9 months ago) by elmex
Branch: MAIN
Changes since 1.3: +5 -5 lines
Diff to previous 1.3
Made server compile with C++.
Removed cfanim plugin and crossedit.
C++ here we come.

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Wed Apr 19 08:25:25 2006 UTC (18 years, 1 month ago) by root
Branch: MAIN
CVS Tags: LAST_C_VERSION, difficulty_fix_merge_060810_2300
Branch point for: difficulty_fix
Changes since 1.2: +3 -1 lines
Diff to previous 1.2
of course it does partial initialisation tricks when creating new players

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Tue Apr 18 16:54:19 2006 UTC (18 years, 1 month ago) by root
Branch: MAIN
Changes since 1.1: +9 -7 lines
Diff to previous 1.1
shuffle player members around, saves lots of code size due to more optimised accesses

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Fri Feb 3 07:12:50 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_0: (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