ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/c_misc.C
Revision 1.55 - (view) (download) (annotate) - [select for diffs]
Fri Mar 2 11:41:15 2007 UTC (17 years, 2 months ago) by pippijn
Branch: MAIN
CVS Tags: rel-2_0
Changes since 1.54: +1 -37 lines
Diff to previous 1.54
body in perl

Revision 1.54 - (view) (download) (annotate) - [select for diffs]
Fri Mar 2 11:23:18 2007 UTC (17 years, 2 months ago) by pippijn
Branch: MAIN
Changes since 1.53: +1 -27 lines
Diff to previous 1.53
mapinfo in perl

Revision 1.53 - (view) (download) (annotate) - [select for diffs]
Fri Mar 2 11:13:51 2007 UTC (17 years, 2 months ago) by pippijn
Branch: MAIN
Changes since 1.52: +0 -19 lines
Diff to previous 1.52
whereami in perl

Revision 1.52 - (view) (download) (annotate) - [select for diffs]
Fri Mar 2 11:07:59 2007 UTC (17 years, 2 months ago) by pippijn
Branch: MAIN
Changes since 1.51: +0 -44 lines
Diff to previous 1.51
output-count, output-sync in perl

Revision 1.51 - (view) (download) (annotate) - [select for diffs]
Fri Mar 2 10:55:00 2007 UTC (17 years, 2 months ago) by pippijn
Branch: MAIN
Changes since 1.50: +2 -59 lines
Diff to previous 1.50
- petmode, applymode in perl
- echo something back to the user when he does "fix_me"

Revision 1.50 - (view) (download) (annotate) - [select for diffs]
Fri Mar 2 10:43:01 2007 UTC (17 years, 2 months ago) by pippijn
Branch: MAIN
Changes since 1.49: +0 -44 lines
Diff to previous 1.49
sound, usekeys in perl

Revision 1.49 - (view) (download) (annotate) - [select for diffs]
Fri Mar 2 10:15:40 2007 UTC (17 years, 2 months ago) by pippijn
Branch: MAIN
Changes since 1.48: +0 -67 lines
Diff to previous 1.48
some tiny cleanups and moving of non-time-critical commands into perl

Revision 1.48 - (view) (download) (annotate) - [select for diffs]
Thu Mar 1 13:30:10 2007 UTC (17 years, 2 months ago) by pippijn
Branch: MAIN
Changes since 1.47: +0 -5 lines
Diff to previous 1.47
why check twice for wiz flag?

Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Thu Mar 1 13:27:52 2007 UTC (17 years, 2 months ago) by pippijn
Branch: MAIN
Changes since 1.46: +0 -11 lines
Diff to previous 1.46
afk in perl

Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Thu Mar 1 13:18:37 2007 UTC (17 years, 2 months ago) by pippijn
Branch: MAIN
Changes since 1.45: +0 -21 lines
Diff to previous 1.45
bug reports should be in perl, if ever

Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Thu Mar 1 12:28:16 2007 UTC (17 years, 2 months ago) by pippijn
Branch: MAIN
Changes since 1.44: +1 -1 lines
Diff to previous 1.44
nano-cleanups

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Thu Feb 15 04:04:22 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.43: +3 -3 lines
Diff to previous 1.43
- tell player about each region as she enters.
- region longnames no longer are prefixed with in, change accordingly.

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Mon Feb 5 01:24:45 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.42: +1 -1 lines
Diff to previous 1.42
replace amny strcpy by checked assign's

