ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/time.C
Revision 1.67 - (view) (download) (annotate) - [select for diffs]
Tue Sep 4 08:42:58 2007 UTC (16 years, 8 months ago) by root
Branch: MAIN
CVS Tags: rel-2_2
Changes since 1.66: +21 -24 lines
Diff to previous 1.66
- clean up stuff
- get rid of map_load lock
- improve change_object

Revision 1.66 - (view) (download) (annotate) - [select for diffs]
Mon Aug 27 06:29:18 2007 UTC (16 years, 8 months ago) by root
Branch: MAIN
Changes since 1.65: +26 -39 lines
Diff to previous 1.65
- create a new class, mapxy, which abstracts a mapspace position.
- rewrite move_arrow to take advantage of this new experiemntal
  class. I don't understand move_arrow, but the code without doubt
  became clearer and simpler. this opens the way of rewriting
  the rather clumsy get_map_flags etc. API into something more efficient
  below mapxy.

Revision 1.65 - (view) (download) (annotate) - [select for diffs]
Mon Aug 27 05:40:57 2007 UTC (16 years, 8 months ago) by root
Branch: MAIN
Changes since 1.64: +13 -9 lines
Diff to previous 1.64
*** empty log message ***

Revision 1.64 - (view) (download) (annotate) - [select for diffs]
Thu Aug 23 15:20:34 2007 UTC (16 years, 9 months ago) by root
Branch: MAIN
Changes since 1.63: +0 -1 lines
Diff to previous 1.63
do not regenerate hp and sp when food is zero, this is ridiculous. the logic seems rather convoluted and broken, too

Revision 1.63 - (view) (download) (annotate) - [select for diffs]
Sat Aug 4 22:23:47 2007 UTC (16 years, 9 months ago) by root
Branch: MAIN
Changes since 1.62: +15 -10 lines
Diff to previous 1.62
- monster generators now look for a free sport first instead
  of creating a monster then destroying it because it didn't fit.
- only generate sounds for destroyed head objects.

Revision 1.62 - (view) (download) (annotate) - [select for diffs]
Sat Aug 4 21:04:24 2007 UTC (16 years, 9 months ago) by elmex
Branch: MAIN
Changes since 1.61: +4 -0 lines
Diff to previous 1.61
set identify for created objects by creators

Revision 1.61 - (view) (download) (annotate) - [select for diffs]
Thu Jul 12 19:42:14 2007 UTC (16 years, 10 months ago) by root
Branch: MAIN
Changes since 1.60: +0 -1 lines
Diff to previous 1.60
*** empty log message ***

Revision 1.60 - (view) (download) (annotate) - [select for diffs]
Thu Jul 5 08:10:30 2007 UTC (16 years, 10 months ago) by root
Branch: MAIN
Changes since 1.59: +6 -33 lines
Diff to previous 1.59
- unbundle marker code into force_find/force_add
- use completely different (more efficient) speed logic
- make those methods available to perl
- to avoid numerical errors use an exact fp number for MIN_ACTIVE_SPEED.

Revision 1.59 - (view) (download) (annotate) - [select for diffs]
Sun Jul 1 05:00:20 2007 UTC (16 years, 10 months ago) by root
Branch: MAIN
Changes since 1.58: +10 -11 lines
Diff to previous 1.58
- upgrade crossfire trt to the GPL version 3 (hopefully correctly).
- add a single file covered by the GNU Affero General Public License
  (which is not yet released, so I used the current draft, which is
  legally a bit wavy, but its likely better than nothing as it expresses
  direct intent by the authors, and we can upgrade as soon as it has been
  released).
  * this should ensure availability of source code for the server at least
    and hopefully also archetypes and maps even when modified versions
    are not being distributed, in accordance of section 13 of the agplv3.

Revision 1.58 - (view) (download) (annotate) - [select for diffs]
Sat Jun 30 03:00:55 2007 UTC (16 years, 10 months ago) by root
Branch: MAIN
Changes since 1.57: +5 -6 lines
Diff to previous 1.57
*** empty log message ***

Revision 1.57 - (view) (download) (annotate) - [select for diffs]
Thu Jun 28 05:50:31 2007 UTC (16 years, 10 months ago) by root
Branch: MAIN
Changes since 1.56: +1 -1 lines
Diff to previous 1.56
*** empty log message ***

Revision 1.56 - (view) (download) (annotate) - [select for diffs]
Mon Jun 4 13:04:01 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
Changes since 1.55: +5 -5 lines
Diff to previous 1.55
- archetype is now a subclass of object.
- store archetypes in an object_vector.
- use a different startegy for archetype loading
  (reloading is MOST CERTAINLY broken).

