Home
last modified time | relevance | path

Searched refs:pchr (Results 1 – 25 of 236) sorted by relevance

12345678910

/dports/games/egoboo/egoboo-2.8.1/src/game/
H A Dchar.c168 if ( NULL == pchr ) return pchr; in chr_ctor()
273 pchr->bsp_leaf.data = pchr; in chr_ctor()
298 if ( NULL == pchr ) return pchr; in chr_dtor()
540 pchr->pos.x, pchr->pos.y, pchr->pos.z ); in make_one_character_matrix()
1156 pchr->team = pchr->baseteam; in detach_character_from_mount()
2995 Uint32 itmp = pchr->phys.weight / pchr->fat / pchr->fat / pchr->fat; in chr_upload_cap()
3366 pchr->life = CLIP( pchr->life, pchr->life + ABS( amount ), pchr->lifemax ); in heal_character()
4568 pchr = chr_ctor( pchr ); in chr_config_ctor()
4768 pchr->life = pchr->lifemax; in respawn_character()
4769 pchr->mana = pchr->manamax; in respawn_character()
[all …]
H A Dchar.inl181 chr_t * pchr; local
194 chr_t * pchr; local
557 pchr->shadow_size = pchr->shadow_size_save * pchr->fat;
558 pchr->bump.size = pchr->bump_save.size * pchr->fat;
559 pchr->bump.size_big = pchr->bump_save.size_big * pchr->fat;
560 pchr->bump.height = pchr->bump_save.height * pchr->fat;
580 pchr->fat = pchr->fat_stt;
581 pchr->shadow_size_save = pchr->shadow_size_stt;
582 pchr->bump_save.size = pchr->bump_stt.size;
583 pchr->bump_save.size_big = pchr->bump_stt.size_big;
[all …]
H A Dgame.c1392 if ( !pchr->alive || pchr->isitem || pchr->pack.is_packed ) continue; in prt_find_target()
2627 if ( pchr->money < 0 ) pchr->money = 0; in chr_setup_apply()
5200 return get_mesh_level( pmesh, pchr->pos.x, pchr->pos.y, pchr->waterwalk ); in get_chr_level()
5330 pchr->firstenchant = cleanup_enchant_list( pchr->firstenchant, &( pchr->firstenchant ) ); in cleanup_character_enchants()
5363 pchr->enviro.zlerp = ( pchr->pos.z - pchr->enviro.level ) / PLATTOLERANCE; in attach_chr_to_platform()
5365 pchr->enviro.grounded = ( 0 == pchr->flyheight ) && ( pchr->enviro.zlerp < 0.25f ); in attach_chr_to_platform()
5367 pchr->enviro.fly_level = MAX( pchr->enviro.fly_level, pchr->enviro.level ); in attach_chr_to_platform()
5377 pchr->jumpready = pchr->enviro.grounded; in attach_chr_to_platform()
5380 pchr->jumpnumber = pchr->jumpnumberreset; in attach_chr_to_platform()
5441 pchr->jumpready = pchr->enviro.grounded; in detach_character_from_platform()
[all …]
H A Dpassage.c220 chr_t * pchr; in who_is_blocking_passage() local
232 if ( object_is_in_passage( passage, pchr->pos.x, pchr->pos.y, pchr->bump_1.size ) ) in who_is_blocking_passage()
295 chr_t * pchr; in check_passage_music() local
302 … if ( pchr->pack.is_packed || !pchr->alive || !VALID_PLA( pchr->is_which_player ) ) continue; in check_passage_music()
305 if ( object_is_in_passage( passage, pchr->pos.x, pchr->pos.y, pchr->bump_1.size ) ) in check_passage_music()
339 chr_t *pchr; in close_passage() local
345 if ( pchr->pack.is_packed || INGAME_CHR( pchr->attachedto ) ) continue; in close_passage()
349 if ( object_is_in_passage( passage, pchr->pos.x, pchr->pos.y, pchr->bump_1.size ) ) in close_passage()
351 if ( !pchr->canbecrushed && pchr->openstuff ) in close_passage()
418 chr_t * pchr; in add_shop_passage() local
[all …]
H A Dscript_functions.c62 chr_t * pchr; \
514 GET_REF_PCHR( pchr ), pchr->Name, pcap->name, in scr_AddWaypoint()
1022 pchr->maxaccel = pchr->maxaccel_reset * 0.66f; in scr_Walk()
1039 pchr->maxaccel = pchr->maxaccel_reset * 0.33f; in scr_Sneak()
1640 pchr->latch.b = pchr->latch.b | pstate->argument; in scr_PressLatchButton()
2811 if ( pchr->ammo < pchr->ammomax ) in scr_IncreaseAmmo()
4366 pchr->maxaccel = pchr->maxaccel_reset * fvalue; in scr_set_SpeedPercent()
5162 pchr->shadow_size = pstate->argument * pchr->fat; in scr_set_ShadowSize()
5229 pchr->basemodel_ref == pchr->profile_ref ); in scr_CharacterWasABook()
7898 fan = mesh_get_grid( PMesh, pchr->pos.x, pchr->pos.y ); in _break_passage()
[all …]
H A Dobj_BSP.c183 bool_t chr_BSP_insert( chr_t * pchr ) in chr_BSP_insert() argument
204 if ( pchr->is_hidden ) in chr_BSP_insert()
208 if ( pchr->pack.is_packed ) in chr_BSP_insert()
213 can_grab_money = pchr->cangrabmoney; in chr_BSP_insert()
215 can_collide = ( 0 != pchr->bump_stt.size ) && ( MAX_CHR == pchr->attachedto ); in chr_BSP_insert()
228 pleaf = &( pchr->bsp_leaf ); in chr_BSP_insert()
232 pleaf->data = pchr; in chr_BSP_insert()
378 CHR_BEGIN_LOOP_ACTIVE( ichr, pchr ) in chr_BSP_fill()
381 pchr->holdingweight = 0; in chr_BSP_fill()
384 pchr->targetplatform_level = -1e32; in chr_BSP_fill()
[all …]
H A Dchar.h537 chr_t * chr_ctor( chr_t * pchr );
538 chr_t * chr_dtor( chr_t * pchr );
634 chr_t * chr_update_hide( chr_t * pchr );
638 bool_t chr_matrix_valid( chr_t * pchr );
656 void chr_set_redshift( chr_t * pchr, int rs );
657 void chr_set_grnshift( chr_t * pchr, int gs );
669 bool_t chr_is_over_water( chr_t *pchr );
671 Uint32 chr_get_framefx( chr_t * pchr );
690 chr_t * chr_run_config( chr_t * pchr );
700 bool_t chr_update_safe_raw( chr_t * pchr );
[all …]
H A Dcollision.c55 chr_t * pchr; member
488 *wt = pchr->phys.weight / pchr->phys.bumpdampen; in get_chr_mass()
1678 fvec3_self_sum( pchr->vel.v, pchr->phys.avel.v ); in bump_all_collisions()
1682 max_apos = fvec3_add( pchr->phys.apos_plat.v, pchr->phys.apos_coll.v ); in bump_all_collisions()
1733 pchr->vel.z += -( 1.0f + pcap->dampen ) * pchr->vel.z; in bump_all_collisions()
2042 …nrm[kZ] = pprt->pos.z - ( pchr->pos.z + 0.5f * ( pchr->chr_max_cv.maxs[OCT_Z] + pchr->chr_max_cv.m… in estimate_chr_prt_normal()
2050 if ( pchr->platform ) in estimate_chr_prt_normal()
2083 …nrm[kZ] = pprt->pos_old.z - ( pchr->pos_old.z + 0.5f * ( pchr->chr_max_cv.maxs[OCT_Z] + pchr->chr_… in estimate_chr_prt_normal()
2737 …pprt->pos.z < pdata->pchr->pos.z + pdata->pchr->chr_max_cv.maxs[OCT_Z] ) && ( pdata->pprt->pos.z >… in do_prt_platform_physics()
2738pchr->pos.z + pdata->pchr->chr_max_cv.maxs[OCT_Z] - pdata->pchr->vel.z ) && ( pdata->pprt->pos.z -… in do_prt_platform_physics()
[all …]
H A Dlink.c178 chr_t * pchr; in link_pop_module() local
181 pchr = NULL; in link_pop_module()
188 pchr = ChrList.lst + j; in link_pop_module()
194 if ( NULL != pchr ) in link_pop_module()
196 chr_set_pos( pchr, phero->pos.v ); in link_pop_module()
197 pchr->pos_old = phero->pos; in link_pop_module()
198 pchr->pos_stt = phero->pos_stt; in link_pop_module()
200 chr_update_safe( pchr, btrue ); in link_pop_module()
229 chr_t * pchr; in link_push_module() local
238 pchr = ChrList.lst + ichr; in link_push_module()
[all …]
H A Dscript.c132 chr_t * pchr; in scr_run_chr_script() local
140 pself = &( pchr->ai ); in scr_run_chr_script()
270 if ( pchr->ismount && INGAME_CHR( pchr->holdingwhich[SLOT_LEFT] ) ) in scr_run_chr_script()
273 pchr->latch.x = ChrList.lst[pchr->holdingwhich[SLOT_LEFT]].latch.x; in scr_run_chr_script()
274 pchr->latch.y = ChrList.lst[pchr->holdingwhich[SLOT_LEFT]].latch.y; in scr_run_chr_script()
279 pchr->latch.x = ( pself->wp[kX] - pchr->pos.x ) / ( GRID_ISIZE << 2 ); in scr_run_chr_script()
289 latch2 = pchr->latch.x * pchr->latch.x + pchr->latch.y * pchr->latch.y; in scr_run_chr_script()
1137 iTmp = pchr->pos.z - pchr->enviro.floor_level; in scr_run_operand()
1153 if ( pchr->canchannel ) iTmp += pchr->life; in scr_run_operand()
1402 iTmp = ABS( pchr->pos_stt.x - pchr->pos.x ) + ABS( pchr->pos_stt.y - pchr->pos.y ); in scr_run_operand()
[all …]
H A DChrList.c73 chr_t * pchr = ChrList.lst + ichr; in ChrList_init() local
76 memset( pchr, 0, sizeof( *pchr ) ); in ChrList_init()
208 chr_t * pchr; in ChrList_free_one() local
212 pchr = ChrList.lst + ichr; in ChrList_free_one()
213 pbase = POBJ_GET_PBASE( pchr ); in ChrList_free_one()
228 pchr = chr_config_deinitialize( pchr, 100 ); in ChrList_free_one()
229 if ( NULL == pchr ) return bfalse; in ChrList_free_one()
246 pchr = chr_dtor( pchr ); in ChrList_free_one()
247 if ( NULL == pchr ) return bfalse; in ChrList_free_one()
545 chr_t * pchr; in ChrList_cleanup() local
[all …]
H A Dcamera.c295 chr_t * pchr; in camera_move() local
297 pchr = pla_get_pchr( ipla ); in camera_move()
298 if ( NULL == pchr || !pchr->alive ) continue; in camera_move()
300 sum_pos.x += pchr->pos.x; in camera_move()
301 sum_pos.y += pchr->pos.y; in camera_move()
302 sum_pos.z += pchr->pos.z + pchr->chr_min_cv.maxs[OCT_Z] * 0.9f; in camera_move()
329 chr_t * pchr; in camera_move() local
331 pchr = pla_get_pchr( ipla ); in camera_move()
332 if ( NULL == pchr || !pchr->alive ) continue; in camera_move()
364 chr_t * pchr; in camera_move() local
[all …]
H A Dgraphic_mad.c94 chr_t * pchr; in render_one_mad_enviro() local
106 pinst = &( pchr->inst ); in render_one_mad_enviro()
302 chr_t * pchr; in render_one_mad_tex() local
502 chr_t * pchr; in render_one_mad() local
546 chr_t * pchr; in render_one_mad_ref() local
566 if ( !apply_reflection_matrix( &( pchr->inst ), pchr->enviro.grid_level ) ) in render_one_mad_ref()
634 chr_t * pchr; in render_one_mad_trans() local
715 chr_t * pchr; in render_one_mad_solid() local
789 oct_bb_add_fvec3( &( pchr->slot_cv[SLOT_LEFT] ), pchr->pos.v, &bb ); in draw_chr_bbox()
830 if ( vmin > pchr->inst.vrt_count || vmax > pchr->inst.vrt_count ) return; in draw_chr_verts()
[all …]
/dports/japanese/im-ja/im-ja-1.5/src/kanjipad/
H A Dkpengine.c130 if( !*pchr || *pchr=='\n') in load_database()
138 ++pchr; in load_database()
140 ++pchr; in load_database()
142 while(*pchr==' '||*pchr=='\t') in load_database()
143 ++pchr; in load_database()
145 while(*pchr && *pchr!='#' && *pchr!='|' && *pchr!='\n') in load_database()
146 ++pchr; in load_database()
159 if( !*pchr || *pchr=='\n') in load_database()
161 ++pchr; in load_database()
167 while(*pchr==' '||*pchr=='\t') in load_database()
[all …]
/dports/games/egoboo/egoboo-2.8.1/src/game/Obsolete/
H A Dscript_obsolete.c35 chr_t * pchr; in run_function_obsolete() local
299 pchr->bumpheight = pstate->argument * pchr->fat; in run_function_obsolete()
903 …one_particle( pchr->xpos, pchr->ypos, pchr->zpos, pchr->turnleftright, pchr->model, pstate->argume… in run_function_obsolete()
990 pchr->money = ( pchr->skin ) % MAXSKIN; in run_function_obsolete()
1179 if ( pchr->ammo < pchr->ammomax ) in run_function_obsolete()
1354 pchr->bumpsizebig = fTmp * pchr->bumpsize; in run_function_obsolete()
1683 …one_particle( pchr->xpos, pchr->ypos, pchr->zpos, pchr->turnleftright, pchr->model, pstate->argume… in run_function_obsolete()
1900 …one_particle( pchr->xpos, pchr->ypos, pchr->zpos, pchr->turnleftright, pchr->model, pstate->argume… in run_function_obsolete()
1986 pchr->oldx = pchr->xpos; in run_function_obsolete()
1987 pchr->oldy = pchr->ypos; in run_function_obsolete()
[all …]
/dports/devel/9base/9base-6/rc/
H A Dio.c16 pchr(f, *fmt); in pfmt()
52 pchr(f, *fmt); in pfmt()
61 pchr(io *b, int c) in pchr() function
79 pchr(f, '\''); in pquo()
83 else pchr(f, *s); in pquo()
84 pchr(f, '\''); in pquo()
124 pchr(f, '-'); in pdec()
130 pchr(f, '-'); in pdec()
132 pchr(f, n%10+'1'); in pdec()
137 pchr(f, n%10+'0'); in pdec()
[all …]
H A Dhere.c72 pchr(f, c); in readhere()
97 pchr(f, *s++); in psubst()
102 pchr(f, *s++); in psubst()
105 pchr(f, *s++); in psubst()
109 pchr(f, *s++); in psubst()
114 pchr(f, *t++); in psubst()
145 pchr(f, ' '); in pstrs()
/dports/devel/plan9port/plan9port-1f098efb7370a0b28306d10681e21883fb1c1507/src/cmd/rc/
H A Dio.c17 pchr(f, *fmt); in pfmt()
56 pchr(f, *fmt); in pfmt()
65 pchr(io *b, int c) in pchr() function
83 pchr(f, '\''); in pquo()
87 else pchr(f, *s); in pquo()
88 pchr(f, '\''); in pquo()
127 pchr(f, '-'); in pdec()
133 pchr(f, '-'); in pdec()
135 pchr(f, n%10+'1'); in pdec()
140 pchr(f, n%10+'0'); in pdec()
[all …]
H A Dpcmd.c15 pchr(f, *s++); in pdeglob()
111 pchr(f, '<'); in pcmd()
114 pchr(f, '<'); in pcmd()
116 pchr(f, '>'); in pcmd()
121 pchr(f, '>'); in pcmd()
123 pchr(f, '>'); in pcmd()
230 pchr(f, '<'); in pcmdu()
233 pchr(f, '<'); in pcmdu()
235 pchr(f, '>'); in pcmdu()
240 pchr(f, '>'); in pcmdu()
[all …]
H A Dhere.c72 pchr(f, c); in readhere()
97 pchr(f, *s++); in psubst()
102 pchr(f, *s++); in psubst()
105 pchr(f, *s++); in psubst()
109 pchr(f, *s++); in psubst()
114 pchr(f, *t++); in psubst()
145 pchr(f, ' '); in pstrs()
/dports/editors/uemacs/uemacs-4.0/src/
H A Dsearch.c1060 int pchr; in mcstr() local
1078 switch (pchr) { in mcstr()
1186 pchr = '\\'; in mcstr()
1427 while (pchr != MC_ECCL && pchr != '\0') {
1428 switch (pchr) {
1456 ochr = pchr;
1511 if (pchr == MC_CLOSURE || pchr == MC_CLOSURE_1 ||
1524 if (pchr == MC_ANY || pchr == MC_CCL ||
1525 pchr == MC_BOL || pchr == MC_EOL)
1536 if (pchr == MC_GRPBEG || pchr == MC_GRPEND ||
[all …]
/dports/databases/postgresql-odbc/psqlodbc-13.02.0000/test/
H A DRegisterRegdsn.c46 char *psz, *pchr; in inst_driver() local
54 for (pchr = psz; *pchr; pchr++) in inst_driver()
56 if (*pchr == '|') in inst_driver()
57 *pchr = '\0'; in inst_driver()
93 char *psz, *pchr; in add_dsn() local
102 for (pchr = psz; *pchr; pchr++) in add_dsn()
104 if (*pchr == '|') in add_dsn()
105 *pchr = '\0'; in add_dsn()
/dports/print/ghostscript7-base/ghostscript-7.07/src/
H A Dgsfcmap.c236 gs_char * pchr, gs_glyph * pglyph) in code_map_decode_next() argument
278 *pchr = (*pchr << (chr_size * 8)) + bytes2int(str, chr_size); in code_map_decode_next()
312 gs_char * pchr, gs_glyph * pglyph) in code_map_decode_next_multidim_regime() argument
333 gs_char pm_chr = *pchr; /* partial match: ptr character */ in code_map_decode_next_multidim_regime()
335 *pchr = '\0'; in code_map_decode_next_multidim_regime()
437 *pchr = bytes2int(str, chr_size); in code_map_decode_next_multidim_regime()
474 *pchr = pm_chr; in code_map_decode_next_multidim_regime()
497 gs_char * pchr, gs_glyph * pglyph) in gs_cmap_decode_next() argument
519 pm_chr = *pchr; in gs_cmap_decode_next()
542 *pchr = '\0'; in gs_cmap_decode_next()
[all …]
/dports/print/ghostscript7-x11/ghostscript-7.07/src/
H A Dgsfcmap.c236 gs_char * pchr, gs_glyph * pglyph) in code_map_decode_next() argument
278 *pchr = (*pchr << (chr_size * 8)) + bytes2int(str, chr_size); in code_map_decode_next()
312 gs_char * pchr, gs_glyph * pglyph) in code_map_decode_next_multidim_regime() argument
333 gs_char pm_chr = *pchr; /* partial match: ptr character */ in code_map_decode_next_multidim_regime()
335 *pchr = '\0'; in code_map_decode_next_multidim_regime()
437 *pchr = bytes2int(str, chr_size); in code_map_decode_next_multidim_regime()
474 *pchr = pm_chr; in code_map_decode_next_multidim_regime()
497 gs_char * pchr, gs_glyph * pglyph) in gs_cmap_decode_next() argument
519 pm_chr = *pchr; in gs_cmap_decode_next()
542 *pchr = '\0'; in gs_cmap_decode_next()
[all …]
/dports/net/openmpi/openmpi-4.1.1/opal/util/
H A Dkeyval_parse.c209 char *pchr, *echr; in trim_name() local
218 pchr = buffer; in trim_name()
223 pchr += prefix_len; in trim_name()
228 while (isspace (*pchr)) { in trim_name()
229 pchr++; in trim_name()
252 if (buffer != pchr) { in trim_name()
254 memmove (buffer, pchr, strlen (pchr) + 1); in trim_name()

12345678910