summaryrefslogtreecommitdiff
path: root/src/client/GameSave.cpp
AgeCommit message (Collapse)AuthorFilesLines
2013-10-17Ignore invalid walls in some old saves, so that they load correctlyjacksonmj1-35/+41
E.g. save 10631 from old server
2013-09-12fix SOAP crashes by making sure particle id's are between 0 and NPART. Also ↵jacob11-3/+9
cut off .life to between 0 and 65535 when saving
2013-09-12save pavg[] in saves, for VIRS, PIPE, and STORjacob11-2/+25
2013-09-08Missing breaks in readOPSjacksonmj1-0/+4
Causing some elements to be loaded incorrectly
2013-08-30move QRTZ .tmp into .tmp2 and .ctype into .tmp, fixes bug where sparking ↵jacob11-0/+15
QRTZ resets .ctype and stops it from growing
2013-08-29Add a way for photons to set the colour of FILT (major version bump required)jacksonmj1-0/+16
Also add some new FILT modes, and make FILT modes affect BIZR and BRAY colour in the same way as they affect photon colour. Photons passing next to DTEC will set the colour of all FILT in a straight line starting from any FILT adjacent to the DTEC (a bit like an ARAY beam), and the exact colour of the photon will be used for FILT interactions instead of the colour based on temperature. FILT tmp=4: red shift, tmp=5: blue shift. Size of shift determined by FILT temperature. tmp=6: FILT has no effect on photon colour (possible before by using invalid tmp modes, but here's a supported method of doing it. Invalid tmp modes should be automatically replaced in existing saves). Also, FILT mode is now described in the HUD.
2013-07-15'n' to toggle Newtonian Gravity, quickoption tooltips show which keys you ↵jacob11-1/+1
need to press to toggle them
2013-07-02save more settings in powder.pref like ngrav_enable, aheat_enable, pretty ↵jacob11-4/+18
powders, and debug hud. Also save ambient heat in saves, and add a warning in the intro text in betas that you can't save publically
2013-06-24fix version tagging in savesjacob11-2/+2
2013-06-10Signed integers can be negative, so prop>x does not always correctly ↵jacksonmj1-5/+5
indicate whether higher bytes are used
2013-05-16remove unneeded / duplicate constants, fix SPC_AIR/other tools so it won't ↵jacob11-0/+8
conflict with lua elements (the 11th one won't work right now)
2013-03-06remove auto generated comments from all files, fix some missing tabs, remove ↵jacob11-3/+3
unused variables from config.h
2013-03-03PSTN ctype sets the element that stops it, FRME with a tmp of one is ↵jacob11-0/+3
non-sticky (doesn't pull)
2013-02-24fix 4 MB memory leak on every savejacob11-0/+10
2013-02-24fix problems found with valgrind with shifting stamps and savingjacob11-7/+7
2013-02-24fix crash when hovering the mouse over invalid wall typesjacob11-0/+6
2013-02-17Tag origin version info in save filesSimon Robertshaw1-0/+11
2013-01-19Revert "move version info to version.h, no longer needs full recompile on ↵Simon Robertshaw1-1/+0
version change" This reverts commit b3a2ab735b76185715d7efd848659ef87ca70405.
2013-01-15move version info to version.h, no longer needs full recompile on version changejacob11-0/+1
2013-01-13change some free/malloc's back to delete/new'sjacob11-81/+81
2013-01-06fix mismatched free()/delete'sjacob11-1/+1
2012-12-18make sure that simulation variables are initialized, fixes things like water ↵jacob11-0/+6
equalization always being on in old saves
2012-12-16Fix crash in GameSave::serialiseOPSjacksonmj1-1/+1
Only particlesCount particles have been copied from the Simulation. All the rest are uninitialised, and may have coordinates outside the game area. Using those uninitialised coordinates in the index for partsPosFirstMap may cause a crash.
2012-12-16Don't print PSV debug information when compiled for releaseSimon Robertshaw1-0/+2
2012-12-12fix walls loading incorrectly in extremely old saves. Fix some invalid save ↵jacob11-31/+31
formats being loadable (it was onlychecking the 'O' in OPS)
2012-12-09C++erific text cleaner function, also, it's a good idea to actually clean ↵Simon Robertshaw1-6/+2
text coming from signs...
2012-12-06fix compiling warnings / errorjacob11-4/+4
2012-11-12Remove some debug printingSimon Robertshaw1-2/+4
2012-11-12Element palette for automatic element ID/mod mappingSimon Robertshaw1-2/+32
2012-10-26limit the number of signs that can be placedjacob11-9/+1
2012-10-01Fix wall clipping during stamp rotationSimon Robertshaw1-2/+2
2012-09-03Ensure saves are expanded in memory when performing translate operations. ↵Simon Robertshaw1-0/+2
Fixes #174
2012-08-25OPS: Fix byte order when unpacking 4 byte tmp fieldsSimon Robertshaw1-1/+1
2012-08-21Correct particlesCount when reading PSv format, particlesCount was being ↵Simon Robertshaw1-1/+1
assigned to the last index and thus was one less that desired. fixes #138
2012-08-20TPT: Powered pipe, based on jacob1's commitsSimon Robertshaw1-0/+13
2012-08-19Herp derp, forgot to call dealloc in GameSave destructorSimon Robertshaw1-1/+1
2012-08-19Looks like calling the destructor manually is not a good idea.Simon Robertshaw1-4/+31
2012-08-17Load signs from OPS dataSimon Robertshaw1-1/+11
2012-08-13Precompile some headers. Fix sconscript to prevent recompiling everythingSimon Robertshaw1-0/+2
2012-08-12Use forward declarations more to avoid excessive includesSimon Robertshaw1-12/+12
2012-08-01Local Saving, Server Saving rewriteSimon Robertshaw1-0/+9
2012-07-28Corrections to GameSave to prevent conflicts in the Expanded state, improve ↵Simon Robertshaw1-1/+16
Save preview comments display
2012-07-28Collapse gamesave to save space in memorySimon Robertshaw1-16/+106
2012-07-27Local file browser + some more interesting things like Progress bar UI componentSimon Robertshaw1-22/+77
2012-07-25TPT: Gravity modes and Newtonian gravity for fireworks 31ce22f122Simon Robertshaw1-2/+2
2012-07-25TPT: Save an extra tmp2 byte, for EXOT fed8b7b2cccSimon Robertshaw1-2/+12
2012-07-25TPT: Replace all explosion sparks with new element (EMBR) 1d5b081942Simon Robertshaw1-1/+56
2012-07-20Use exceptions instead of goto to corrup state. Fix Fan wall loading with ↵Simon Robertshaw1-33/+97
PSV and New wall IDs with OPS
2012-07-20Ensure GameSave internal pointers are NULL at the startSimon Robertshaw1-4/+26
2012-07-06Move array terminator for sign saving into if statementSimon Robertshaw1-1/+1