Tamás Bálint Misius
0179cefc78
Flatten include trees
2019-04-20 15:36:11 +02:00
jacob1
cc93479c4b
Fix incorrect time format being used sometimes when not in UTC timezone, add day of month to "previous year" time format
2018-12-31 21:49:44 -05: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
wolfy1339
27f6a6b297
Strip whitespace from files in repo ( #553 )
2018-04-03 21:46:01 -04:00
cppxor2arr
12d2af7925
Removed unnecessary CleanString() function ( #443 )
...
Two `CleanString()` functions with the only differing thing the first parameter (`const char*` vs `std::string`); removed the one with `const char*` since `std::string` can be constructed with `const char*`.
2017-06-09 23:57:12 -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
jacob1
476c2cce06
new sim.signs api
...
It is a metatable that can set/read text, x, y, and justification; and also read displayText, screenX, screenW, width, and height
There is also a function sim.signs.new, it returns the new sign id or nil if it can't create a new sign
2015-09-01 00:57:31 -04:00
jacob1
15537d4eff
"Enabled" setting of button is now the old unused "Locked" setting of Components, also fix graphical bug with disabled buttons
2015-07-15 00:49:06 -04:00
jacob1
e990eead10
add CleanText function from my mod, used when copying / pasting / loading signs
2015-07-10 00:05:58 -04:00
Ryan Jacobs
55a30673c4
Remove unnecessary pointer checks.
...
There are *no* more spacing issues. I used tabs exclusively.
Also, I made changes off of the develop branch.
Here's the Ruby regex that I used:
text.gsub!(/(( |\t)*)if ?\((.*)\) ?{?\n?( |\t)*(free ?\(|delete |delete\[\] )(.*)\)?;/, "\\1\\5\\6;")
2015-02-14 22:13:26 -08:00
Martin Ettl
93eb934322
Fix potential memory leak in src/Format.cpp
...
(Merging pull request #233 )
2014-12-29 16:36:58 +00:00
jacob1
5bb1d484d0
fix crash when taking screenshot, fixes #193
2014-11-05 20:40:09 -05:00
jacob1
6463d04f6c
fix a few of the most spammy warnings (there are still hundreds of warnings though)
...
TODO: actually fix all the warnings
2014-10-23 00:42:13 -04:00
jacksonmj
035dfa2e04
Fix some compiler warnings
2013-12-14 18:47:28 +00:00
mniip
c012f667c7
fix BMP
2013-12-09 03:38:40 +04:00
Robert Gadzerfraud
0819885700
Add in BMP support
2013-12-08 15:12:07 -07:00
mniip
bf908bbfbf
Fix various warnings, remove silly useless NO_INLINE system, remove the need for -fkeep-inline-functions
2013-10-30 04:47:07 +04:00
mniip
4d9b9b17d7
D:
2013-05-11 15:08:32 +04:00
Simon Robertshaw
e6bca489c9
AvatarButton/holder, rename ThumbnailBroker for more general purposes
2013-03-10 18:08:34 +00:00
Simon Robertshaw
05148e8a8d
C++erific text cleaner function, also, it's a good idea to actually clean text coming from signs...
2012-12-09 00:14:48 +00:00
Simon Robertshaw
e08bc6680b
Format: Buffer to pti, Save renderer
2012-10-29 09:36:16 +00:00
Simon Robertshaw
9a42e47eb0
Move old Lua API into another file, make the old drawin API have the old position quirk for rects, new graphics (gfx) api with drawRect, fillRect, drawTect, drawLine and textSize functions.
2012-09-29 00:20:52 +01:00
jacob1
66af9969d6
Fix one more compiling error
...
(was using outdated SearchModel.h so reverted to official version)
2012-09-07 00:53:04 +01:00
jacob1
f8f70a3f77
Visual studio compatibility
...
This removes some inlines when using visual studio to compile, uisng TPT_NO_INLINE. It also fixes many other problems visual studio has with the code
2012-09-07 00:52:56 +01:00
Simon Robertshaw
5b51e67044
PPM screen recording
2012-08-17 23:09:48 +01:00
Simon Robertshaw
08b4e5553a
Implement some missing lua functions, PNG format creation (requires zlib)
2012-08-11 20:24:48 +01:00
Simon Robertshaw
268795eec1
Add date to Preview View, fixes issue #64
2012-08-04 13:40:39 +01:00