summaryrefslogtreecommitdiff
path: root/src/graphics_c3.c
Commit message (Collapse)AuthorAgeFilesLines
* added a lot of code while trying to fix the 3D projection to be less suck. ↵epoch2020-04-061-50/+100
| | | | ended up adding some code to have multiple "eyes" on a camera, instead of moving the camera around.
* added the camera to the group_rotsepoch2020-04-031-0/+1
|
* noticed a comment that is wrong, or something in my head is wrong. not sure ↵epoch2020-04-031-1/+1
| | | | which yet.
* added a handler for graphics events and not only assuming we only need to ↵epoch2020-04-021-3/+2
| | | | redraw when there's an input event, so draw_screen() got moved and now redraw() will actually call it.
* moved the group_rotation based transformations into a function in math.c so ↵epoch2020-03-071-36/+8
| | | | I could reuse it for the new "flatten" command.
* forgot to initialize the oldmouse in gra_globalepoch2020-02-241-0/+1
|
* got rid of the derpy horizon that did not ever move and made shapes with the ↵epoch2020-02-241-2/+6
| | | | camera's name rotate in a more sane way when the camera rotates
* group-wide rotations now happen before the group gets translatedepoch2020-02-111-3/+3
|
* trimmed some trailing whitespace. AMAZING COMMIT RIGHT HEREepoch2020-01-271-2/+2
|
* added new redraw() which will work using libidc. also added an action on ↵epoch2019-08-031-1/+13
| | | | empty space of the mouse x and y
* fuck if I know. lots of shit. moved files.epoch2018-12-161-48/+12
|
* added a check for if we need to supress normal output because we're doing ↵epoch2018-03-291-12/+18
| | | | periodic output and added xr rotation.
* added ability for shapes to rotate around the z-axis in addition to y-axisepoch2018-02-071-3/+7
|
* fixed a bit of circle stuff. created draw minimap shape to be used instead ↵epoch2018-02-031-29/+41
| | | | of minimap line
* 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 different method of calculating distance of a shape to where farthest ↵epoch2018-01-021-0/+16
| | | | point is what is used.
* I guess I forgot a qsort function castepoch2017-12-241-1/+1
|
* removed rest of double long math functions. changed casting of qsort ↵epoch2017-12-241-5/+5
| | | | function pointer
* s/%Lf/%f/g ; s/cosl/cos/g ; s/sinl/sin/gepoch2017-12-241-13/+10
|
* made it so colors above 16 are non-shadedepoch2017-12-241-11/+11
|
* bunch of color stuff. flipped some stuff. rearranged some stuff.epoch2017-12-191-28/+71
|
* fixed the angle of movement when there is more than 1 camera and made some ↵epoch2017-11-191-5/+5
| | | | pixmaps get generated based on MAX sizes instead of current size which also means the default size is now small instead of huge.
* 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
* commented out tests and print for mousex and mouseyepoch2017-11-011-3/+8
|
* set some defaults to be more sane, cleaned out a bunch of commented out code ↵epoch2017-09-301-42/+18
| | | | and rewrote some of it in "modern" hackvr
* the changes needed to get tictactoe running pretty.epoch2017-04-181-10/+16
|
* cleaned up a bit of stuff and added another option to config.hepoch2017-04-101-1/+0
|
* I have no idea why I am doing this...epoch2017-03-191-0/+515