summaryrefslogtreecommitdiff
path: root/src/graphics.c
AgeCommit message (Collapse)AuthorFilesLines
2012-11-17Remove old codeSimon Robertshaw1-4534/+0
2012-08-13Fix cut message, stamps/copying can be done backwards, fix xor_rectjacob11-2/+19
(amended to remove extra argument to build_save)
2012-08-09Give menu color to elements without one (stickmen, TRON, and WARP) The color ↵jacob11-1/+1
is ignored, so they still look the same (amended to remove "*pixel_mode &= ~PMODE;", since *pixel_mode is set to PSPEC_STICKMAN immediately afterwards)
2012-06-17Revert "Moved soap and stick men graphics things to special functions."Simon Robertshaw1-2/+130
This reverts commit 7f5408f196002476c4765f1cae833e1441e4b276. Conflicts: includes/powder.h
2012-06-14Fix bug with the improvement to text wrappingjacksonmj1-4/+4
Cursor was sometimes in the wrong place
2012-06-14Minor improvement to text wrappingjacksonmj1-0/+8
When text flows onto a new line, don't put the space between words at the start of the new line.
2012-06-10Revert "Make THDR TYPE_ENERGY again, so it goes in photon map"jacksonmj1-1/+1
This reverts commit 8b20bfd764308fddc1280b8a9d030e77503d0b0c. TYPE_ENERGY makes THDR move like photons, and means adjacent particles don't conduct as much heat from it (since the heat conduction code only looks for particles in pmap, not photons). Heat transfer could be fixed by increasing THDR's heat conductivity, but gas or powder movement is probably better than photon movement for THDR.
2012-06-09Make THDR TYPE_ENERGY again, so it goes in photon mapjacksonmj1-1/+1
Will simplify checking for excessive stacking
2012-06-02Moved soap and stick men graphics things to special functions.Savely Skresanov1-130/+2
2012-05-31Check fire colour values are within the range 0-255jacksonmj1-0/+9
Fixes flashing dust
2012-05-26Soap bubbles are easily formed now. Also they inherit soap'sSavely Skresanov1-1/+1
decoration color.
2012-05-24remove lastx/lasty variables when OGLR is disabledJacob11-0/+3
Conflicts: src/graphics.c
2012-05-24finish custom lua graphics functionsJacob11-1/+13
2012-05-24custom graphics functions with lua (not finished yet)Jacob11-0/+12
2012-05-23fusion changesJacob11-3/+3
2012-05-23fix emp flash, better live parts rendering in (render_ui &) deco editorJacob11-2/+98
2012-05-16Move SDL_GetVideoInfo before SDL_SetVideoMode so it will probably fixSavely Skresanov1-7/+11
sizing issues for people.
2012-05-12Don't hide stickman when energy particles pass through his headjacksonmj1-1/+1
2012-05-12Added a GUI error box for window resizing failure.Savely Skresanov1-0/+5
2012-05-12Check screen resolution before scaling game window.savask1-0/+6
2012-05-12Fancy motion blur for OpenGL, fix a lot of dialogues in OpenGL, fix gravity ↵Simon Robertshaw1-10/+109
lensing in OpenGL, ensure Phot and Neut are PMODE_ADD, not FLAT
2012-05-06Change license from GPLv2+ to GPLv3+jacksonmj1-0/+17
Also add headers stating the license to some more of the source files
2012-04-29Massive cleanup of sdl_scale, and fix moving a sign in the zoom windowjacksonmj1-3/+2
2012-04-05Glowing BRAYSimon Robertshaw1-14/+15
2012-03-30More brush fixesjacksonmj1-1/+3
Fixes a problem with the triangle brush caused by InCurrentBrush calculating the bottom left or bottom right points to be outside the triangle at certain brush sizes. Also fixes some points in the brush outline being heated twice when a line is drawn with the heat tool.
2012-03-26triangle brush fixesJacob11-3/+2
2012-03-26Remove duplicate information in set_cmodejacksonmj1-0/+7
Calculating render_mode and display_mode variables from the arrays means less chance of mistakes (e.g. blob mode RENDER_EFFE was set in render_modes array but not in render_mode)
2012-03-23Missing icon includeSimon Robertshaw1-0/+4
2012-03-23Fix Linux icon variable declaration sitting inside a Windows Platform blockSimon Robertshaw1-1/+2
2012-03-17Add icon again for Windows and LinuxSimon Robertshaw1-2/+33
2012-03-15No "min" and "max" in stdlib :(Simon Robertshaw1-5/+5
2012-03-15ngrav/amb. heat quickoptions, amb. heat drawn in heat display when on, fix ↵Jacob11-7/+12
render_ui position
2012-03-15wifi/portal linesJacob11-0/+19
2012-03-14Fix portals being ugly and PRTO effects not being random at firstJacob11-6/+6
2012-03-14cursor changes to correct shape as soon as you click element/wallJacob11-2/+2
2012-03-14soap lines, create_parts fix, compiling fixesJacob11-5/+6
2012-03-14change smudge tool + make it use alpha layerJacob11-5/+9
2012-03-14Added smudge toolJacob11-1/+22
2012-03-14Fix rx = 0 crashJacob11-3/+0
2012-03-14large cursor size doesn't cause any lag at allJacob11-38/+31
2012-03-10Display decor in heat gradient viewjacksonmj1-10/+11
2012-02-25Old nothing display mode in the form of Basic colour modeSimon Robertshaw1-1/+8
2012-02-16Draw pixels for the entire fire_alpha arrayjacksonmj1-2/+2
Makes fire glow look slightly less blocky
2012-01-25Check coordinates of signs before using them to read pmap or pressurejacksonmj1-4/+7
2012-01-25Revert "Some fixes for compiling with Visual Studio - void* and inline"Simon Robertshaw1-1/+1
This reverts commit ea619f554259d746a82c2abf45e5734f637ed041.
2012-01-25Some fixes for compiling with Visual Studio - void* and inlinejacksonmj1-1/+1
2011-12-30Almost finished new save format, just signs and thumbnail rendering neededSimon Robertshaw1-192/+0
2011-12-19Use reduced resolution gravity maps for improved performanceSimon Robertshaw1-15/+16
2011-12-18Fix grav walljacksonmj1-1/+1
2011-12-18Move Newtonian gravity into a new filejacksonmj1-0/+1