Revision 1.42 - (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.41: +0 -7 lines
Diff to previous 1.41
- 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.41 - (view) (download) (annotate) - [select for diffs]
Thu Feb 1 19:15:39 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.40: +12 -12 lines
Diff to previous 1.40
- improve error messages from object_thawer to incldue line numbers
- provide geenric parse error handler
- finish basic design of generic object loader
- implement generic regions loader
- use it to load regions:
  loader_region loader;
  if (!loader.load (filename))
    error;
- regions should now be the very first filetype that could be reloaded at runtime

Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Wed Jan 31 17:42:43 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.39: +1 -1 lines
Diff to previous 1.39
fix abort

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Mon Jan 29 14:46:01 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.38: +3 -3 lines
Diff to previous 1.38
partial region cleanup

Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Sat Jan 27 23:59:29 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.37: +22 -79 lines
Diff to previous 1.37
- implement per-space regions

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Wed Jan 17 22:13:10 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.36: +0 -60 lines
Diff to previous 1.36
*** empty log message ***

Revision 1.36 - (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.35: +22 -22 lines
Diff to previous 1.35
comments

Revision 1.35 - (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.34: +0 -72 lines
Diff to previous 1.34
""

Revision 1.34 - (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.33: +1 -0 lines
Diff to previous 1.33
added some copyrights

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Sat Dec 30 10:16:11 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.32: +38 -56 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]
Wed Dec 27 13:13:47 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.31: +5 -8 lines
Diff to previous 1.31
misc stuff

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Wed Dec 27 09:28:02 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.30: +5 -3 lines
Diff to previous 1.30
introduce for_all_maps

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Mon Dec 25 14:54:44 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29
the big rename

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Mon Dec 25 14:43:23 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.28: +4 -4 lines
Diff to previous 1.28
interim.checkin

Revision 1.28 - (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.27: +4 -10 lines
Diff to previous 1.27
- 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.27 - (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.26: +6 -82 lines
Diff to previous 1.26
- 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.26 - (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.25: +10 -10 lines
Diff to previous 1.25
- 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.25 - (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.24: +2 -2 lines
Diff to previous 1.24
- minor cleanups
- minor optimisations (in_player vs. is_player_inv)
- added P_PLAYER map flag
- some (dead) concept code

Revision 1.24 - (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.23: +2 -2 lines
Diff to previous 1.23
- 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.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: +7 -6 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]
Wed Dec 13 03:28:42 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21
further cleanups and oofication

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Wed Dec 13 02:55:51 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.20: +20 -19 lines
Diff to previous 1.20
- medium decruftification
- medium cleanups
- make settings accessible to perl using cf::settings->mutator
  (completely untested)

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Tue Dec 12 21:39:57 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.19: +1 -4 lines
Diff to previous 1.19
- more ooficiation
- removed now superfluous remove calls

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Tue Dec 12 20:53:03 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18
replace some function- by method-calls

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Mon Dec 11 21:32:17 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17
- simplify headerfiles (this is the 21st century)
- remove long long hacks for printf etc.

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Mon Dec 11 21:06:59 2006 UTC (17 years, 5 months ago) by pippijn
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16
lld -> I64_PFd

Revision 1.16 - (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.15: +0 -5 lines
Diff to previous 1.15
removed #ifn?def WIN32 from all files

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Sat Dec 9 17:28:37 2006 UTC (17 years, 5 months ago) by pippijn
Branch: MAIN
Changes since 1.14: +0 -7 lines
Diff to previous 1.14
removed regex comparison. this is now done with perl

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Tue Nov 7 16:30:55 2006 UTC (17 years, 6 months ago) by root
Branch: MAIN
Changes since 1.13: +3 -16 lines
Diff to previous 1.13
re-implement dump and dumpbelow

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Mon Oct 2 00:22:01 2006 UTC (17 years, 7 months ago) by root
Branch: MAIN
Changes since 1.12: +0 -26 lines
Diff to previous 1.12
remove wizcast, wizpass, goto

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Mon Oct 2 00:10:58 2006 UTC (17 years, 7 months ago) by root
Branch: MAIN
Changes since 1.11: +0 -26 lines
Diff to previous 1.11
*** empty log message ***

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Fri Sep 29 19:28:43 2006 UTC (17 years, 7 months ago) by root
Branch: MAIN
Changes since 1.10: +0 -190 lines
Diff to previous 1.10
remove who command

Revision 1.10 - (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.9: +1 -19 lines
Diff to previous 1.9
added many accessors and mutators to struct player, including *title* and (hint, hint) *own_title*

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

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Thu Sep 14 22:34:03 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.7: +1 -7 lines
Diff to previous 1.7
indent

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Sun Sep 10 15:59:57 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.6: +1280 -1074 lines
Diff to previous 1.6
indent

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Mon Sep 4 11:08:00 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.5: +1 -87 lines
Diff to previous 1.5
Changes...

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

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Sun Sep 3 00:18:42 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.4: +7 -108 lines
Diff to previous 1.4
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.4 - (view) (download) (annotate) - [select for diffs]
Wed Aug 30 16:30:37 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.3: +4 -4 lines
Diff to previous 1.3
remove compression support, intiialise perl earlier etc. etc.

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

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Thu Aug 24 13:13:49 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.1: +4 -4 lines
Diff to previous 1.1
- added cfperl.h, soon to be used by events
- no perl == exit, its no longer optional
- moved server main loop entirely in perl
- removed lots of unneeded timekeeping cruft

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Sun Aug 13 17:16:03 2006 UTC (17 years, 9 months ago) by elmex
Branch: MAIN
Made server compile with C++.
Removed cfanim plugin and crossedit.
C++ here we come.

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