Commit Graph

196 Commits

Author SHA1 Message Date
Tamás Bálint Misius
06e2836726
Fix Lua reference leaks (fixes #638) 2019-04-09 15:28:40 +02:00
jacob1
772148900e Fix stamp and local save thumbnails being stretched 2019-03-03 23:45:33 -05:00
jacob1
25c1b13bd4 improve find tool handling with GoL, can now find specific life elements
Reverts most of LBPHacker's previous commit, lol
2019-02-16 19:13:05 -05:00
jacob1
48bc6e02ba Fix gcc 8 warnings 2018-11-03 19:36:07 -04:00
jacob1
1c1bcb0cdc fix stasis wall not having any blob mode effects 2018-07-21 21:26:14 -04:00
mniip
b8c9888d87 ...Fix opengl renderer compilation too 2018-05-09 20:16:28 +03:00
mniip
67df4fd963 Fix renderer compilation 2018-05-09 20:15:26 +03:00
mniip
12e79ea111 Fix compilation on windows 2018-05-09 19:05:39 +03:00
mniip
6c9cb174fb Change some uses of String::Stream to StringBuilder 2018-05-02 22:11:41 +03:00
mniip
a121c62c3b Add some helper methods and rewrite some of the string manipulation code 2018-05-02 01:32:04 +03:00
mniip
833383b121 Move TPT's icons to the (real) Private Use Area of the unicode 2018-05-01 07:03:48 +03:00
mniip
b8c5e94a41 Add blocks/gaps to the font format 2018-05-01 05:57:03 +03:00
mniip
9d927cbd6f Add an auxiliary font reader class to reduce code repetition 2018-05-01 02:21:34 +03:00
mniip
ff27d69424 Switch from std::string to String/ByteString in most of the code
Also switch SimulationData from weird arrays to std::vector
2018-04-30 21:13:24 +03:00
mniip
04c875120a fix some tools' icons breaking their bounding box 2018-04-29 04:23:03 +03:00
mniip
16acc95621 Enlarge the font by adding 2 pixels above the cap height 2018-04-29 04:08:03 +03:00
jacob1
777cb967a5 add M_PI definition back 2018-04-28 00:26:43 -04:00
jacob1
db8b32363e remove tpt-math.h includes 2018-04-28 00:09:14 -04:00
Saveliy Skresanov
cda029ff42 Use xoroshiro128+ random generator (everywhere besides BSON code). 2018-04-23 22:47:44 +07:00
jacob1
11b2f58db7 define M_PI in tpt-math.h 2018-04-05 23:31:28 -04:00
moonheart08
3f99a59cb2 Adds STASIS wall. (#556) 2018-04-03 22:24:38 -04:00
wolfy1339
27f6a6b297 Strip whitespace from files in repo (#553) 2018-04-03 21:46:01 -04:00
jacob1
67bc12de97 Fix issue where TPT was bought by EA 2018-04-01 15:26:13 -04:00
jacob1
40d2850ff7 TPT has now gone free to play! Many elements are unlocked by default, but by using Powdercoins you can unlock new elements and promote your saves to front page! 2018-03-31 22:40:23 -04:00
jacob1
3bd35ce83f fix STKM + fan wall 2018-03-21 23:58:27 -04:00
jacob1
b07e8d93d5 When finding particles, show how many were found in HUD 2018-03-07 23:19:55 -05:00
jacob1
f9b5c6bb1a use std::string instead of c strings for sign stuff, fixes #545 2018-03-03 20:44:03 -05:00
jacob1
0c8c4de125 convert all of the rest of the things except GameSave.cpp and pipe/ray elements
also add sim.PMAPBITS and sim.PMAPMASK constants
2017-12-29 21:01:28 -05:00
jacob1
a674dc93e2 include tpt-minmax header in Renderer 2017-11-23 15:01:04 -05:00
wolfy1339
87f3ada7b0 Remove stuff from Config.h that doesn't belong 2017-11-23 00:12:48 -05:00
jacob1
5ee10d14e4 reduce unnecessary #include dependency chains
for example, elements no longer include Client.h or Graphics.h, and interface stuff won't include Window.h or Graphics.h unless requested
2017-07-13 23:24:35 -04:00
jacob1
c1e91260eb fix deco colors being 1 R/G/B value less than they should be
The proper way would be to divide by 255, but that is slower than >>8. This is a better approximation (or perhaps equivalent?)
2017-06-17 21:02:52 -04:00
jacob1
d4a0ff9ac8 draw_image can now draw images with x<0, fixes #433
this isn't used at all in the source
2017-06-11 22:01:11 -04:00
jacob1
0ea5c1d0e0 Fix #438
I didn't actually notice any difference with this change
2017-06-11 21:26:42 -04:00
jacob1
f54189a97f fix PHOT/PLSM not following the correct heat scale, fixes #336
Still many issues if you manually add on other effects to heat mode, but at least now the default graphics are fine
2017-05-09 22:43:53 -04:00
jacob1
ce054bfc3f fix misc. errors reported by clang static analyzer 2017-05-06 20:02:23 -04:00
LBPHacker
3fbfb83b0e Fix cache value from Lua graphics functions being ignored 2017-04-17 23:46:03 -04:00
jacob1
1af4fa912f fix debug portal lines to the highest ID particle not working, fixes #393 2017-04-08 09:54:45 -04:00
wolfy1339
b65e94900e Use C++ includes (#308)
Replaces stdio.h, stdlib.h, string.h, math.h, time.h, limits.h and othters with their C++ equivalents.
2016-07-17 23:37:24 -04:00
Simon Robertshaw
3b106b7c22 Crash fix for wall drawing when OpenGL is enabled. 2016-07-17 21:33:54 +01:00
Simon Robertshaw
5b525852b4 More OS X compatibility fixes with OpenGL 2016-07-12 22:34:31 +01:00
Simon Robertshaw
6cfaeb9c5c OpenGL UI fixes for on OS X/all platforms
- Reinitialise textures after SDL_SetVideoMode
 - Fix header includes and remove GLEW setup on OSX
2016-07-12 21:31:29 +01:00
jacob1
ce55c8e58b Fix --opengl-render option. Please NEVER use this option though 2016-05-14 09:44:49 -04:00
jacob1
13d3547211 Compiling fix for scons on windows
something is up with the pthreads library (dynamic compiles still broken), probably windows libraries all need to be recompiled and distributed separately like I did for visual studio
2016-03-12 00:36:11 -05:00
jacob1
7073c1bf9c remove unnecessary / broken if statements 2016-01-10 22:32:18 -05:00
jacob1
226a66a860 add ctrl+f shortcut to easily locate elements in red from my mod
doesn't support walls or better life finding because tools are much harder to work with here
2016-01-10 22:23:06 -05:00
jacob1
2ebc522c36 add ERASEALL wall from my mod (erases walls, particles, and signs) 2015-08-30 00:18:06 -04:00
jacob1
5caf8bc8e1 allow longer signs, add 'None' justification where the pointer line isn't drawn
signs have a longer width limit and hard 45 character limit from the textbox and when loading saves
2015-08-29 18:56:38 -04:00
jacob1
37f8038fcd fix freeze when hovering over a massive amount of portals 2015-07-15 00:20:00 -04:00
jacob1
f95db0278e really fix coordinates when placing stamps ... 2015-07-07 00:44:06 -04:00