Skip to content

Commit b295797

Browse files
authored
Merge pull request #3 from jack27121/struct_based_rewrite
struct based rewrite
2 parents 9d2c5dc + 311964e commit b295797

76 files changed

Lines changed: 2307 additions & 1627 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
12.5 KB
Loading

fonts/demo_f_hires/demo_f_hires.old.yy

Lines changed: 103 additions & 175 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
10.6 KB
Loading

fonts/demo_f_hires/demo_f_hires.yy

Lines changed: 120 additions & 120 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

fonts/demo_f_pixel/demo_f_pixel.yy

Lines changed: 120 additions & 120 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/// @description gets created by stanncam init, maintains all cameras
2+
resolution_w = 0;
3+
resolution_h = 0;
4+
number_of_cams = 0;
5+
keep_aspect_ratio = true;
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/// @description
2+
for (var i = 0; i < array_length(global.stanncams); ++i) {
3+
if (global.stanncams[i] == -1) continue;
4+
global.stanncams[i].__predraw();
5+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/// @description
2+
view_enabled = true;
3+
for (var i = 0; i < array_length(global.stanncams); ++i) {
4+
if (global.stanncams[i] == -1) continue;
5+
global.stanncams[i].__check_viewports();
6+
}
7+
__stanncam_update_resolution();
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/// @description
2+
for (var i = 0; i < array_length(global.stanncams); ++i) {
3+
if (global.stanncams[i] == -1) continue;
4+
global.stanncams[i].__step();
5+
}

objects/obj_stanncam/obj_stanncam.yy renamed to objects/__obj_stanncam_manager/__obj_stanncam_manager.yy

Lines changed: 25 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)