summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/common.h4
-rw-r--r--src/config.h2
-rw-r--r--src/graphics_cs_x11.c4
3 files changed, 5 insertions, 5 deletions
diff --git a/src/common.h b/src/common.h
index bdabb4f..135fbc2 100644
--- a/src/common.h
+++ b/src/common.h
@@ -82,11 +82,11 @@ struct global {
char *user;
char headless;
char debug;//flag
- char selected_object[256];//meh
+ char selected_object[2000];//meh
real mmz;
struct c3_shape *shape[SHAPES];
int shapes;
- c3_group_rot_t *group_rot[256];//meh
+ c3_group_rot_t *group_rot[2000];//meh
c3_group_rot_t camera;
real zoom;
int derp;
diff --git a/src/config.h b/src/config.h
index 48ae062..cae9a3f 100644
--- a/src/config.h
+++ b/src/config.h
@@ -17,7 +17,7 @@
#define HEIGHT 3000
#define DEFAULT_MINIMAP 0
#define FORCE_REDRAW 1
-#define MAXSHAPES 3000
+#define MAXSHAPES 30000
#define ROTATE_STEP 5
#endif
diff --git a/src/graphics_cs_x11.c b/src/graphics_cs_x11.c
index a9c3af3..9a18738 100644
--- a/src/graphics_cs_x11.c
+++ b/src/graphics_cs_x11.c
@@ -62,8 +62,8 @@ void calculate_shape_color(c3_s_t s,real d) {
*/
void set_color_based_on_distance(real d) {
int i=100-((int)((d+100.0) * 16.0) % 100);
- XSetForeground(x11_global.dpy,x11_global.backgc,x11_global.colors[i].pixel);
- //XSetForeground(x11_global.dpy,x11_global.backgc,x11_global.colors[99].pixel);
+ //XSetForeground(x11_global.dpy,x11_global.backgc,x11_global.colors[i].pixel);
+ XSetForeground(x11_global.dpy,x11_global.backgc,x11_global.colors[99].pixel);
}
void draw_cs_line(cs_t p1,cs_t p2) {