Kp
|
634f97e8d2
|
Pass tmap drawer grs_bitmap by &
|
2014-11-30 22:09:18 +00:00 |
|
Kp
|
f89b57047a
|
Pass g3_draw_bitmap grs_bitmap by &
|
2014-11-30 22:09:17 +00:00 |
|
Kp
|
4ad784028b
|
Pass scale_bitmap points in array<grs_point, 3>
|
2014-11-21 03:34:50 +00:00 |
|
Kp
|
c72ec87296
|
Redirect g3_end_frame->ogl_end_frame
|
2014-11-16 19:14:51 +00:00 |
|
Kp
|
cdf0d887f6
|
Move temporary points onto stack
|
2014-11-16 19:14:51 +00:00 |
|
Kp
|
855b249555
|
Make g3s_point const only in OGL
|
2014-11-16 19:14:51 +00:00 |
|
Kp
|
177c935b9d
|
Move 3d/clipper.cpp to SDL-only build
|
2014-11-16 19:14:51 +00:00 |
|
Kp
|
cec58664ed
|
Return get_temp_point by &
|
2014-11-16 19:14:51 +00:00 |
|
Kp
|
82467a49c9
|
Use array<> for polygon clipping points
|
2014-11-16 19:14:50 +00:00 |
|
Kp
|
456158fe52
|
Fix SDL-only crash due to double Vbuf0
|
2014-11-16 19:14:50 +00:00 |
|
Kp
|
b11069bc45
|
Use indexing in clip_plane
|
2014-11-16 19:14:50 +00:00 |
|
Kp
|
c2d308807c
|
Make various g3s_point * const
|
2014-11-15 03:10:06 +00:00 |
|
Kp
|
3a73f2c9d0
|
Pass g3_draw_line as const
|
2014-11-15 03:10:04 +00:00 |
|
Kp
|
b456370291
|
Move Vbuf0/Vbuf1 into local scope
|
2014-11-13 04:07:06 +00:00 |
|
Kp
|
8e0d85b666
|
Pass g3_draw_tmap arg by &
|
2014-11-13 03:44:04 +00:00 |
|
Kp
|
d9e42e6bf3
|
Pass g3_draw_rod_tmap arg by &
|
2014-11-13 03:34:42 +00:00 |
|
Kp
|
e305bf8ebd
|
Pass calc_rod_corners arg by &
|
2014-11-13 03:34:35 +00:00 |
|
Kp
|
207dceba33
|
Pass g3_draw_sphere arg by &
|
2014-11-13 03:22:49 +00:00 |
|
Kp
|
ff13155fc2
|
Pass g3_project_point arg by &
|
2014-11-13 03:21:33 +00:00 |
|
Kp
|
aba13a0bd0
|
Pass g3_draw_line arg by &
|
2014-11-13 03:19:52 +00:00 |
|
Kp
|
c49880c8c6
|
Pass clip_line arg by *&, not **
|
2014-11-13 03:19:45 +00:00 |
|
Kp
|
c5fd8cb859
|
Pass g3_code_point arg by &
|
2014-11-13 03:16:17 +00:00 |
|
Kp
|
141a7602d0
|
Add vm_angles_2_matrix that returns result
|
2014-11-04 01:24:08 +00:00 |
|
Kp
|
fed5d0e90f
|
Add vm_vec_perp that returns result
|
2014-11-02 03:44:27 +00:00 |
|
Kp
|
d76e259db5
|
Add vm_vec_cross that returns result
|
2014-11-02 03:44:12 +00:00 |
|
Kp
|
b32f5e5df3
|
Add vm_vec_copy_scale that returns result
|
2014-11-02 03:43:47 +00:00 |
|
Kp
|
5bb9c88979
|
Add vm_vec_sub that returns result
|
2014-10-29 03:24:31 +00:00 |
|
Kp
|
0e0eaff221
|
Pass g3_calc_point_depth arg by &
|
2014-10-26 22:01:04 +00:00 |
|
Kp
|
09835590f3
|
Pass g3_set_view_matrix arg by &
|
2014-10-26 22:01:00 +00:00 |
|
Kp
|
2ceabf5034
|
Pass g3_add_delta_vec arg by &
|
2014-10-02 03:02:36 +00:00 |
|
Kp
|
adae9888b9
|
Pass g3_rotate_delta_vec arg by &
|
2014-10-02 03:02:36 +00:00 |
|
Kp
|
d0dd976fdb
|
Pass g3_point_2_vec v by &
|
2014-10-02 03:02:36 +00:00 |
|
Kp
|
2434b20445
|
Pass g3_draw_bitmap pos by const &
|
2014-10-02 03:02:35 +00:00 |
|
Kp
|
68211d20d3
|
Pass g3_rotate_point arg by &
|
2014-10-02 03:02:35 +00:00 |
|
Kp
|
ade7aa2a5f
|
Pass g3_start_instance_angles arg by const &
|
2014-10-02 03:02:35 +00:00 |
|
Kp
|
dc5a0bcb98
|
Pass g3_start_instance_matrix arg by &
|
2014-10-02 03:02:35 +00:00 |
|
Kp
|
b2ab0e48da
|
Pass g3_check_normal_facing arg by &
|
2014-10-02 03:02:35 +00:00 |
|
Kp
|
5af79382a5
|
Pass vm_vec_rotate arg by &
|
2014-10-01 02:28:42 +00:00 |
|
Kp
|
d238b4a562
|
Pass vm_angles_2_matrix arg by &
|
2014-10-01 02:28:42 +00:00 |
|
Kp
|
ee7e23482e
|
Pass vm_vec_perp arg by &
|
2014-10-01 02:28:42 +00:00 |
|
Kp
|
a99466f8c8
|
Pass vm_vec_crossprod arg by &
|
2014-10-01 02:28:42 +00:00 |
|
Kp
|
0b691365a7
|
Pass vm_vec_copy_normalize arg by &
|
2014-10-01 02:28:41 +00:00 |
|
Kp
|
71ef84490c
|
Use range_for in rod.cpp
|
2014-09-28 22:16:29 +00:00 |
|
Kp
|
b5949cc4a0
|
Pass vm_vec_copy_scale arguments by &
|
2014-09-28 21:43:14 +00:00 |
|
Kp
|
00b59c3058
|
Pass vm_vec_dot arguments by &
|
2014-09-28 21:11:48 +00:00 |
|
Kp
|
321bbe37d8
|
Pass vm_vec_sub arguments by &
|
2014-09-28 21:11:45 +00:00 |
|
Kp
|
2107b52764
|
Pass vm_vec_add arguments by &
|
2014-09-28 21:11:40 +00:00 |
|
Kp
|
74925e9b45
|
Pass vm_vec_scale dest by &
|
2014-09-28 21:11:05 +00:00 |
|
Kp
|
a550673639
|
Pass vm_vec_normalize v by &
|
2014-09-28 21:11:03 +00:00 |
|
Kp
|
b642c1ba43
|
Propagate for variables in common/3d/draw.cpp
|
2014-09-26 02:42:14 +00:00 |
|
Kp
|
e6904ab13b
|
Propagate for variables in common/3d/clipper.cpp
|
2014-09-26 02:42:14 +00:00 |
|
Kp
|
5576a65dac
|
Check length of g3 tmap inputs
|
2014-09-04 03:02:21 +00:00 |
|
Kp
|
df3f2fe2fe
|
Simplify ogl/sdl texture mapping
|
2014-09-02 22:13:15 +00:00 |
|
Kp
|
cdaa4a8329
|
Make g3_check_and_draw_* inline
|
2014-08-27 03:16:51 +00:00 |
|
Kp
|
388405d04a
|
Use std::swap instead of inline swap
|
2014-08-20 01:50:40 +00:00 |
|
Kp
|
d74e36507c
|
Propagate NULL arguments to g3_check_and_draw_poly
|
2014-08-16 21:54:48 +00:00 |
|
Kp
|
353e22d314
|
Default construct g3s_codes to 0/ff
|
2014-08-16 18:14:11 +00:00 |
|
Kp
|
ceeaadb940
|
Add native int64 to quadint struct
|
2014-08-16 17:42:34 +00:00 |
|
Kp
|
e1cdd44998
|
Remove unused return value for g3_check_and_draw_poly
|
2014-08-16 17:35:44 +00:00 |
|
Kp
|
913a095be7
|
Remove unused return value of g3_draw_tmap
|
2014-08-16 17:35:44 +00:00 |
|
Kp
|
31fe0dc9ce
|
Reduce code duplication in !OGL g3_draw_bitmap
|
2014-08-12 03:01:05 +00:00 |
|
Kp
|
bc721dbc8f
|
Remove unused g3_draw_rod_tmap return value
|
2014-08-12 02:58:46 +00:00 |
|
Kp
|
279d39a2d7
|
Inline fixdivquadlong
|
2014-08-08 02:53:26 +00:00 |
|
Kp
|
52527e48ee
|
Optimize out unused g3_set_special_render arguments
|
2014-08-08 02:52:35 +00:00 |
|
Kp
|
afeaa09e9a
|
Replace vm_copy_transpose_matrix with vm_transposed_matrix
Also, delete obsolete broken inlining support.
|
2014-07-14 02:17:40 +00:00 |
|
Kp
|
4c7249a016
|
Return vms_matrix from vm_matrix_x_matrix
|
2014-07-14 02:17:40 +00:00 |
|
Kp
|
6222b58bbc
|
Move uvl_list into g3_draw_rod_tmap
|
2014-07-01 03:10:56 +00:00 |
|
zico
|
c96aece6d2
|
Removed PARALLAX banner from source files that were not released by PARALLAX; most importantly C source code translated from Assembler and args.cpp which was rewritten from scratch
|
2014-06-12 10:41:03 +02:00 |
|
zico
|
ad7cb106bc
|
Changed custom D1X license to GPLv3
|
2014-06-01 19:55:23 +02:00 |
|
Kp
|
9de54cfa74
|
Switch to C++ linkage
import fileinput
guard = 0
cxxguard = '#ifdef __cplusplus\n'
for line in fileinput.input(inplace=True):
if line == cxxguard:
guard = 1
continue
if guard:
if line == 'extern "C" {\n':
guard = 2
continue
if line == '}\n':
guard = 0
continue
if guard == 2:
assert(line == '#endif\n')
guard = 0
print cxxguard,
continue
print line,
|
2013-12-06 03:35:32 +00:00 |
|
Kp
|
86c49079a1
|
Move rod_points onto stack
|
2013-11-28 00:27:43 +00:00 |
|
Kp
|
c47d1b3d30
|
Move lrgb_list onto stack
|
2013-11-28 00:27:43 +00:00 |
|
Kp
|
86a6f4b18b
|
Mark rod.cpp uvl_list[] static
|
2013-11-28 00:27:43 +00:00 |
|
Kp
|
2714679284
|
Mark private functions static
|
2013-11-02 04:23:55 +00:00 |
|
Kp
|
8ed99faf5c
|
Make headers freestanding
|
2013-10-26 03:50:28 +00:00 |
|
Kp
|
f9899a9f20
|
Mark various functions static
|
2013-10-03 03:11:51 +00:00 |
|
Kp
|
a881ee455e
|
Remove fix.h
|
2013-08-08 03:01:48 +00:00 |
|
Kp
|
528d2e3ee7
|
Mark must_clip_tmap_face static
|
2013-08-07 03:04:11 +00:00 |
|
Kp
|
2c8aa517bc
|
Mark must_clip_flat_face static
|
2013-08-07 03:03:55 +00:00 |
|
Kp
|
d97e7b468b
|
Move common/3d/setup.c -> common/3d/setup.cpp
|
2013-08-03 17:45:22 +00:00 |
|
Kp
|
040216910f
|
Move common/3d/rod.c -> common/3d/rod.cpp
|
2013-08-03 17:45:22 +00:00 |
|
Kp
|
fe9f99ead8
|
Move common/3d/points.c -> common/3d/points.cpp
|
2013-08-03 17:45:22 +00:00 |
|
Kp
|
eaf449e144
|
Move common/3d/matrix.c -> common/3d/matrix.cpp
|
2013-08-03 17:45:22 +00:00 |
|
Kp
|
03832a8752
|
Move common/3d/instance.c -> common/3d/instance.cpp
|
2013-08-03 17:45:22 +00:00 |
|
Kp
|
1274540315
|
Move common/3d/globvars.c -> common/3d/globvars.cpp
|
2013-08-03 17:45:22 +00:00 |
|
Kp
|
eb65b73b2a
|
Move common/3d/draw.c -> common/3d/draw.cpp
|
2013-08-03 17:45:22 +00:00 |
|
Kp
|
adfbb4129d
|
Move common/3d/clipper.c -> common/3d/clipper.cpp
|
2013-07-27 22:30:54 +00:00 |
|
Kp
|
74bcb86cf4
|
Remove some const modifiers that broke SDL-only build
|
2013-07-27 21:29:01 +00:00 |
|
Kp
|
4577dd3977
|
Merge branch 'd2x-rebirth/master' into unification/master
|
2013-07-21 21:34:46 +00:00 |
|
Kp
|
a1ba420031
|
Mark various parameters and variables as const
|
2013-07-20 23:12:24 +00:00 |
|
Kp
|
012d8e249b
|
Merge branch d1x-rebirth/master into unification/master
|
2013-07-19 22:32:28 +00:00 |
|
Kp
|
2fc1cba2b5
|
Move */3d -> common/3d
Move all the common 3d/ code into a common directory. Substantial
differences exist in 3d/interp.c, so it is not yet common.
|
2013-03-03 01:03:33 +00:00 |
|