Revision 1.55 - (view) (download) (annotate) - [select for diffs]
Mon Jun 4 12:19:09 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
Changes since 1.54: +1 -1 lines
Diff to previous 1.54
rename arch->name to arch->archname for preparation of subclassing object

Revision 1.54 - (view) (download) (annotate) - [select for diffs]
Sun Jun 3 11:22:07 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
Changes since 1.53: +7 -5 lines
Diff to previous 1.53
µ-opts

Revision 1.53 - (view) (download) (annotate) - [select for diffs]
Mon May 28 21:28:36 2007 UTC (16 years, 11 months ago) by root
Branch: MAIN
Changes since 1.52: +21 -21 lines
Diff to previous 1.52
update copyrights in server/*.C

Revision 1.52 - (view) (download) (annotate) - [select for diffs]
Tue May 22 10:50:01 2007 UTC (17 years ago) by root
Branch: MAIN
CVS Tags: rel-2_1
Changes since 1.51: +1 -2 lines
Diff to previous 1.51
- fix players frozen on movers
- allow overriding of existing spells

implement town portal:
- new fields portasl_maap|x|y for regions
- new ext town_portsla completelyx implementing it
- some debugging code, some check code

Revision 1.51 - (view) (download) (annotate) - [select for diffs]
Fri May 18 20:45:37 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.50: +62 -54 lines
Diff to previous 1.50
some more optimisations

Revision 1.50 - (view) (download) (annotate) - [select for diffs]
Fri May 18 19:46:22 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.49: +7 -18 lines
Diff to previous 1.49
new speed management:
- weapon speed and object speed is now completekly decoupled for players.
- both can be used at the same time, or indeepndent, when running or firing.
- still only one command per object speed can be issued.

Revision 1.49 - (view) (download) (annotate) - [select for diffs]
Sat May 12 22:04:20 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.48: +6 -6 lines
Diff to previous 1.48
some floatingpoint µopts

Revision 1.48 - (view) (download) (annotate) - [select for diffs]
Sat May 12 21:56:35 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.47: +3 -5 lines
Diff to previous 1.47
lots of speed logic changes

Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Fri May 11 21:24:29 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.46: +11 -9 lines
Diff to previous 1.46
*** empty log message ***

Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Sat Apr 28 21:34:38 2007 UTC (17 years ago) by root
Branch: MAIN
Changes since 1.45: +6 -4 lines
Diff to previous 1.45
cleanup

Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Sun Apr 22 13:06:45 2007 UTC (17 years, 1 month ago) by root
Branch: MAIN
Changes since 1.44: +36 -49 lines
Diff to previous 1.44
combine all the generator functions that became really small now into a single one

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Sat Apr 21 22:01:57 2007 UTC (17 years, 1 month ago) by root
Branch: MAIN
Changes since 1.43: +38 -82 lines
Diff to previous 1.43
rewrote and greatly simplified generator code. if there were any issues with
elmex' monster-in-inventory stuff then they should be fixed by now.

Revision 1.43 - (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.42: +6 -0 lines
Diff to previous 1.42
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.42 - (view) (download) (annotate) - [select for diffs]
Sat Mar 17 20:36:05 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
Changes since 1.41: +0 -1 lines
Diff to previous 1.41
fix broken images on missile reflection by using the right function for the job

Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Sat Mar 17 20:34:19 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
Changes since 1.40: +1 -12 lines
Diff to previous 1.40
fix broken images on missile reflection by using the right function for the job

Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Wed Mar 14 04:12:29 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
Changes since 1.39: +2 -2 lines
Diff to previous 1.39
- rewrote more face handling code
- automatically send smooth faces, as the client will need them anyways
  and it makes little sense to wait for the client to axk for it. of course,
  gcfclient suffers from weird ordering problems again.
- UP_OBJ_FACE was often abused in situations where other things changed,
  updated lots of spaces, probably more to be done.
- update_smooth became so small that inlining it actually clarified
  the code. similar for update_space, which is not inlined for other reasons.
- faces were not initialised properly
- add versioncheck for face data
- rewrite invisibility handling a bit: god finger etc. now makes you blink,
  blinking routine has changed to be less annoying and more useful while
  still indicating invisibleness.

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Sun Mar 11 02:12:45 2007 UTC (17 years, 2 months ago) by root
Branch: MAIN
Changes since 1.38: +2 -2 lines
Diff to previous 1.38
- 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.38 - (view) (download) (annotate) - [select for diffs]
Tue Feb 13 21:28:11 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
CVS Tags: rel-2_0
Changes since 1.37: +1 -1 lines
Diff to previous 1.37
uglyness prevails in fixing nekosan

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Mon Feb 5 02:09:56 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.36: +9 -8 lines
Diff to previous 1.36
remove many strcmps on shstr, added fast strcmp wrapper that only tests for inequality

Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Mon Feb 5 01:39:05 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.35: +3 -4 lines
Diff to previous 1.35
indent

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Tue Jan 9 01:28:32 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.34: +2 -4 lines
Diff to previous 1.34
- fix This exit is cloed on login because the maplevel of
  players not on any map was not saved.

Revision 1.34 - (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.33: +24 -26 lines
Diff to previous 1.33
""

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

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Wed Jan 3 00:56:40 2007 UTC (17 years, 4 months ago) by elmex
Branch: MAIN
Changes since 1.31: +2 -1 lines
Diff to previous 1.31
small formatting change

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Tue Jan 2 11:08:36 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.30: +0 -1 lines
Diff to previous 1.30
add some robustness checks, add map find/load locking

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

Revision 1.29 - (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.28: +2 -2 lines
Diff to previous 1.28
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.28 - (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.27: +8 -10 lines
Diff to previous 1.27
preliminary snapshot check-in, DO NOT USE IN PRODUCTION SYSTEMS
See the Changes file for details

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Tue Dec 26 09:52:40 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.26: +2 -2 lines
Diff to previous 1.26
more cleanups and bugfixes, we are reaching a local peak of stability now

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Tue Dec 26 08:55:00 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.25: +17 -28 lines
Diff to previous 1.25
replace update_ob_speed by ->set_speed

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Tue Dec 26 08:17:59 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.24: +11 -16 lines
Diff to previous 1.24
simplify logic in apply_builder_remove, let update_ob_speed work if the objetc is in delayed destruction

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Mon Dec 25 11:25:50 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.23: +16 -13 lines
Diff to previous 1.23
- 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.23 - (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.22: +5 -5 lines
Diff to previous 1.22
- 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.22 - (view) (download) (annotate) - [select for diffs]
Thu Dec 21 01:33:50 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.21: +43 -51 lines
Diff to previous 1.21
- reduce map memory consumption by reserving space for only the 3 existing layers
- factorise out some functions into mapspace and object

Revision 1.21 - (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.20: +0 -4 lines
Diff to previous 1.20
removed QUEST and LIGHTNING types.

Revision 1.20 - (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.19: +15 -10 lines
Diff to previous 1.19
- minor cleanups
- minor optimisations (in_player vs. is_player_inv)
- added P_PLAYER map flag
- some (dead) concept code

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 -2 lines
Diff to previous 1.18
ooification

Revision 1.18 - (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.17: +2 -2 lines
Diff to previous 1.17
further cleanups and oofication

Revision 1.17 - (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.16: +34 -39 lines
Diff to previous 1.16
- more ooficiation
- removed now superfluous remove calls

Revision 1.16 - (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.15: +42 -42 lines
Diff to previous 1.15
replace some function- by method-calls

Revision 1.15 - (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.14: +0 -2 lines
Diff to previous 1.14
re-implement dump and dumpbelow

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Thu Sep 21 18:58:39 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.13: +8 -7 lines
Diff to previous 1.13
fix yet another crash bug

Revision 1.13 - (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.12: +4 -4 lines
Diff to previous 1.12
mapstruct => maptile
removed many ytypedefs in favor of structure tags

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

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Thu Sep 14 01:12:28 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.10: +2 -1 lines
Diff to previous 1.10
aggressively use refcounted pointers for object references - seems to fix all random stomping. also reduced size of object further from originally 656 to 624 bytes

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Mon Sep 11 20:26:41 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.9: +159 -154 lines
Diff to previous 1.9
indent

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Sun Sep 10 15:59:58 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.8: +1188 -979 lines
Diff to previous 1.8
indent

Revision 1.8 - (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.7: +14 -21 lines
Diff to previous 1.7
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.7 - (view) (download) (annotate) - [select for diffs]
Tue Aug 29 17:29:28 2006 UTC (17 years, 8 months ago) by elmex
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6
rewrote parts of the connection code, which now is completly perl
invoke- and overrideable.

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

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Tue Aug 29 07:34:01 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.4: +1 -9 lines
Diff to previous 1.4
nuke transports

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Tue Aug 29 05:03:55 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.3: +4 -3 lines
Diff to previous 1.3
- added ready/unready/can_apply events and their passive versions
- removed support for event_*-fields in maps
- removed support for current_weapon_script
- removed timers
- removed say/shout/Tell and related commands

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Sun Aug 27 15:24:22 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.2: +7 -10 lines
Diff to previous 1.2
further refinements

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Sat Aug 26 23:36:34 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.1: +4 -3 lines
Diff to previous 1.1
intermediate check-in, per-object events work

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Sun Aug 13 17:16:05 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_2: (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