ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/common/object.C
Revision 1.134 - (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.133: +1 -2 lines
Diff to previous 1.133
nano-cleanups

Revision 1.133 - (view) (download) (annotate) - [select for diffs]
Fri Feb 16 19:43:40 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.132: +19 -40 lines
Diff to previous 1.132
- identified random memory corrutpion bug
- fixed most likely cause for bug above
- rewrote object loader etc. into a simple one-line lookahead
  parser.
- rewrote/cleaned up archetype, treasure, artifact, formula parser.
- some optimisations / cleanups

Revision 1.132 - (view) (download) (annotate) - [select for diffs]
Sat Feb 10 21:01:09 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.131: +2 -4 lines
Diff to previous 1.131
- avoid floorbox updates when client has container open, this
  completely confused gcfclient, although completely valid by
  the protocol (and of course, cfplus didn't even notice it).

Revision 1.131 - (view) (download) (annotate) - [select for diffs]
Sat Feb 10 15:20:23 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.130: +4 -3 lines
Diff to previous 1.130
- add you readied xxx message.
- actually send the inventory ion container open.

Revision 1.130 - (view) (download) (annotate) - [select for diffs]
Sat Feb 10 01:52:25 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.129: +59 -0 lines
Diff to previous 1.129
hell on earth, rewrote the container code
- it really was a mess before
- open/close events should now be very reliable.
- make container an object_ptr, just to be on the safe side
  (the old code is known to crash, the new code should be reliable, but...).
- its also smaller, much smaller/clearer in sourcecode size and a bit
  smaller in text segment size.

also disable big worldmap again: is this still causing memleaks?

Revision 1.129 - (view) (download) (annotate) - [select for diffs]
Wed Feb 7 02:13:06 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.128: +12 -0 lines
Diff to previous 1.128
more materialcode changes in preparation for... oh my god this is material framework is broken

Revision 1.128 - (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.127: +1 -1 lines
Diff to previous 1.127
replace amny strcpy by checked assign's

Revision 1.127 - (view) (download) (annotate) - [select for diffs]
Mon Jan 29 21:04:32 2007 UTC (17 years, 3 months ago) by elmex
Branch: MAIN
Changes since 1.126: +1 -1 lines
Diff to previous 1.126
fixed debug_info

Revision 1.126 - (view) (download) (annotate) - [select for diffs]
Mon Jan 29 15:36:25 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.125: +9 -1 lines
Diff to previous 1.125
- implement mood floor types 5 and 6

Revision 1.125 - (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.124: +7 -0 lines
Diff to previous 1.124
- implement per-space regions

Revision 1.124 - (view) (download) (annotate) - [select for diffs]
Sat Jan 27 02:19:36 2007 UTC (17 years, 3 months ago) by root
Branch: MAIN
Changes since 1.123: +2 -2 lines
Diff to previous 1.123
- 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.123 - (view) (download) (annotate) - [select for diffs]
Fri Jan 26 20:59:56 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.122: +0 -1 lines
Diff to previous 1.122
- tame the map/map-world.ext a bit to avoid potential memleaks for now
- object refcounting was borked, fixed, again :)
- add cf::attacahble::mortals_size
- disable reset-after-load, this is unsafe due to locking issues, so don't do it
- make map-scheduler configurable
- improve emergency swap mode
- prepare_random_map must be a sync job for now :(
- do not keep object reference in enter_exit, the object might have been gone already.
- nuke cf::object::mortals.

Revision 1.122 - (view) (download) (annotate) - [select for diffs]
Wed Jan 24 22:42:48 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.121: +1 -0 lines
Diff to previous 1.121
- introduce nodrop flag for maps to keep stuff from beign dropped
  _on destroy only_.
  this fixes the problem with Sultur, slug of terror :)
- resize {link} map to be smaller

Revision 1.121 - (view) (download) (annotate) - [select for diffs]
Tue Jan 23 03:17:55 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.120: +4 -3 lines
Diff to previous 1.120
- weirdify refcounting:
  objects still keep their natural refcount of zero
  do not borrow anymore, seems the right thing to do *right now*

Revision 1.120 - (view) (download) (annotate) - [select for diffs]
Sun Jan 21 21:28:27 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.119: +1 -1 lines
Diff to previous 1.119
mark watchers as reentrant, some FABS => fabs

Revision 1.119 - (view) (download) (annotate) - [select for diffs]
Fri Jan 19 18:06:51 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.118: +3 -0 lines
Diff to previous 1.118
base classes can be so tedious

Revision 1.118 - (view) (download) (annotate) - [select for diffs]
Thu Jan 18 19:42:09 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.117: +1 -1 lines
Diff to previous 1.117
just experimenting

Revision 1.117 - (view) (download) (annotate) - [select for diffs]
Thu Jan 18 16:19:34 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.116: +37 -62 lines
Diff to previous 1.116
- fix a horrendous bug that might have caused all the map corruption
- optimise/modernise some map-insert-related stuff
- fix debug_desc
- remove crypt configury
- minor adjustments/cleanups

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

Revision 1.115 - (view) (download) (annotate) - [select for diffs]
Mon Jan 15 01:39:42 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.114: +0 -19 lines
Diff to previous 1.114
more micro-optimisation, use idistance, min is faster than MIN

Revision 1.114 - (view) (download) (annotate) - [select for diffs]
Sun Jan 14 22:06:05 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.113: +7 -0 lines
Diff to previous 1.113
minor stuff

Revision 1.113 - (view) (download) (annotate) - [select for diffs]
Tue Jan 9 21:32:41 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.112: +0 -2 lines
Diff to previous 1.112
- added $cf::WAIT_FOR_TICK*
- tuned map-scheduler and player-scheduler
- added $op->inv_recursive
- added objects_size/objects($index) and actives_size/actives($index)
  for access to the object and actives vector.
- more robust player loader
- removed _perl_data attribute support
- SIGINT/TERM/HUP are now safe as they are handled synchronously.
- replaced LOOK_OBJ by client_visible
- cleanups

Revision 1.112 - (view) (download) (annotate) - [select for diffs]
Mon Jan 8 14:11:04 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.111: +15 -13 lines
Diff to previous 1.111
quick and dirty emergency fix

Revision 1.111 - (view) (download) (annotate) - [select for diffs]
Mon Jan 8 01:19:02 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.110: +2 -0 lines
Diff to previous 1.110
more preperations for player eviction

Revision 1.110 - (view) (download) (annotate) - [select for diffs]
Sun Jan 7 23:12:03 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.109: +2 -1 lines
Diff to previous 1.109
use destroy_on_detah, not no_drop, for summoned stuff

Revision 1.109 - (view) (download) (annotate) - [select for diffs]
Sun Jan 7 21:54:59 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.108: +2 -0 lines
Diff to previous 1.108
implement quit

Revision 1.108 - (view) (download) (annotate) - [select for diffs]
Sun Jan 7 02:39:13 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.107: +12 -62 lines
Diff to previous 1.107
""

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

Revision 1.106 - (view) (download) (annotate) - [select for diffs]
Wed Jan 3 20:08:04 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.105: +10 -0 lines
Diff to previous 1.105
- new untested set_flag_inv method to change a flag on all inv objects
- do ot satop running when switching maps
- fixed speed_left assymentry in handle_newcs_player
- do not immediately handle running commands when calling handle_command,
  as it could have deactivated the object.

Revision 1.105 - (view) (download) (annotate) - [select for diffs]
Wed Jan 3 00:21:35 2007 UTC (17 years, 4 months ago) by pippijn
Branch: MAIN
Changes since 1.104: +2 -2 lines
Diff to previous 1.104
initialised :)

Revision 1.104 - (view) (download) (annotate) - [select for diffs]
Tue Jan 2 21:13:21 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.103: +7 -7 lines
Diff to previous 1.103
activate_recursive etc. was using op->above, not op->below, so was not recursive at all

Revision 1.103 - (view) (download) (annotate) - [select for diffs]
Tue Jan 2 20:40:34 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.102: +1 -0 lines
Diff to previous 1.102
minor annoyance fix

Revision 1.102 - (view) (download) (annotate) - [select for diffs]
Mon Jan 1 17:34:11 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.101: +1 -1 lines
Diff to previous 1.101
misc fixes

Revision 1.101 - (view) (download) (annotate) - [select for diffs]
Mon Jan 1 17:30:33 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.100: +4 -2 lines
Diff to previous 1.100
misc fixes

Revision 1.100 - (view) (download) (annotate) - [select for diffs]
Mon Jan 1 12:28:45 2007 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.99: +2 -2 lines
Diff to previous 1.99
set original flag so decay object doesn't go wild

Revision 1.99 - (view) (download) (annotate) - [select for diffs]
Sun Dec 31 18:10:40 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.98: +5 -5 lines
Diff to previous 1.98
- style maps need very special treatment
- cf has a nonzero chance of crashing in a random map

Revision 1.98 - (view) (download) (annotate) - [select for diffs]
Sun Dec 31 17:17:22 2006 UTC (17 years, 4 months ago) by root
Branch: MAIN
Changes since 1.97: +34 -16 lines
Diff to previous 1.97
many minor changes everywhere, random maps crash sometimes but design is in place

Revision 1.97 - (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.96: +53 -46 lines
Diff to previous 1.96
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.96 - (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.95: +74 -60 lines
Diff to previous 1.95
preliminary snapshot check-in, DO NOT USE IN PRODUCTION SYSTEMS
See the Changes file for details

Revision 1.95 - (view) (download) (annotate) - [select for diffs]
Wed Dec 27 05:42:08 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.94: +1 -1 lines
Diff to previous 1.94
*** empty log message ***

Revision 1.94 - (view) (download) (annotate) - [select for diffs]
Wed Dec 27 05:22:35 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.93: +8 -0 lines
Diff to previous 1.93
work around crossfire design bug

Revision 1.93 - (view) (download) (annotate) - [select for diffs]
Tue Dec 26 20:04:09 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.92: +8 -14 lines
Diff to previous 1.92
- added maptile->insert and object->insert_at methods that might
  make code using it clearer.
- replaced some insert_ob_in_map calls.

Revision 1.92 - (view) (download) (annotate) - [select for diffs]
Tue Dec 26 17:39:29 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.91: +10 -3 lines
Diff to previous 1.91
drop-to-ground on player logout fixed, possible warning from set_speed fixed

Revision 1.91 - (view) (download) (annotate) - [select for diffs]
Tue Dec 26 10:51:52 2006 UTC (17 years, 5 months ago) by elmex
Branch: MAIN
Changes since 1.90: +0 -1 lines
Diff to previous 1.90
what meaning had the duplicated LOG()? looks bogus to me => removed.

Revision 1.90 - (view) (download) (annotate) - [select for diffs]
Tue Dec 26 10:14:24 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.89: +4 -3 lines
Diff to previous 1.89
temporarily(?) silence(?) the 'destroyed leaving object' warning

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

Revision 1.88 - (view) (download) (annotate) - [select for diffs]
Tue Dec 26 09:37:00 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.87: +13 -21 lines
Diff to previous 1.87
clean up the mess that is inventory-drop-to-ground-semantics-or-maybe-not?
this needs to be cleaned up elsewhere in cf, such as in kill_object.

Revision 1.87 - (view) (download) (annotate) - [select for diffs]
Tue Dec 26 08:54:59 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.86: +24 -33 lines
Diff to previous 1.86
replace update_ob_speed by ->set_speed

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

Revision 1.85 - (view) (download) (annotate) - [select for diffs]
Mon Dec 25 17:11:16 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.84: +1 -1 lines
Diff to previous 1.84
- some fixes
- disable some refcounting again, not ready yet
- simplify save_object

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

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

Revision 1.82 - (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.81: +150 -183 lines
Diff to previous 1.81
- 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.81 - (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.80: +6 -9 lines
Diff to previous 1.80
an experiment

Revision 1.80 - (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.79: +1 -1 lines
Diff to previous 1.79
- rename flags => flag (because its rpedominantly used singular),
- remove remaining use of the flags array semantics

Revision 1.79 - (view) (download) (annotate) - [select for diffs]
Sat Dec 23 06:30:49 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.78: +0 -1 lines
Diff to previous 1.78
remove object_pod/object_keep hacks

Revision 1.78 - (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.77: +2 -44 lines
Diff to previous 1.77
- 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.77 - (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.76: +2 -2 lines
Diff to previous 1.76
- 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.76 - (view) (download) (annotate) - [select for diffs]
Thu Dec 21 01:33:49 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.75: +5 -5 lines
Diff to previous 1.75
- reduce map memory consumption by reserving space for only the 3 existing layers
- factorise out some functions into mapspace and object

Revision 1.75 - (view) (download) (annotate) - [select for diffs]
Wed Dec 20 11:36:38 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.74: +59 -115 lines
Diff to previous 1.74
- mapspace caches are now reevaluated only on-demand only
- "heavily" optimised get_map_flags - it might be MUCH faster now
- some cleanups
- some deoptimisaton in update_object - enabling it makes some
  bigfaces disappear when they are not fully visible. why?

Revision 1.74 - (view) (download) (annotate) - [select for diffs]
Wed Dec 20 09:14:21 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.73: +9 -22 lines
Diff to previous 1.73
- minor cleanups
- minor optimisations (in_player vs. is_player_inv)
- added P_PLAYER map flag
- some (dead) concept code

Revision 1.73 - (view) (download) (annotate) - [select for diffs]
Wed Dec 20 01:19:11 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.72: +9 -14 lines
Diff to previous 1.72
some source simplification

Revision 1.72 - (view) (download) (annotate) - [select for diffs]
Tue Dec 19 15:30:01 2006 UTC (17 years, 5 months ago) by elmex
Branch: MAIN
Changes since 1.71: +2 -2 lines
Diff to previous 1.71
reverted the last change to move_apply and check_inv and fixed check_inv
differntly: as all the buttons and pedestals check themselves whether
the objects above them satisfy their conditions i thought the best
would be if check_inv would do the same. The new semantics are
compatible with the semantics used by the map makers (at least i hope that)
and won't end up in a broken state so easily now.

While fixing check_inv i documented inventory checkers in objects.pod

Revision 1.71 - (view) (download) (annotate) - [select for diffs]
Tue Dec 19 13:41:45 2006 UTC (17 years, 5 months ago) by elmex
Branch: MAIN
Changes since 1.70: +2 -2 lines
Diff to previous 1.70
Added a parameter to move_apply that indicates whether something
moved on or off and changed check_inv to take the same additional argument.
An inventory checker is now mostly state-independend and a bad state
is corrected now if the inventory checker is activated.

While fixing that i've documented the HOLE type and FLAG_ACTIVATE_ON_(PUSH|RELEASE)
in objects.pod.

Revision 1.70 - (view) (download) (annotate) - [select for diffs]
Tue Dec 19 05:12:52 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.69: +3 -3 lines
Diff to previous 1.69
- hide floorbox implementation details
- use meaning (hopefully) names

Revision 1.69 - (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.68: +0 -1 lines
Diff to previous 1.68
ooification

Revision 1.68 - (view) (download) (annotate) - [select for diffs]
Mon Dec 18 02:35:00 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.67: +27 -30 lines
Diff to previous 1.67
- 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.67 - (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.66: +2 -2 lines
Diff to previous 1.66
- rewrote most of the socket loop code
- moved connection accept into tcp.ext
- no evil socket copying anymore,
  needs more cleanups

Revision 1.66 - (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.65: +13 -10 lines
Diff to previous 1.65
further cleanups and oofication

Revision 1.65 - (view) (download) (annotate) - [select for diffs]
Wed Dec 13 00:42:03 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.64: +9 -2 lines
Diff to previous 1.64
added a needed abstraction

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

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

Revision 1.62 - (view) (download) (annotate) - [select for diffs]
Mon Dec 11 23:35:37 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.61: +10 -6 lines
Diff to previous 1.61
reduced dependencies on old plug-in api, fixed some bugs and renamed
some methods while I was at it.

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

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

Revision 1.59 - (view) (download) (annotate) - [select for diffs]
Wed Dec 6 13:59:00 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.58: +93 -122 lines
Diff to previous 1.58
- implement and modernize op->insert and op->remove
- simplify find_hth_skill to always use first found
- change change_skill to move recently used skills to top of inventory

Revision 1.58 - (view) (download) (annotate) - [select for diffs]
Mon Dec 4 17:48:35 2006 UTC (17 years, 5 months ago) by pippijn
Branch: MAIN
Changes since 1.57: +0 -8 lines
Diff to previous 1.57
- changed uint64 to sint64 for levels
- removed obsolete debugging code

Revision 1.57 - (view) (download) (annotate) - [select for diffs]
Sun Dec 3 02:46:33 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.56: +20 -20 lines
Diff to previous 1.56
do it at the right time, honey

Revision 1.56 - (view) (download) (annotate) - [select for diffs]
Sun Dec 3 02:04:57 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.55: +7 -3 lines
Diff to previous 1.55
move objects onto a special freed objects map (2)

Revision 1.55 - (view) (download) (annotate) - [select for diffs]
Sun Dec 3 00:41:33 2006 UTC (17 years, 5 months ago) by root
Branch: MAIN
Changes since 1.54: +16 -0 lines
Diff to previous 1.54
move freed objects to dummy map so their map * stays valid

Revision 1.54 - (view) (download) (annotate) - [select for diffs]
Fri Nov 17 19:40:53 2006 UTC (17 years, 6 months ago) by root
Branch: MAIN
Changes since 1.53: +3 -5 lines
Diff to previous 1.53
* remove arch.h
* use refcounting for archetypes
* cleanup
* strat of generic garbage collector

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

Revision 1.52 - (view) (download) (annotate) - [select for diffs]
Wed Sep 27 00:36:08 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.51: +8 -5 lines
Diff to previous 1.51
* nuke op->contr when players log out, to avoid dereferencing them later :(
* also rename free to destroy
* do not create weird messages when people examine pseudo inventory objects

Revision 1.51 - (view) (download) (annotate) - [select for diffs]
Sun Sep 17 16:21:53 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.50: +1 -1 lines
Diff to previous 1.50
*** empty log message ***

Revision 1.50 - (view) (download) (annotate) - [select for diffs]
Sat Sep 16 22:40:22 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.49: +5 -3 lines
Diff to previous 1.49
*** empty log message ***

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

Revision 1.48 - (view) (download) (annotate) - [select for diffs]
Thu Sep 14 23:13:48 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.47: +17 -59 lines
Diff to previous 1.47
replace was_destroyed by much simpler and less expensive ->destroyed,
which is valid, as objetc pointers are now reliable.

Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Thu Sep 14 22:33:59 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.46: +1 -2 lines
Diff to previous 1.46
indent

Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Thu Sep 14 21:16:11 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.45: +1 -1 lines
Diff to previous 1.45
cleanup

Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Thu Sep 14 18:13:01 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.44: +22 -30 lines
Diff to previous 1.44
presuppose iso c++0x

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Thu Sep 14 17:29:27 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.43: +4 -1 lines
Diff to previous 1.43
*** empty log message ***

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Thu Sep 14 17:10:24 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.42: +0 -23 lines
Diff to previous 1.42
removed now obsolete generation counter checks - further slimmed down sizeof(objetc) to 616 bytes

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Thu Sep 14 01:19:47 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.41: +8 -20 lines
Diff to previous 1.41
removed freed hack. extra refcounting increased code size by 3k in an unoptimised build

Revision 1.41 - (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.40: +12 -13 lines
Diff to previous 1.40
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.40 - (view) (download) (annotate) - [select for diffs]
Thu Sep 14 00:07:15 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.39: +2 -2 lines
Diff to previous 1.39
reenable shstr gc, fix bug bad bug in allocator

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Wed Sep 13 02:05:19 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.38: +80 -0 lines
Diff to previous 1.38
preliminary uuid support

Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Wed Sep 13 01:09:24 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.37: +3 -3 lines
Diff to previous 1.37
fix object list linking (severe bug)

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Tue Sep 12 20:55:40 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.36: +4 -2 lines
Diff to previous 1.36
make use of slice_allocator and inline zero_initialised

Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Tue Sep 12 19:20:06 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.35: +29 -0 lines
Diff to previous 1.35
- improve assign to prepend "..."
- make more use of assign
- implement op->debug_desc() and make some more use of it

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Tue Sep 12 18:15:34 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.34: +12 -19 lines
Diff to previous 1.34
- introduce shstr_cmp for mass comparisons to shstr and make use of it
- introduce assign utility function to replace strncpy

Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Tue Sep 12 01:09:53 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.33: +17 -6 lines
Diff to previous 1.33
convert to more stable depth-firts iterator

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Tue Sep 12 00:53:56 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.32: +0 -1 lines
Diff to previous 1.32
introducing skillinc.h

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Mon Sep 11 23:53:30 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.31: +5 -6 lines
Diff to previous 1.31
fixed crash on quit

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Mon Sep 11 23:33:27 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.30: +19 -4 lines
Diff to previous 1.30
- temporarily disabled shstr garbage collection
- use sint64 instead of uint64 in shop code
- implement fully recursive item iterator for object
- add some utility functions

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Mon Sep 11 20:28:37 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.29: +46 -114 lines
Diff to previous 1.29
implement owner pointer using refcounted refptr templates

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Mon Sep 11 12:38:36 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.28: +186 -204 lines
Diff to previous 1.28
make rmeove_ob and free_ob idempotent, to the extent possible with the current design

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Mon Sep 11 12:10:21 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.27: +6 -13 lines
Diff to previous 1.27
*** empty log message ***

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

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Mon Sep 11 11:46:52 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.25: +38 -51 lines
Diff to previous 1.25
indent

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Mon Sep 11 01:16:20 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.24: +67 -42 lines
Diff to previous 1.24
fix perl class for archetype, never free once-allocated objects, or destruct
them, there are too many long-lived references (and refcount doesn't help,
likely because it isn't correctly being incremented/decremented).

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Sun Sep 10 16:00:23 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.23: +1798 -1422 lines
Diff to previous 1.23
indent

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Sun Sep 10 14:54:02 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.22: +9 -9 lines
Diff to previous 1.22
remaining bugfixes

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Sun Sep 10 00:51:23 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.21: +30 -25 lines
Diff to previous 1.21
likely fix another crash bug

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Sat Sep 9 21:48:28 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.20: +77 -80 lines
Diff to previous 1.20
fix a few ugly pod-constructs on non-pod objects, and a few newly introduced bugs

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Fri Sep 8 18:26:22 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.19: +9 -2 lines
Diff to previous 1.19
*** empty log message ***

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Fri Sep 8 17:14:07 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.18: +13 -19 lines
Diff to previous 1.18
genaccess, take two

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

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Mon Sep 4 17:27:13 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16
reality always is less simple than it appears

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Mon Sep 4 16:46:32 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.15: +119 -101 lines
Diff to previous 1.15
major map loading speedups

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Mon Sep 4 13:55:54 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.14: +5 -1 lines
Diff to previous 1.14
fix, uhm, bug. da.

Revision 1.14 - (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.13: +159 -269 lines
Diff to previous 1.13
Changes...

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

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Sun Sep 3 22:45:55 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.12: +4 -2 lines
Diff to previous 1.12
string scanning (e.g. for patch) is not implemented ATM but should be easy
to add with an alternative constructor for object_thawer.

Rewrote flex scanner to be simpler, faster and more modularised.

Initial speedup: 16%

(ah well)

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Sun Sep 3 14:33:47 2006 UTC (17 years, 8 months ago) by elmex
Branch: MAIN
Changes since 1.11: +1 -10 lines
Diff to previous 1.11
removed ox/oy, and then added shstr stuff to the recipes in alchemy

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Sun Sep 3 00:18:40 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.10: +158 -282 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]
Thu Aug 31 17:54:14 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.9: +6 -41 lines
Diff to previous 1.9
rewrote object serialiser, parser is next

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Wed Aug 30 06:06:26 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.8: +7 -12 lines
Diff to previous 1.8
improve thawer interface, implement some monster event support

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

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Tue Aug 29 05:03:54 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.6: +1 -2 lines
Diff to previous 1.6
- 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.6 - (view) (download) (annotate) - [select for diffs]
Mon Aug 28 14:05:23 2006 UTC (17 years, 8 months ago) by root
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5
improved,more automatic freezer

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

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Sat Aug 26 23:36:30 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3
intermediate check-in, per-object events work

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Sat Aug 26 08:44:05 2006 UTC (17 years, 9 months ago) by root
Branch: MAIN
Changes since 1.2: +5 -13 lines
Diff to previous 1.2
many, many cleanups

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

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