ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/map.h
(Generate patch)

Comparing deliantra/server/include/map.h (file contents):
Revision 1.146 by root, Sun May 8 11:32:12 2011 UTC vs.
Revision 1.147 by root, Sun May 8 12:40:41 2011 UTC

328//-GPL 328//-GPL
329 329
330 physics_queue pq[PHYSICS_QUEUES]; 330 physics_queue pq[PHYSICS_QUEUES];
331 MTH void queue_physics (object *ob, int after = 0); 331 MTH void queue_physics (object *ob, int after = 0);
332 MTH void queue_physics_at (int x, int y); 332 MTH void queue_physics_at (int x, int y);
333 MTH void post_load_physics ();
334 MTH int run_physics (tick_t tick, int max_objects); 333 MTH int run_physics (tick_t tick, int max_objects);
334 MTH void activate_physics ();
335 335
336 // the maptile:: is neccessary here for the perl interface to work 336 // the maptile:: is neccessary here for the perl interface to work
337 MTH sint8 darklevel (sint8 outside = maptile::outdoor_darkness) const 337 MTH sint8 darklevel (sint8 outside = maptile::outdoor_darkness) const
338 { 338 {
339 return clamp (outdoor ? darkness + outside : darkness, 0, MAX_DARKNESS); 339 return clamp (outdoor ? darkness + outside : darkness, 0, MAX_DARKNESS);
340 } 340 }
341 341
342 static void adjust_daylight (); 342 static void adjust_daylight ();
343 343
344 MTH void activate (); 344 MTH void activate ();
345 MTH void activate_physics ();
346 MTH void deactivate (); 345 MTH void deactivate ();
347 346
348 // allocates all (empty) mapspace 347 // allocates all (empty) mapspace
349 MTH void alloc (); 348 MTH void alloc ();
350 // deallocates the mapspaces (and destroys all objects) 349 // deallocates the mapspaces (and destroys all objects)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines