Home
last modified time | relevance | path

Searched refs:new_direction (Results 1 – 25 of 129) sorted by relevance

123456

/dports/games/kobodeluxe/KoboDeluxe-0.5.1/
H A Dgamectl.cpp345 new_direction = 8; in change()
347 new_direction = 6; in change()
349 new_direction = 7; in change()
354 new_direction = 2; in change()
356 new_direction = 4; in change()
358 new_direction = 3; in change()
363 new_direction = 1; in change()
365 new_direction = 5; in change()
367 new_direction = 0; in change()
372 if(!new_direction) in change()
[all …]
/dports/games/tux-aqfh/tux_aqfh-1.0.14/src/
H A Dstarwing.cxx111 void StarWing::strategy ( sgVec3 new_direction ) in strategy() argument
152 sgCopyVec3 ( new_direction, force ) ; in strategy()
153 sgNormalizeVec3 ( new_direction ) ; in strategy()
168 sgVec3 new_direction ; in update() local
170 strategy ( new_direction ) ; in update()
174 float h = atan2 ( -new_direction[0], new_direction[1] ) * SG_RADIANS_TO_DEGREES ; in update()
175 float p = atan2 ( new_direction[2], sqrt(sq(new_direction[0])+ in update()
176 sq(new_direction[1])) ) * SG_RADIANS_TO_DEGREES ; in update()
178 sgScaleVec3 ( new_direction, new_direction, MAX_SPEED ) ; in update()
179 sgAddVec3 ( coord.xyz, coord.xyz, new_direction ) ; in update()
/dports/graphics/asciio/App-Asciio-1.51.3/setup/actions/
H A Delements_manipulation.pl122 my $new_direction = $_->get_section_direction(0) ;
124 if($new_direction =~ /(.*)-(.*)/)
127 … $new_direction = $reverse_direction{$end_direction} . '-' . $reverse_direction{$start_direction} ;
131 $new_direction = $reverse_direction{$new_direction} ;
143 $new_direction,
146 DIRECTION => $new_direction,
/dports/games/freedroidrpg/freedroidrpg-0.16.1/src/lvledit/
H A Dlvledit_tool_place.c453 int new_direction; // New direction of the wall line in line_moving_forwards() local
464 new_direction = (offset.y > 0) ? NORTH : SOUTH; in line_moving_forwards()
470 new_direction = (offset.x > 0) ? WEST : EAST; in line_moving_forwards()
489 …if ((horizontal_wall(last_wall->address->type) && (new_direction == WEST || new_direction == EAST)) in line_moving_forwards()
490 …|| (vertical_wall(last_wall->address->type) && (new_direction == SOUTH || new_direction == NORTH))… in line_moving_forwards()
492 state.l_direction = new_direction; in line_moving_forwards()
504 if (state.l_direction == new_direction) { in line_moving_forwards()
511 if (new_direction == WEST || new_direction == EAST) { in line_moving_forwards()
528 switch (new_direction) { in line_moving_forwards()
560 add_wall(x, y, type, new_direction); in line_moving_forwards()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/webrtc/api/
H A Drtp_transceiver_interface.cc70 RtpTransceiverDirection new_direction) { in SetDirection() argument
71 SetDirectionWithError(new_direction); in SetDirection()
75 RtpTransceiverDirection new_direction) { in SetDirectionWithError() argument
H A Drtp_transceiver_interface.h115 RtpTransceiverDirection new_direction);
116 virtual RTCError SetDirectionWithError(RtpTransceiverDirection new_direction);
/dports/www/firefox/firefox-99.0/third_party/libwebrtc/api/
H A Drtp_transceiver_interface.cc70 RtpTransceiverDirection new_direction) { in SetDirection() argument
71 SetDirectionWithError(new_direction); in SetDirection()
75 RtpTransceiverDirection new_direction) { in SetDirectionWithError() argument
H A Drtp_transceiver_interface.h115 RtpTransceiverDirection new_direction);
116 virtual RTCError SetDirectionWithError(RtpTransceiverDirection new_direction);
/dports/net-im/tg_owt/tg_owt-d578c76/src/api/
H A Drtp_transceiver_interface.cc75 RtpTransceiverDirection new_direction) { in SetDirection() argument
76 SetDirectionWithError(new_direction); in SetDirection()
80 RtpTransceiverDirection new_direction) { in SetDirectionWithError() argument
H A Drtp_transceiver_interface.h116 virtual void SetDirection(RtpTransceiverDirection new_direction);
117 virtual RTCError SetDirectionWithError(RtpTransceiverDirection new_direction);
/dports/misc/vxl/vxl-3.3.2/contrib/gel/vsol/
H A Dvsol_line_2d.cxx37 vsol_line_2d::vsol_line_2d(vgl_vector_2d<double> const& new_direction, in vsol_line_2d() argument
40 p0_(new vsol_point_2d(*(new_middle->plus_vector(-(new_direction)/2)))), in vsol_line_2d()
41 p1_(new vsol_point_2d(*(new_middle->plus_vector((new_direction)/2)))) in vsol_line_2d()
48 vsol_line_2d::vsol_line_2d(vgl_vector_2d<double> const& new_direction, in vsol_line_2d() argument
51 p0_(new vsol_point_2d(*(vsol_point_2d(new_middle).plus_vector(-(new_direction)/2)))), in vsol_line_2d()
52 p1_(new vsol_point_2d(*(vsol_point_2d(new_middle).plus_vector((new_direction)/2)))) in vsol_line_2d()
H A Dvsol_line_3d.cxx22 vsol_line_3d::vsol_line_3d(vgl_vector_3d<double> const& new_direction, in vsol_line_3d() argument
24 : p0_(new vsol_point_3d(*(new_middle->plus_vector(-new_direction/2)))), in vsol_line_3d()
25 p1_(new vsol_point_3d(*(new_middle->plus_vector(new_direction/2)))) in vsol_line_3d()
/dports/astro/merkaartor/merkaartor-0.19.0/src/GPS/
H A Dqgpsdevice.h164 … void setLatCardinal(CardinalDirection new_direction) { cur_latCardinal = new_direction; } in setLatCardinal() argument
165 … void setLongCardinal(CardinalDirection new_direction) { cur_longCardinal = new_direction; } in setLongCardinal() argument
166 … void setVarCardinal(CardinalDirection new_direction) { cur_varCardinal = new_direction; } in setVarCardinal() argument
/dports/games/hypatia_engine/hypatia_engine-0.3.1/hypatia/
H A Dactor.py146 def direction(self, new_direction): argument
159 if not isinstance(new_direction, constants.Direction):
165 self.walkabout.direction = new_direction
/dports/games/simutrans/simutrans-121.0/vehicle/
H A Dsimpeople.cc295 ribi_t::ribi new_direction; in hop() local
297 new_direction = ribi_t::nsew[ (r+offset) & 3]; in hop()
299 if( (ribi & new_direction)!=0 && gr->get_neighbour(to, road_wt, new_direction) ) { in hop()
309 if (new_direction == current_direction) { in hop()
316 if (turn_ribi == new_direction) { in hop()
/dports/www/chromium-legacy/chromium-88.0.4324.182/native_client_sdk/src/examples/demo/flock/
H A Dgoose.cc152 Vector2 new_direction; in TurnTowardsTarget() local
164 new_direction = Vector2::Difference(desired_direction, velocity_); in TurnTowardsTarget()
165 new_direction.Clamp(kMaxTurningForce); in TurnTowardsTarget()
167 return new_direction; in TurnTowardsTarget()
/dports/games/scummvm/scummvm-2.5.1/engines/ultima/nuvie/actors/
H A Du6_actor.h156 inline void set_direction_of_surrounding_objs(uint8 new_direction);
157 inline void set_direction_of_surrounding_ship_objs(uint8 new_direction);
158 inline void set_direction_of_surrounding_splitactor_objs(uint8 new_direction);
159 inline void set_direction_of_surrounding_dragon_objs(uint8 new_direction);
H A Du6_actor.cpp1120 inline void U6Actor::set_direction_of_surrounding_objs(uint8 new_direction) { in set_direction_of_surrounding_objs() argument
1125 set_direction_of_surrounding_ship_objs(new_direction); in set_direction_of_surrounding_objs()
1134 set_direction_of_surrounding_splitactor_objs(new_direction); in set_direction_of_surrounding_objs()
1138 set_direction_of_surrounding_dragon_objs(new_direction); in set_direction_of_surrounding_objs()
1147 inline void U6Actor::set_direction_of_surrounding_ship_objs(uint8 new_direction) { in set_direction_of_surrounding_ship_objs() argument
1159 switch (new_direction) { in set_direction_of_surrounding_ship_objs()
1197 switch (new_direction) { in set_direction_of_surrounding_ship_objs()
1229 inline void U6Actor::set_direction_of_surrounding_splitactor_objs(uint8 new_direction) { in set_direction_of_surrounding_splitactor_objs() argument
1246 switch (new_direction) { in set_direction_of_surrounding_splitactor_objs()
1278 inline void U6Actor::set_direction_of_surrounding_dragon_objs(uint8 new_direction) { in set_direction_of_surrounding_dragon_objs() argument
[all …]
/dports/misc/gpsim/gpsim-0.31.0/modules/
H A Di2c2par.cc131 void IOPort::update_pin_directions(unsigned int new_direction) in update_pin_directions() argument
133 if ((new_direction ^ direction) & 1) { in update_pin_directions()
134 direction = new_direction & 1; in update_pin_directions()
/dports/games/wesnoth/wesnoth-1.14.17/src/editor/action/
H A Daction_item.hpp111 map_location loc, map_location::DIRECTION new_direction, map_location::DIRECTION old_direction) in editor_action_item_facing() argument
113 , new_direction_(new_direction) in editor_action_item_facing()
H A Daction_unit.hpp109 map_location loc, map_location::DIRECTION new_direction, map_location::DIRECTION old_direction) in editor_action_unit_facing() argument
111 , new_direction_(new_direction) in editor_action_unit_facing()
/dports/net-im/tg_owt/tg_owt-d578c76/src/api/test/
H A Dmock_rtp_transceiver.h44 (RtpTransceiverDirection new_direction),
48 (RtpTransceiverDirection new_direction),
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/webrtc/api/test/
H A Dmock_rtp_transceiver.h44 (RtpTransceiverDirection new_direction),
48 (RtpTransceiverDirection new_direction),
/dports/math/pynac/pynac-pynac-0.7.27/ginac/
H A Dinfinity.cpp311 void infinity::set_direction(const ex & new_direction) in set_direction() argument
313 if (new_direction.is_zero()) in set_direction()
316 ex normalization = GiNaC::pow(GiNaC::abs(new_direction),-1); in set_direction()
317 direction = mul(new_direction, normalization); in set_direction()
/dports/games/wanderer/wanderer-3.2/
H A Dmonsters.c28 direction new_direction(int, int, int, int);
30 direction new_direction();
79 direction new_direction(x,y,bx,by) in new_direction() function
204 new_disp = new_direction( monster->x, monster->y, monster->mx, monster->my );

123456