summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* fixed a typo that broke circles. removed global initializations that are ↵epoch2018-02-031-6/+3
| | | | better placed in a more generic place.
* fixed a bit of circle stuff. created draw minimap shape to be used instead ↵epoch2018-02-031-29/+41
| | | | of minimap line
* graphics_c2 was not properly handling the second point in a circleepoch2018-02-031-2/+2
|
* working on some more math for checking whether a point is inside a polygon ↵epoch2018-02-032-0/+59
| | | | or not. WIP.
* changed some commentsepoch2018-02-031-3/+2
|
* added hackvr_fb to makefileepoch2018-02-031-1/+6
|
* framebuffer supportepoch2018-02-033-0/+622
|
* I think I fixed a bug. I was testing stuff with a wrong binary. it probably ↵epoch2018-01-151-3/+3
| | | | worked before too. oh well.
* added a counter to at least draw the screen every 100 lines read from stdinepoch2018-01-151-1/+6
|
* added group rotation deletion inside deleteallexceptepoch2018-01-021-1/+11
|
* added different method of calculating distance of a shape to where farthest ↵epoch2018-01-021-0/+16
| | | | point is what is used.
* added install and uninstall and a Makefile to the root dir.epoch2018-01-021-0/+12
|
* made hackvr's export also support colors and added color help to addshapeepoch2018-01-021-2/+2
|
* string.h in the wrong spot. ogh.epoch2017-12-241-1/+0
|
* I guess I forgot a qsort function castepoch2017-12-241-1/+1
|
* #defined _XOPEN_SOURCE so NetBSD gets strdupepoch2017-12-241-0/+1
|
* removed rest of double long math functions. changed casting of qsort ↵epoch2017-12-241-5/+5
| | | | function pointer
* needed string.hepoch2017-12-241-0/+1
|
* replaced cosl and sinl with cos and sin. increased line to 2048 to get gcc ↵epoch2017-12-241-17/+13
| | | | to shutup about truncation. got rid of annoying defines.
* moved draw_mode functions to cs.h and added new color functions to itepoch2017-12-242-4/+6
|
* s/%Lf/%f/g ; s/cosl/cos/g ; s/sinl/sin/gepoch2017-12-241-13/+10
|
* made gcc shut up about _DEFAULT_SOURCE and _BSD_SOURCE warningepoch2017-12-241-1/+1
|
* switching math to just double and not double longepoch2017-12-242-9/+11
|
* fixed format strings to match type and removed a couple defines and unused ↵epoch2017-12-241-11/+9
| | | | variable
* changed real type to be double instead of double longepoch2017-12-241-1/+1
|
* removed an X11 header from common.h... no clue why I had that.epoch2017-12-241-1/+0
|
* I was exporting the point as rotations because I forgot about the offset of ↵epoch2017-12-241-1/+2
| | | | objects being in the group_rot too.
* made input mode 1 (passthru) output hackvr lines intead of raw data. added a ↵epoch2017-12-241-13/+29
| | | | mouse-over trigger to set input_mode. made mouseover bounding box triggering slightly bigger
* made it so colors above 16 are non-shadedepoch2017-12-241-11/+11
|
* added group_rot to export, set default mode to movement instead of passthru, ↵epoch2017-12-242-10/+14
| | | | removed useless comment, commented out annoying error, made comments in hackvr continue reading instead of breaking out of loop
* added alternate input mode, changed messages to stderr, added color and ↵epoch2017-12-191-128/+194
| | | | drawmode stuff
* bunch of color stuff. flipped some stuff. rearranged some stuff.epoch2017-12-191-28/+71
|
* added support for color, turned printfs of information to fprintf for ↵epoch2017-12-191-57/+104
| | | | stderr, did some error handling, actually remove group_rot of shapes... meh.
* added input_mode to gra_global struct and couple drawing mode functionsepoch2017-12-191-0/+4
|
* added ansi color array to x11_globalepoch2017-12-191-0/+1
|
* added color, luminosity, and shape flavor to each shape struct. added a beep ↵epoch2017-12-191-1/+15
| | | | flag to global.
* upped shape limits and added fault input modeepoch2017-12-191-2/+7
|
* added empty functions to openglepoch2017-12-191-0/+16
|
* added function to set ansi colorepoch2017-12-191-0/+1
|
* meh. just testit.sh changeepoch2017-12-191-1/+1
|
* added a note to anyone wanting to fiddle with some mathepoch2017-12-191-0/+2
|
* got rid of opengl as one of the default built targetsepoch2017-12-191-2/+2
|
* fixed the angle of movement when there is more than 1 camera and made some ↵epoch2017-11-193-9/+11
| | | | pixmaps get generated based on MAX sizes instead of current size which also means the default size is now small instead of huge.
* got rid of the distance based shading again to make font tests less ↵epoch2017-11-163-5/+5
| | | | annoying. increased some arbitrary limits because I was too lazy to come up with a graceful way to handle not enough space.
* renamed and moved draw_c3_line to draw_minimap_line after removing the line ↵epoch2017-11-041-40/+28
| | | | from it where it actually drew the 3d line
* fliped it back to 1 instead of -1 because... I dunno. that's how I like it.epoch2017-11-041-1/+1
|
* added radians to degrees functionepoch2017-11-042-0/+5
|
* made it so clicking on a shape triggers the same type of output that the old ↵epoch2017-11-031-1/+1
| | | | distance based + enter selection did
* flipped WALK_SPEED to be negative for some reason. oh well.epoch2017-11-011-1/+1
|
* fixed memory leak in load_stdin() and made it so world changes from ↵epoch2017-11-011-15/+33
| | | | load_stdin() will trigger a redraw